quinton-ashley / p5play

JavaScript game engine that uses q5.js/p5.js for graphics and Box2D for physics.
https://p5play.org
GNU Affero General Public License v3.0
667 stars 184 forks source link

Support for tweening/easing in movement and rotation functions #263

Open quinton-ashley opened 1 year ago

quinton-ashley commented 1 year ago

I recently found this library anime.js which would be great for this purpose:

https://animejs.com/documentation/#JSobjProp

The minified version is only 17kb and I think it'd be worth adding directly into p5play.

https://github.com/juliangarnier/anime/blob/master/lib/anime.js