Skip to main content
100%

Lewitt

✓ Published0🌍 Public
Ffatihkose80
Last edited Dec 31, 2022
Created on Dec 28, 2022
Forked from Jav Script

This example renders a full-screen SVG visualization inspired by the minimalist art of Sol LeWitt. It draws a single vertical rectangle at a fixed x position that spans the entire height of the viewport, using the browser’s `window.innerHeight` and `window.innerWidth` to size the canvas. The code creates the SVG element via the `document.createElementNS` API and appends a `rect` element without an explicit loop, resulting in one static line. The visualization relies on vanilla JavaScript and SVG, with no external libraries or data source.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes