Sol Lewitt Alternative - Colour Animation
✓ Published1🌍 Public
This example reproduces Sol Lewitt’s geometric art by generating a full-screen SVG with a dynamic color animation. It overlays two sets of thin rectangular strips—one horizontal and one vertical—each masked by a central circle, so the strips are only visible within the circular region. The horizontal strips cycle through blue, green, yellow, orange, and red via CSS `@keyframes` applied to the `fill` property, while the vertical strips use a separate animation class. The masks are built with the SVG `<mask>` element, and all shapes are created programmatically using the DOM API.
AI-generated descriptionTrying to reproduce Sol Lewitt art.
See for mask content the Mask Tutorial
Masks - black = you can't see it, white = you can
MIT Licensed