I have a unique challenge of creating a loading animation using Adobe After Effects instead of CSS. The main goal is to develop an animation that continuously loops, but when the loading process stops, it ends with a distinct finishing touch. For instance, if a circle is spinning around and animation.stop()
is triggered, the circle should spin rapidly and shrink until it disappears, providing a dynamic ending to the animation. How can this be achieved?
One idea is to create two separate animations - the looping animation and the end animation. When animation.stop()
is called, the end animation can be queued up to smoothly transition from the looped animation to the final sequence. Is this approach viable? And how can animations be queued in HTML/Javascript?
Simply stopping or hiding the looping animation and starting the end animation abruptly is not sufficient, as the loop animation must complete its cycle for a seamless transition. Considering that my actual loop animation is more intricate than just a spinning circle, it's essential to ensure a smooth transition between the loop and end animations.