Skip to main content
100%

D3 Sol LeWitt Reproduction RSJ

✓ Published0🌍 Public
RRifat Shadman
Last edited Nov 5, 2022
Created on Nov 4, 2022

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 description

A reproduction of a Sol LeWitt art piece.

MIT Licensed

Similar vizzes