Skip to main content
100%

Sol LeWitt vertical

✓ Published2🌍 Public
EEd Smale
Last edited Jul 16, 2023
Created on Jul 16, 2023
Forked from Sol LeWitt

A vertical grid of fine alternating strokes fills the screen, with a circular region in the center where the pattern's orientation flips from horizontal to vertical. The effect uses two SVG masks with reversed black-and-white circles to hide or reveal layers of rectangles. Written with D3 v7, it generates 100 horizontal and 100 vertical rect elements, each 10 pixels thick, and applies the masks via the `attr('mask', ...)` API. The full-viewport SVG is sized to the window, and no external data is used.

AI-generated description

A demo of SVG shapes.

MIT Licensed

Similar vizzes