🌍 Public
Viewing a saved revision (read-only)
fc9e75e6c5204bcab02d6bfc72575e6d
Sol LeWitt Reproduction with D3
This example reproduces a Sol LeWitt wall drawing using D3.js to generate a grid of horizontal and vertical lines. Ninety-nine horizontal rectangles and ninety-nine vertical rectangles are drawn across the full browser window, with two circular masks applied to reveal the lines only within intersecting circular regions, creating an overlapping geometric pattern. The code uses D3’s `select`, `range`, and `join` methods with the SVG renderer, and relies on the `mask` attribute to define the circular cutouts.
AI-generated descriptionA reproduction of a Sol LeWitt art piece.