Sol LeWitt 5
✓ Published0🌍 Public
A reproduction of a Sol LeWitt wall drawing generates a grid of thin horizontal and vertical lines that are selectively masked to reveal a diamond shape at the center. The code uses D3 v7 to append SVG rectangles and masks, employing `d3.range` to create 100 strips per orientation. Two SVG masks, one inverted, define the diamond by hiding or showing line segments, with the shape drawn via `d3.symbol` and `symbols[1]`. The rendering is purely procedural, using `window.innerWidth` and `window.innerHeight` to fill the viewport.
AI-generated descriptionA reproduction of a Sol LeWitt art piece.
MIT Licensed