🌍 Public
Viewing a saved revision (read-only)
ceaa7dd1a99b4482ac7746d1d245d814
Fork of Fork of Sol LeWitt Reproduction Vertical Inverst
This example generates an abstract geometric composition by layering horizontal and vertical bars over a full-screen SVG canvas. A circular mask and its inverse are created using the SVG `mask` element, with the first mask revealing horizontal strips in the central circle and the second exposing vertical strips outside it. The code uses the DOM API `createElementNS` to construct SVG elements dynamically, setting attributes like `width`, `height`, and `mask` via `setAttribute`. No external libraries are used; all shapes are drawn procedurally in a loop with 100 iterations per orientation.
AI-generated descriptionA demonstration of SVG shapes.