🌍 Public
Viewing a saved revision (read-only)
5b4423236b6949778a7917bdc9407a9c
Sol LeWitt Reproduction
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 descriptionA demonstration of SVG shapes.