Skip to main content
100%

Ep. 3.2 - SoL LeWitt Art Reproduction - MK

✓ Published1🌍 Public
Mmattykuch
Last edited Aug 9, 2022
Created on Aug 8, 2022

This example reproduces a Sol LeWitt-style wall drawing using raw SVG. It shows a series of one hundred thin vertical rectangles evenly spaced across the full browser viewport, creating a minimalist striped pattern. The code generates the SVG element dynamically via the DOM API `document.createElementNS`, setting its width and height to match `window.innerWidth` and `window.innerHeight`. Each rectangle is positioned at a fixed increment of 20 pixels along the x-axis, with a width of 10 pixels and a height equal to the viewport, resulting in a regular, repeating visual rhythm.

AI-generated description

A demo of SoL LeWitt Art.

MIT Licensed

Similar vizzes