Skip to main content
100%

Fork of Sol LeWitt Reproduction with D3

✓ Published0🌍 Public
Zzhuomo-maker
Last edited Jun 16, 2023
Created on Jun 12, 2023

This work reproduces a Sol LeWitt piece by generating a grid of black-and-white symbols, with each column alternating between a geometric icon and a plain block. The code uses D3's `select`, `range`, `symbol`, `symbols`, `scaleBand`, and `selectAll` with a `.join` pattern to create two overlapping masked groups of horizontal and vertical rectangles. It defines two SVG masks, `mask1` and `mask2`, which inversely filter the stroke and fill of the symbols and bars, producing a layered, interlocking composition. The visualization is rendered as an SVG that fills the browser window.

AI-generated description

A reproduction of a Sol LeWitt art piece.

MIT Licensed

Similar vizzes