A simple microinteraction using trim paths and a state machine.
The transition time is set at 100ms so even if you spam clicks, it'll mix the animations from their current location and not create a jarring jump effect.
Remix frin Guido Rosso design
License
Viewing