We have been using anime.js in almost all of our Lens Studio projects, so I took some time to package it up. I’ve shared it before (as a zip), but now it has a lot more examples and documentation, so it should be much easier to pick up.
The component system used by tweenjs is fine for some situations, but this workflow is much more flexible, especially for handling a complex series of animations.
There are a lot of parameters that you can use for defining animations. Fortunately, animejs has some really nice documentation with live examples. Documentation | anime.js
If you end up using this in your projects, I’d love to hear any feedback or suggestions.