🌍 Public
Viewing a saved revision (read-only)
a74716ca28f04cadb5873b3aaa2c9fac
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 descriptionSol Lewitt art