Skip to main content
100%

Sol LeWitt Reproduction

✓ Published1🌍 Public
Cchacon1@uic.edu
Last edited Feb 17, 2024
Created on Feb 16, 2024
Forked from SVG Fundamentals

This visualization reproduces a Sol LeWitt drawing using a generative approach, rendering a series of vertical bars. The bars are evenly spaced across the full width and height of the browser window, creating a rhythmic, minimalist composition. The code uses raw JavaScript with the Document Object Model (DOM) API to create SVG elements, specifically `document.createElementNS`. It dynamically sets the canvas size based on `window.innerWidth` and `window.innerHeight`, then iterates to append one hundred `rect` elements, each with a fixed width and spacing, to the SVG container.

AI-generated description

A reproduction of a Sol Lewitt art piece.

MIT Licensed

Similar vizzes