Skip to main content
100%

Sol LeWitt Reproduction

✓ Published1🌍 Public
WWasanta Pruttisarikorn
Last edited Nov 22, 2022
Created on Nov 22, 2022
Forked from SVG Fundamentals

This example reproduces a Sol LeWitt-inspired wall drawing using dynamically generated SVG rectangles. It renders 100 vertical bars of fixed width, spaced evenly across the full viewport height, creating a minimalist grid pattern that fills the browser window. The visualization works by creating an SVG element with the DOM API `document.createElementNS`, setting its dimensions to match the window, and appending each rectangle with explicit `x`, `width`, and `height` attributes. No external libraries are used; it relies entirely on native JavaScript and SVG shape creation.

AI-generated description

A demonstration of SVG shapes.

MIT Licensed

Similar vizzes