Sol Lewitt Reproduction Ila
✓ Published0🌍 Public
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.
MIT Licensed