An example of triggering animations with the Intersection Observer API.   See the Pen WaLjNL by osublake (@osublake) on CodePen.   Notice how the handler only toggles the playback state of an animation.    if (entry.isIntersecting) { // play animation } else { // pause animation }     Your handler is adding the same animations to an already existing timeline, so it's getting longer and longer every ti
    • Like
    8