Sol LeWitt Reproduction with D3 - One Shape
✓ Published1🌍 Public
This example reproduces a Sol LeWitt-inspired geometric artwork using D3 v3 with SVG rendering. It displays 100 horizontal and 100 vertical rectangles layered over each other, with circular masks creating a central circular reveal and its inverted counterpart. The code uses `d3.select` to append an SVG element, `d3.range` and data joins via `.join('rect')` to generate the rectangles, and SVG `<mask>` elements with appended rect and circle shapes to define the visibility patterns. The rendering dynamically fills the browser window based on `window.innerWidth` and `window.innerHeight`.
AI-generated descriptionReproduction of Sol LeWitt artwork.
MIT Licensed