FULL D3 Sol LeWitt Reproduction a la G
✓ Published0🌍 Public
This example reproduces a Sol LeWitt-inspired drawing using D3 version 6 in an SVG. It layers 100 horizontal and 100 vertical stripes across the full viewport, which are selectively revealed through two masks. The first mask uses a large diamond symbol from `d3.symbol` to cut a hole in the horizontal stripes, while the second mask employs a circle to reverse the effect on the vertical lines. The code constructs these masks with `svg.append('mask')` and positions elements dynamically with `window.innerWidth` and `window.innerHeight`.
AI-generated descriptionA bare minimum HTML page.
MIT Licensed