Skip to main content
100%

Sol LeWitt Reproduction with D3

✓ Published0🌍 Public
Vvivhogan@gmail.com
Last edited Jul 31, 2026
Created on Jul 24, 2026

A generative reproduction of a Sol LeWitt wall drawing uses D3 selections, data joins, and SVG masks to compose layered striped patterns. The code generates 100 horizontal and vertical rectangles and applies two masks, each containing different D3 symbol shapes, to carve alternating geometric forms across the grid. Masks are constructed programmatically via a reusable `renderMask` function, toggling between inverted and non-inverted fills. The example relies on `d3.range`, `d3.symbols`, `d3.symbol`, and method chaining to build the full composition dynamically based on the viewport size.

AI-generated description
MIT Licensed

Similar vizzes