Sol Lewitt (D3)
✓ Published0🌍 Public
Two overlapping grids of thin horizontal and vertical rectangles render on an SVG canvas, creating a crosshatched composition. Masking reveals the pattern only within two circular regions: one section shows horizontal lines, while the other displays vertical lines. Built with vanilla JavaScript and D3 v6, the code uses `select`, `range`, and `join` to generate 100 rectangles per axis, with SVG `mask` elements defining the circular cutouts.
AI-generated descriptionUsing vanilla JavaScript to generate Sol Lewitt-esque art.
MIT Licensed