Fork of Sol Lewitt vertical 2
✓ Published1🌍 Public
This example creates an interactive SVG composition inspired by Sol LeWitt’s vertical drawings, rendered using D3 selections and data joins. It draws 100 horizontal and 100 vertical rectangles across the full window size, with each band spaced 20 pixels apart. Two circular masks—one black with a white circle, and one white with a black circle—reveal and hide portions of the grid, producing a cross-shaped overlap in the center. The code uses `d3.select`, `.append`, `.data`, and `.join` to bind `range(n)` data to SVG `rect` elements.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed