Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Sollewitt repro

Public visualization

Sollewitt repro

0 stars1🌍 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

Comments

Sign in to join the discussion.

MIT Licensed