Skip to main content
100%

sol lewitt2

✓ Published0🌍 Public
Nneojournalist
Last edited Nov 14, 2022
Created on Nov 14, 2022

This example reproduces a Sol LeWitt-inspired geometric composition using D3 selections and SVG masks. It draws two intersecting sets of thin horizontal and vertical rectangles, each masked by a large circular symbol defined via `d3.symbol` and `d3.symbols`. The first mask uses a light-on-dark pattern, the second an inverted dark-on-light pattern, creating layered contrast across the full window. The code relies on `d3.select`, `range`, `symbol`, and SVG `mask` elements to generate the visual, with a hardcoded `n` of 100 for the line spacing.

AI-generated description

A reproduction of a Sol LeWitt art piece.

MIT Licensed

Similar vizzes