Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Sol LeWitt 5

Public visualization

Sol LeWitt 5

0 stars0🌍 Public
Jjisu9393@naver.com
Last edited Dec 20, 2024
Created on Dec 20, 2024

A reproduction of a Sol LeWitt wall drawing generates a grid of thin horizontal and vertical lines that are selectively masked to reveal a diamond shape at the center. The code uses D3 v7 to append SVG rectangles and masks, employing `d3.range` to create 100 strips per orientation. Two SVG masks, one inverted, define the diamond by hiding or showing line segments, with the shape drawn via `d3.symbol` and `symbols[1]`. The rendering is purely procedural, using `window.innerWidth` and `window.innerHeight` to fill the viewport.

AI-generated description

A reproduction of a Sol LeWitt art piece.

Comments

Sign in to join the discussion.

MIT Licensed