That is creating some serious issues. You're not saving a reference to anything, so you're creating new event listeners and animations that run independently of each other every time you call that function. What goes on inside a function does not stop when the animation is done. These will continue to run unless you explicitly remove them.   TweenLite.ticker.addEventListener("tick", drawPoly); window.addEventListener("resize", function() { TweenMax.set(svg, { width: target.client
    • Like
    4