Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Sol Lewitt Reproduction Ila

Public visualization

Viewing a saved revision (read-only)

0416f7bce40d46f69ea955d6ed4b715d

Sol Lewitt Reproduction Ila

0 stars0🌍 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.