Skip to main content
100%

Fork of Sol LeWitt reproduction (horizontal)

✓ Published1🌍 Public
FFrancisco Ibelles
Last edited Feb 6, 2024
Created on Feb 6, 2024

This generative visualization creates a minimalist wall of evenly spaced horizontal bars that extend across the full screen width. The code calculates bar height and count dynamically based on the browser window’s dimensions, using a fixed bar length of 10 pixels with doubled padding between each band. It constructs an SVG element via the DOM API (`document.createElementNS`), sets its width and height attributes to the viewport size, and appends each rectangle sequentially. The effect is a clean, repetitive grid pattern inspired by Sol LeWitt’s geometric art, rendered purely through JavaScript without external libraries, responding directly to the viewing environment.

AI-generated description

Example of a picture create for le author Sol LeWitt

MIT Licensed

Similar vizzes