Skip to main content
100%

Sol LeWitt Vertical

✓ Published0🌍 Public
JJMeltzer92
Last edited Dec 19, 2022
Created on Dec 19, 2022
Forked from Sol LeWitt

This visualization recreates Sol LeWitt's geometric aesthetic using a vertical stack of 100 thin, full-width rectangles. Each rectangle is spaced 20 pixels apart, creating a rhythmic, repetitive pattern that fills the entire browser viewport. The code builds SVG elements dynamically via the Document Object Model API, using `createElementNS` to generate the `<rect>` elements and appending them to an `<svg>` container whose dimensions are set to match the window’s `innerWidth` and `innerHeight`. No external libraries are used, relying purely on vanilla JavaScript and SVG.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes