Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Sol LeWitt in D3

Public visualization

Sol LeWitt in D3

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed