Skip to main content
100%

Sol LeWitt

✓ Published1🌍 Public
Aavcwisesa
Last edited Apr 5, 2021
Created on Apr 5, 2021
Forked from SVG Fundamentals

This example displays 50 vertical rectangles arranged in a repeating grid, filling the browser window with a pattern inspired by Sol LeWitt’s minimalist art. Each rectangle is positioned at an x-coordinate of 20 times its index, with a fixed width of 10 and a height equal to the full viewport. The visualization uses the SVG namespace and dynamically creates elements via `document.createElementNS`, setting width and height attributes from `window.innerWidth` and `window.innerHeight`. The code appends all shapes to a single SVG container without any interaction or data-driven updates.

AI-generated description

A demonstration of SVG shapes.

MIT Licensed

Similar vizzes