Full Sol Lewitt D3 changing rect dir
✓ Published0🌍 Public
This example, built with D3.js (version 6.6.1), dynamically generates a Sol LeWitt-inspired drawing of alternating vertical and horizontal black rectangles. The code uses D3's `select`, `range`, `symbols`, and `symbol` APIs to construct SVG elements and masks. It creates two layers of rectangles, each masked by a group of three geometric symbols (like circles or squares), producing a complex, intersecting pattern. The rectangles are generated programmatically based on screen dimensions, with mask shapes positioned horizontally across the canvas.
AI-generated descriptionMIT Licensed