Skip to main content
100%

Sollewitt repro

✓ Published1🌍 Public
Mmuhmdabdollahi@gmail.com
Last edited Jan 30, 2025
Created on Jan 21, 2025
Forked from Sol Lewitt Repro

This example reproduces a Sol LeWitt wall drawing using the browser’s native JavaScript and the SVG API. It creates an SVG canvas scaled to the full window and appends a series of vertical rectangles. The first rectangle is drawn without an `x` attribute, defaulting to zero, followed by a loop that places an additional 100 rectangles at 20-pixel intervals, each 10 pixels wide and as tall as the viewport. The code comments show a redundant earlier attempt but the final output relies solely on `document.createElementNS` with the `http://www.w3.org/2000/svg` namespace.

AI-generated description

A Reproduction of Sol whiett

MIT Licensed

Similar vizzes