Skip to main content
100%

Sol LeWitt Repro w/ D3

✓ Published1🌍 Public
Hhelloelectro
Last edited Feb 12, 2023
Created on Feb 10, 2023

A Sol LeWitt-inspired generative drawing fills the browser window with a grid of horizontal and vertical bars whose visibility is controlled by inverted SVG masks, creating a distinctive halftone pattern. The code uses D3 v7’s `select`, `selectAll`, and `data().join()` to bind an array of 100 rectangle marks to SVG `rect` elements, each masked via `url(#mask-Inv)`. A central circular mask region inverts the bar visibility, producing the artwork’s characteristic optical interplay.

AI-generated description

A reproduction of a Sol LeWitt art piece.

MIT Licensed

Similar vizzes