Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Sol Lewitt Reproduction mid point

Public visualization

Viewing a saved revision (read-only)

734d999f0ac44a6ca16a6982fe8eab9e

Fork of Sol Lewitt Reproduction mid point

0 stars0🌍 Public
GGbemiga Atolagbe
Last edited May 1, 2024
Created on May 1, 2024

This visualization reproduces Sol LeWitt's geometric wall drawings using programmatically generated vertical stripes. Two identical loops of 100 thin rectangles each are rendered atop one another, creating a dense, rhythmic pattern of black lines across the full height of the browser window. Built with the native SVG API in JavaScript, the code creates elements via `document.createElementNS` with `'http://www.w3.org/2000/svg'`, setting each rectangle’s position and dimensions through `setAttribute`. The canvas dynamically adapts to the viewport dimensions using `window.innerWidth` and `window.innerHeight`.

AI-generated description

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

See also React Starter.