Skip to main content
100%

Get it Right - 3: Sol Lewitt (JS)

✓ Published2🌍 Public
WWaseem Medhat
Last edited Nov 29, 2022
Created on Nov 28, 2022
Forked from HTML Starter

An animated SVG composition generates Sol LeWitt-inspired geometric art using vanilla JavaScript. It renders a grid of darkslateblue vertical and horizontal rectangles with beige strokes, where horizontal bands are clipped by a white rectangle mask over a black background. Every 750 milliseconds, the render function recreates the SVG with a randomly chosen line width between 20 and 35 pixels, altering the grid density. The piece updates dynamically, shifting from a dense weave to a sparser lattice while maintaining the stark black, white, and blue palette.

AI-generated description

Episode 3 exercise for Get it Right in Black and White

Using vanilla JavaScript to generate Sol Lewitt-esque art.

MIT Licensed

Similar vizzes