Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Sol LeWitt

Public visualization

Sol LeWitt

0 stars1🌍 Public
EEd Smale
Last edited Jul 16, 2023
Created on Jul 16, 2023
Forked from SVG Fundamentals

This example generates a vertical field of narrow, evenly spaced black rectangles across the full height of the browser window, creating a rhythmic, striped composition reminiscent of Sol LeWitt’s wall drawings. It renders 100 SVG `<rect>` elements directly onto an `<svg>` created with the DOM API `document.createElementNS`. The rectangles are positioned incrementally along the x-axis at 20-pixel intervals, each with a fixed width of 10 pixels, while the height is set to match the window’s inner height. No external libraries are used; the visualization relies solely on native SVG parsing and JavaScript.

AI-generated description

A demo of SVG shapes.

Comments

Sign in to join the discussion.

MIT Licensed