Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Sol LeWitt Reproduction with D3

Public visualization

Fork of Fork of Sol LeWitt Reproduction with D3

0 stars0🌍 Public
BBelma Besirevic
Last edited May 15, 2023
Created on May 15, 2023

This example reproduces a Sol LeWitt-style geometric drawing using only SVG elements and masks. It displays a grid of 100 horizontal and vertical stripes that are visible only within two circular regions at the center of the canvas. The code creates the pattern by appending rectangle elements with alternating orientations, applying SVG `mask` and `mask2` elements with circle and inverted circle cutouts to control visibility. It relies on raw DOM manipulation via `createElementNS` and `setAttribute` rather than D3, with no external data source or animation.

AI-generated description

A reproduction of a Sol LeWitt art piece.

Comments

Sign in to join the discussion.

MIT Licensed