🌍 Public
Viewing a saved revision (read-only)
409687d64d24468aaa0a154bdb6c2b52
Sol LeWitt Reproduction with D3
This example reproduces a Sol LeWitt wall drawing using D3.js, displaying a grid of horizontal and vertical bars that intersect within two circular regions. The visualization shows a geometric pattern where a circle in the center masks horizontal lines, and a second ring-shaped mask reveals vertical lines around it. The code uses D3 selections and the `range` function to generate 100 rectangles in each orientation, applying SVG masks (`circle-mask` and `circle-mask-2`) to control visibility. The rendering is done entirely with SVG elements, with the artwork filling the full browser window.
AI-generated descriptionA reproduction of a Sol LeWitt art piece.