Skip to main content
100%

Sol LeWitt - d3

✓ Published0🌍 Public
Ppsabela
Last edited Jul 27, 2021
Created on Jul 27, 2021

This example generates a grid of horizontal and vertical stripes across the full viewport, overlaid with two opposing masks that reveal a diamond-shaped symbol at the center. The SVG is built using D3 selections and data joins, with lines spaced every 20 pixels. A reusable `renderMask` function creates the masks, using D3’s `symbol` and `symbols` API to draw the diamond path. The stripes are clipped by these masks, producing an interplay of light and dark regions inspired by Sol LeWitt’s generative wall drawings.

AI-generated description

Inspiration from Curran's live streaming

Started from scratch. Lot of research helps.

Exercise options:

Reproduce any Sol LeWitt piece.

Create generative art in the spirit of Sol LeWitt.

Add animation to what we’ve created (e.g. rotation).

MIT Licensed

Similar vizzes