We are using raw animations to do the module's transforms, this is not optimal since there are libraries that are already well developed and small enough to be included in the module, and that are way more powerful that we can even hope to be. And that brings us to Anime.js, a small and very powerful library that provides a more flexible approach to element animations.
This will also let us combine effects (#5) and have a way of stopping the effects that do transforms (#3).
We are using raw animations to do the module's transforms, this is not optimal since there are libraries that are already well developed and small enough to be included in the module, and that are way more powerful that we can even hope to be. And that brings us to
Anime.js, a small and very powerful library that provides a more flexible approach to element animations.This will also let us combine effects (#5) and have a way of stopping the effects that do transforms (#3).