Waves animation add pause/resumeHey @OSUblake Nice. I am learning about this library. This would help get to know how to format animations properly. @mikel Thanks as well. Really nice support. Cheers.
Waves animation add pause/resumeHey I am using this codepen, which uses TweenMax to do the wave animation. 1. I was wondering, the draw function creates a new TweenMax object in each interval. Wouldn't it have some performance issues? 2. I am trying to set the pause and resume functions to work with those waves. But since, the draw function is creating each new object, how can I go about it? Setting a var tween = new TweenMax(); results in uncaught exception: Cannot tween a null target.