🌍 Public
Viewing a saved revision (read-only)
2ac4df9477a9439c97ea1e4b5e566451
Sol LeWitt reproduction
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 descriptionSol LeWitt art piece reproduction