Skip to main content
100%

Sol Lewitt Reproduction Ila

✓ Published0🌍 Public
Iilamarzi31@gmail.com
Last edited Aug 23, 2024
Created on Aug 23, 2024
Forked from SVG Fundamentals

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 description

A reproduction of Sol Lewitt art piece.

MIT Licensed

Similar vizzes