Skip to main content
100%

Sol LeWitt 2

✓ Published1🌍 Public
CCora
Last edited Sep 1, 2025
Created on Mar 22, 2025
Forked from SVG Fundamentals

This example reproduces a Sol LeWitt art piece using raw SVG elements created with the Document Object Model (DOM) API. It generates one hundred vertical rectangles, each ten pixels wide and spaced twenty pixels apart, filling the full height of the browser window. The code uses `document.createElementNS` to construct SVG `<rect>` elements and appends them to an SVG container. The rectangles are drawn programmatically in a loop, without any external data source or visualization library.

AI-generated description

A reproduction of a Sol LeWitt art piece.

MIT Licensed

Similar vizzes