D3 Sol LeWitt Reproduction RSJ
✓ Published0🌍 Public
This visually striking example reproduces a Sol LeWitt art piece using D3 v7 and SVG, generating a dynamic geometric pattern of alternating colored rectangles and symbols across the full window width. The code creates two complementary masks that filter the rectangle layers, using D3’s `scaleBand`, `range`, `symbol`, and `symbols` to position and render varied shapes. Each mask inverts its fill pattern, producing a mirrored, interlocking composition. The artwork is driven by programmatic generation rather than external data, with dimensions tied to the viewport and a fixed 120-column grid, emphasizing algorithmic design.
AI-generated descriptionA reproduction of a Sol LeWitt art piece.
MIT Licensed