🌍 Public
Viewing a saved revision (read-only)
2ea86f2a9c1a49cab57bd6cbb85a11cf
Fork of Sol LeWitt Reproduction with D3
This example reproduces a Sol LeWitt art piece using D3. It draws a grid of horizontal and vertical rectangles that are masked by two circles, creating a pattern of alternating lines within circular cutouts. The code uses D3’s `select` and `range` functions to generate SVG elements, and applies SVG masks with `circle` elements to clip the rectangles. The artwork is rendered as an SVG, filling the browser window.
AI-generated descriptionA reproduction of a Sol LeWitt art piece.