Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Sol LeWitt Reproduction

Public visualization

Sol LeWitt Reproduction

0 stars1🌍 Public
TTheo-0201
Last edited Sep 19, 2023
Created on Sep 19, 2023
Forked from SVG Fundamentals

This example reproduces a minimalist Sol LeWitt drawing using programmatically generated vertical bars. It fills the browser viewport with 100 thin SVG rectangles, evenly spaced 20 pixels apart and spanning the full window height. The code uses the raw Document Object Model (DOM) API with `createElementNS` to construct SVG elements directly, setting viewport dimensions from `window.innerWidth` and `window.innerHeight`. No external libraries are used; the rendering relies purely on vanilla JavaScript and CSS.

AI-generated description

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

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed