Here is a simple library I made for animating values. It can animate a variable from one value to another, over a time interval and with different types of easing. It also supports a callback function that is run when the animation is finished.