Skip to main content
100%

Fork of Sol LeWitt Reproduction with D3

✓ Published0🌍 Public
AAkinola Samson
Last edited Feb 13, 2024
Created on Feb 13, 2024

This example reproduces a Sol LeWitt art piece using D3’s `select` and `range` APIs to generate layered SVG rectangles. Two groups of 100 horizontal and vertical striped rects are rendered across the full viewport, each masked with circular clip regions. The first mask reveals a white circle on a black background, while the second inverts the effect, creating a central pattern of intersecting bands. The code constructs SVG masks and rects dynamically, with dimensions tied to the window size.

AI-generated description

A reproduction of a Sol LeWitt art piece.

MIT Licensed

Similar vizzes