Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Sol_LeWitt_Vertical Variant

Public visualization

Viewing a saved revision (read-only)

f965d531dfa2492db9a971288118a2b8

Sol_LeWitt_Vertical Variant

0 stars2🌍 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