🌍 Public
Viewing a saved revision (read-only)
6549ca22dd5a45ff8838600b498bfcb7
Sol LeWitt art
This example recreates Sol LeWitt-inspired geometric art using D3.js to generate a grid of horizontal and vertical SVG rectangles. The piece shows alternating full-width and full-height bands intersecting across the entire viewport, creating a woven pattern. Two SVG masks with circular cutouts are applied to these band groups, revealing the underlying shapes only within circular regions. The code constructs 100 rectangles in each direction using `d3.range` and `selectAll().join()`, with masks defined via appended `mask` elements containing `rect` and `circle` nodes.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.