Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

sol lewitt reproduction

Public visualization

sol lewitt reproduction

0 stars0🌍 Public
MMehul Suthar
Last edited Aug 25, 2024
Created on Aug 25, 2024
Forked from SVG Fundamentals

This example reproduces a Sol LeWitt-style minimalist composition using dynamically generated SVG rectangles. The code creates 100 vertical black bars, each 10 pixels wide, spaced 20 pixels apart across the full height of the browser window, filling the viewport edge-to-edge with a rhythmic grid. It uses the raw DOM API `document.createElementNS` to construct SVG elements, setting width, height, and position attributes directly on each `<rect>`. The rendering approach mirrors LeWitt’s conceptual art by deriving form from a simple algorithmic rule: a loop variable determines each bar’s x-coordinate and index.

AI-generated description

A reproduction of Sol Lewitt art piece.

Comments

Sign in to join the discussion.

MIT Licensed