Skip to main content
100%

Sol_LeWitt_Vertical Variant

✓ Published2🌍 Public
Rraturi22@gmail.com
Last edited Aug 6, 2025
Created on Aug 6, 2025

This example recreates a Sol LeWitt-style wall drawing as a full-screen SVG composition. It layers a grid of horizontal and vertical stripes, with a circular white mask revealing only the horizontal lines within a 200-pixel-radius circle centered on the viewport. The code builds the SVG and mask elements dynamically via the Document Object Model API, using `document.createElementNS` and `setAttribute` to generate 100 rectangles in each direction. No external libraries are used; the rendering relies entirely on native SVG mask and rectangle primitives.

AI-generated description
MIT Licensed

Similar vizzes