Skip to main content
100%

Sol LeWitt in D3

✓ Published0🌍 Public
DDouChinn
Last edited Apr 6, 2023
Created on Mar 30, 2023
Forked from Landcape

This example reproduces a Sol LeWitt wall drawing using D3.js and raw SVG manipulation. It generates 100 vertical and 100 horizontal rectangles, applying circular masks to create intersecting line patterns against contrasting backgrounds. The code manually constructs SVG elements and mask definitions, using two masks with inverse color schemes to reveal or hide portions of the drawn lines. It relies on D3 for selection and the document object model, while the rendering approach uses native SVG APIs.

AI-generated description

A reproduction of a Sol Lewitt art piece.

MIT Licensed

Similar vizzes