Too Long; Didn't Read
To be honest, there are already tons of tweening engines in Javascript ecosystem, there are great (popular) ones, such as <a href="https://github.com/tweenjs/tween.js/" target="_blank"><strong>Tween.js</strong></a><strong> </strong>and<strong> </strong><a href="https://greensock.com/" target="_blank"><strong>GSAP</strong></a>.