Lewitt
✓ Published0🌍 Public
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed