JavaScript-based animations should be limited to UI updates at ~17ms, which is equivalent to 60fps, which is the fastest most displays will refresh anyway. So we would neeed to keep track of the time since the last UI update and don’t do anything if 17ms haven’t passed.
Perfomance issues with textures that are larger than 1024x1024 pixels
Not sure if it's worth having an animation module?