Skip to main content
100%

Fork of Sol Lewitt Reproduction mid point

✓ Published0🌍 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.

MIT Licensed

Similar vizzes