🌍 Public
Viewing a saved revision (read-only)
a20a4d6c9df6410f9a5594e5551a0cfd
Sol Lewitt Reproduction Ila
This example reproduces a Sol Lewitt art piece by rendering 100 vertical black bars of equal width and height across a 960-by-500-pixel SVG canvas. The bars are spaced evenly at 20-pixel intervals, with each bar 10 pixels wide, creating a rhythmic striped pattern. The code uses the raw SVG API via `document.createElementNS` to generate and append `rect` elements directly to the SVG. No external libraries are used; the rendering relies solely on a simple loop that sets each rectangle’s position and dimensions.
AI-generated descriptionA reproduction of [Sol Lewitt art piece] (https://massmoca.org/sol-lewitt/).