Skip to main content
100%

Sol LeWitt Reproduction with D3

✓ Published1🌍 Public
Lliu yang
Last edited Nov 10, 2023
Created on Nov 10, 2023

This example recreates a Sol LeWitt wall drawing using D3.js, rendering a grid of horizontal and vertical rectangles in SVG. Two circular masks are applied to show only the overlapping region where the lines intersect. The code uses d3.select and d3.range to generate 100 bars in each direction, with the masks defined as SVG elements that hide or reveal portions of the grid. The artwork fills the entire browser window, displaying only the masked circular intersection.

AI-generated description

Sol LeWitt Reproduction

MIT Licensed

Similar vizzes