Full Sol LeWitt Reproduction with D3 - exercises
✓ Published0🌍 Public
IIan Mac Moore
Last edited Oct 31, 2023
Created on Oct 31, 2023
Forked from Full Sol LeWitt Reproduction with D3 - exercises
This example reproduces a Sol LeWitt artwork using D3.js, rendering an SVG canvas that fills the browser window. It shows a grid of alternating horizontal and vertical stripes, with the stripes revealed through two distinct mask layers. The code uses `d3.select`, `d3.range`, `d3.symbols`, and `d3.symbol` to draw the geometric patterns and mask paths. The masks, created via the `renderMask` function, use inverted black-and-white fills and paths from `symbols` to selectively hide or show the stripes, producing the final composition.
AI-generated descriptionA reproduction of a Sol LeWitt art piece.
MIT Licensed