🌍 Public
Viewing a saved revision (read-only)
78c46cb14f3948278ffd0f7cf7e74055
Fork of Sol LeWitt Reproduction with D3
This example reproduces a Sol LeWitt-style drawing using SVG rect elements generated with d3.selectAll, d3.range, and .join. Horizontal and vertical rectangles are rendered across the full viewport, with two overlapping SVG masks—one showing a white circle on black and the other inverted—creating a circular focal pattern. The code uses D3 v7 selection and data-binding APIs to create 100 rects in each orientation, with the masks revealing and hiding portions of the grid to mimic the geometric interplay of LeWitt’s wall drawings.
AI-generated descriptionA reproduction of a Sol LeWitt art piece.