speed To Time
Calculate the time of an animation with a given speed and the start and end values.
Return
The required time in milliseconds for the animation with the given parameters.
Parameters
speed
Speed of animation in unit/sec.
start
Start value of the animation.
end
End value of the animation.