peacepostman / wavify

Generate beautiful animated waves using svg, javascript and some tweenMax magic.
MIT License
222 stars 41 forks source link

Anime.js ? #12

Closed mrkenng closed 3 years ago

mrkenng commented 6 years ago

Nice script! Thanks for that, have you though of using anime.js instead of TweenMax ?

i tried the method

wave.setAttribute("d", drawPath(drawPoints(factor)));
      tweenMaxInstance = anime({
        targets: wave,
        duration: settings.speed,
        easing: 'easeInOutQuart'
      });

it works but not sure if that's the best. Anyway, I'm just asking :) You can close this if you think this is not going to that direction.