Skip to main content
100%

D3 Sol LeWitt Reproduction

✓ Published1🌍 Public
Mmegan-grannan
Last edited Aug 10, 2023
Created on Aug 10, 2023

This example reproduces Sol LeWitt’s geometric wall drawing using D3 v7. It creates a full-screen SVG and populates it with two sets of 100 thin horizontal and vertical rectangles. Two SVG masks, each containing a central circle, are applied to the respective rectangle groups, making the horizontal lines visible only inside the first circle and the vertical lines visible only inside the second. The `select` and `range` functions from the D3 API are used to construct the SVG elements.

AI-generated description

Reproduction of Sol LeWitt art piece.

MIT Licensed

Similar vizzes