Skip to main content
100%

The cicada principle in animations

✓ Published0🌍 Public
AAlexZ33
Last edited Dec 15, 2019
Created on Dec 15, 2019

A loading animation demonstrates the cicada principle by applying prime-number-based durations to multiple overlapping CSS keyframe animations. The code defines separate `@keyframes` rules for scaling, rotation, border-radius, color, and border-width, then combines them in a single `animation` shorthand property with durations like 1s, 0.7s, 1.1s, and 1.3s. The result is a visually complex, seemingly random looping effect on a simple box element, rendered purely through CSS and HTML without any JavaScript.

AI-generated description

Similar vizzes