Skip to main content
100%

Fork of Fork of Sol LeWitt Reproduction with D3

✓ Published0🌍 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.

MIT Licensed

Similar vizzes