🌍 Public
Viewing a saved revision (read-only)
8bd6277bdc57493d928822db008b8dd4
Sollewitt 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 descriptionA Reproduction of Sol whiett