Episode 4: Sol LeWitt Reproduction with D3
✓ Published6🌍 Public
This piece reproduces a Sol LeWitt wall drawing by dividing the viewport into four quadrants, each displaying a distinct pattern of narrow black lines: horizontal, vertical, and two diagonal sets. The design uses D3 selections and masks to clip these lines into separate square regions. The code creates SVG rectangles via `selectAll` and `join`, with each quadrant’s pattern masked using SVG `<mask>` elements. The example relies on D3 v6 and renders purely as SVG, without external data, highlighting the minimal geometry of LeWitt’s original work.
AI-generated descriptionTrying to reproduce a Sol LeWitt art piece using D3. Inspired by the original piece here.
MIT Licensed