Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Sol Lewit Repro

Public visualization

Viewing a saved revision (read-only)

97913bbcb8664e5cb8fce110f342615c

Sol Lewit Repro

0 stars1🌍 Public
HHayden-V
Last edited Sep 14, 2022
Created on Sep 13, 2022

This example presents a generative art piece inspired by Sol LeWitt, rendered by drawing a series of vertical stripes across the full browser window. The visualization uses raw JavaScript with the Document Object Model (DOM) API, specifically creating Scalable Vector Graphics (SVG) elements via `document.createElementNS`. The code generates 100 rectangles, positioning each one along the x-axis with a fixed width and making them stretch the entire height of the viewport, resulting in a clean, minimal striped pattern that echoes LeWitt's systematic wall drawings. The artwork automatically adapts to the current window dimensions.

AI-generated description

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

See also React Starter.