Skip to main content
100%

Sol LeWitt Reproduction

✓ Published1🌍 Public
Iinnocent thomas
Last edited Jan 22, 2023
Created on Jan 19, 2023
Forked from sol Lewet

This example reproduces a Sol LeWitt-style drawing entirely with SVG shapes, using two circular masks to create a layered grid of horizontal and vertical lines. A black-and-white mask limits the first set of 100 horizontal rects to a centered circle, while an inverted mask applies 100 vertical rects to the surrounding area. The code builds the scene dynamically via the DOM API (`createElementNS`, `setAttribute`), populating the SVG canvas across the full window size. No external libraries are used, relying purely on native SVG masking and rectangle elements.

AI-generated description

A demonstration of SVG shapes.

MIT Licensed

Similar vizzes