Fork of Sol LeWitt Reproduction with D3
✓ Published0🌍 Public
This example recreates a Sol LeWitt-inspired geometric composition using D3.js, displaying ten red-striped rectangles overlaid with a circular mask and a diamond-shaped symbol. The SVG rendering uses `d3.select`, `range`, `scaleBand`-like positioning via manual arithmetic, and `symbol` to generate the diamond path. A mask defined with `<mask>` and appended shapes—a white background rect, a black circle, and a white diamond—controls which parts of the green-filled, red-stroked rectangles remain visible. The artwork scales to the full browser window, with layout based on `window.innerWidth` and `window.innerHeight`.
AI-generated descriptionA reproduction of a Sol LeWitt art piece.
MIT Licensed