Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Sol Lewitt in SVG

Public visualization

Viewing a saved revision (read-only)

89abe87d88d547d08889a43f1840c5db

Sol Lewitt in SVG

0 stars0🌍 Public
KKirsten Lund
Last edited Mar 20, 2021
Created on Mar 20, 2021
Forked from SVG Fundamentals

The example generates a minimalist geometric composition inspired by Sol Lewitt, using a series of uniformly spaced vertical silver rectangles that stretch the full height of the browser window. It shows a systematic grid of 100 thin bars created entirely with dynamic SVG elements. The code builds the visualization by appending SVG `rect` nodes to the document, setting each bar’s x-coordinate incrementally at intervals of 20 pixels with a fixed width of 10. It relies on the raw Document Object Model API, including `document.createElementNS` and `setAttribute`, to construct the scene in plain JavaScript without external libraries.

AI-generated description

A demonstration of SVG shapes.