Get it Right - 3: Sol Lewitt (JS)
✓ Published2🌍 Public
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 descriptionEpisode 3 exercise for Get it Right in Black and White
Using vanilla JavaScript to generate Sol Lewitt-esque art.
MIT Licensed