Skip to main content
100%

Fork of Fork of Sol LeWitt Reproduction Vertical Inverst

✓ Published1🌍 Public
WWasanta Pruttisarikorn
Last edited Nov 23, 2022
Created on Nov 23, 2022

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 description

A demonstration of SVG shapes.

MIT Licensed

Similar vizzes