Full Sol Lewitt Reproduction with D3
✓ Published1🌍 Public
This example reproduces a Sol LeWitt wall drawing as a full-screen SVG composition. Two sets of one hundred thin rectangles—one horizontal, one vertical—are overlaid using D3’s `select`, `range`, and `join`. Two SVG masks, created with `symbols[1]` (a diamond) and `renderMask`, invert the pattern’s visibility, leaving a diamond-shaped cutout in each orientation. The `svg.call` method applies both masks, and the code uses `window.innerWidth` and `window.innerHeight` to size the canvas.
AI-generated descriptionA reproduction of a Sol LeWitt art piece.
MIT Licensed