Skip to main content
100%

Sol Lewitt Alternative - Rotate Animation

✓ Published1🌍 Public
Hhquazza@gmail.com
Last edited Dec 10, 2024
Created on Dec 10, 2024

This example reproduces Sol Lewitt’s geometric art using an SVG mask animation. Horizontal and vertical striped rectangles move with a CSS `rotateAnimation` keyframe transform, but their visibility is filtered through two circular masks: one showing white (visible) over a black background, the other showing black (hidden) over a white background. The JavaScript dynamically creates the SVG elements, setting each rect’s mask attribute to `url(#circle-mask)` or `url(#circle-mask-2)`, producing a rotating interplay of revealed and concealed line segments. The animation runs on a 12-second loop with eased timing.

AI-generated description

Trying to reproduce Sol Lewitt art.

See for mask content the Mask Tutorial

Masks - black = you can't see it, white = you can

MIT Licensed

Similar vizzes