Fork of Sol LeWitt Reproduction with D3
✓ Published0🌍 Public
This work reproduces a Sol LeWitt piece by generating a grid of black-and-white symbols, with each column alternating between a geometric icon and a plain block. The code uses D3's `select`, `range`, `symbol`, `symbols`, `scaleBand`, and `selectAll` with a `.join` pattern to create two overlapping masked groups of horizontal and vertical rectangles. It defines two SVG masks, `mask1` and `mask2`, which inversely filter the stroke and fill of the symbols and bars, producing a layered, interlocking composition. The visualization is rendered as an SVG that fills the browser window.
AI-generated descriptionA reproduction of a Sol LeWitt art piece.
MIT Licensed