Skip to main content
100%

Fork of Sol LeWitt Reproduction in d3

✓ Published0🌍 Public
Iinnocent thomas
Last edited Jun 3, 2022
Created on Jun 3, 2022

This example reproduces a Sol LeWitt art piece using d3 to render horizontal and vertical striped rectangles within a circular mask, creating a geometric pattern that fills the browser window. The SVG output uses two masks—one circular and one inverted—to alternately reveal horizontal or vertical bands across the canvas. Built with d3.select and SVG attributes, the code generates 100 rect elements in each orientation, with the circular mask defined via mask elements and fill colors. The artwork dynamically adapts to the window’s width and height, reflecting LeWitt’s instructional-based aesthetic in a programmatic form.

AI-generated description

A reproduction of a Sol LeWitt art piece.

MIT Licensed

Similar vizzes