Skip to main content
100%

Fork of Sol LeWitt reproduction with D3

✓ Published1🌍 Public
DDilara Bozkurt
Last edited Jan 3, 2025
Created on Jan 3, 2025

This example reproduces a Sol LeWitt art piece using D3 to generate a grid of horizontal and vertical rectangles. The rectangles are masked by circles, creating an interlocking pattern where the horizontal bars show through a white circle and the vertical bars show through a black circle on a contrasting background. The code uses D3 selections and the `range` function to create 100 rectangles in each direction, applying SVG mask elements with rectangle and circle shapes. The visualization renders entirely in SVG, filling the browser window with the geometric composition.

AI-generated description

Sol LeWitt art piece reproduction

MIT Licensed

Similar vizzes