Broken pieces | CartoDB.js
✓ Published0🌍 Public
Aandrewxhill
Last edited Apr 13, 2014
Created on Apr 13, 2014
The visualization shows a map of abstract geometric shapes in vivid colors, with overlapping polygons and dashed lines that shift between purple, red, and teal based on a numerical color attribute. It uses CartoDB.js and Leaflet to render two sublayers, each applying a different CartoCSS style to the same SQL-generated data. The SQL query computes random spatial extents and generates lines from sinusoidal and tangent functions, while a JavaScript timer toggles layer visibility every 1.5 seconds to create a flashing effect. The map slowly pans across the view using Leaflet's `panTo` method.
AI-generated description