Skip to main content
100%

Full Sol LeWitt Reproduction with D3

✓ Published1🌍 Public
Wwspwll@gmail.com
Last edited Jul 15, 2024
Created on Jul 15, 2024

This example reproduces a Sol LeWitt-inspired generative drawing using D3 v7. It displays a grid of alternating horizontal and vertical striped rectangles, with two circular mask overlays that invert the pattern in one region to create a layered visual effect. The code uses `d3.range`, `d3.select`, and `symbol` to build the SVG shapes, applying masks via `<mask>` elements. The artwork is rendered entirely with SVG attributes, using a fixed 100-step loop for each stripe direction and a dynamic viewport-sized canvas.

AI-generated description

A reproduction of a Sol LeWitt art piece with D3.

MIT Licensed

Similar vizzes