Sol LeWitt Reproduction in D3 - Javan
✓ Published1🌍 Public
This example recreates a Sol LeWitt-inspired geometric composition using D3.js and SVG rendering. It displays a grid of thin horizontal and vertical rectangles layered over each other, with two circular masks creating intersecting circular cutouts that reveal or hide portions of the rectangles. The code uses D3 selections, `range()` for data generation, and `.join()` to bind 100 rectangles per axis to the SVG. The `mask` element defines the circular regions, with one mask using a white circle on black and the other using a black circle on white.
AI-generated descriptionA reproduction of a Sol LeWitt art piece.
MIT Licensed