🌍 Public
Viewing a saved revision (read-only)
6a9856b4e3be4665b3be3c4a4175a964
D3 Sol Le Witt Vertical
This example generates a grid of horizontal and vertical rectangles that form a striped pattern. Two circular masks reveal the grid only within their boundaries, creating a bold, minimalist composition reminiscent of Sol LeWitt's wall drawings. The code uses D3's `select` and `range` APIs to generate 100 rectangles in each direction, with SVG `mask` elements controlling visibility. Each stripe is a distinct SVG `rect` element, and the masks are composed of black and white rects and circles.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.