Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Sol LeWitt reproduction

Public visualization

Viewing a saved revision (read-only)

3ee7f0cb73504865b548acab2558c6ea

Sol LeWitt reproduction

0 stars3🌍 Public
DDilara Bozkurt
Last edited Jan 2, 2025
Created on Jan 2, 2025
Forked from SVG Fundamentals

This example reproduces a Sol LeWitt art piece using JavaScript to generate an SVG. It renders a series of 100 vertical rectangles, each 10 pixels wide, spaced 20 pixels apart across a 960-pixel-wide canvas. The code creates the SVG elements dynamically through the DOM API without any external libraries, directly appending each rectangle to the document body. The artwork is defined procedurally, with the number of rectangles and their spacing hardcoded in a loop.

AI-generated description

A demonstration of SVG shapes