D3 Sol Le Witt Vertical
✓ Published1🌍 Public
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.
MIT Licensed