Full Sol lewitt reproduction with D3 - exercise
✓ Published0🌍 Public
Kkakkanadjoy@yahoo.com
Last edited Dec 21, 2024
Created on Dec 21, 2024
This example reproduces a Sol LeWitt-style wall drawing using D3.js, rendered as an SVG of alternating horizontal and vertical grid lines. Two mask layers, each containing a different geometric symbol from D3’s symbol generator, selectively reveal or hide portions of the grid. The first mask is inverted to expose lines through one set of shapes, while the second uses a complementary fill to display the remaining pattern. The code relies on `d3.select`, `d3.range`, `d3.symbol`, and `d3.symbols` to construct the composition dynamically.
AI-generated descriptionA Sol Lewitt ReproductionSol Lewitt art piece
MIT Licensed