I played with Javascript sine animations as a way of introduce the idea of sine function in some intuitive way.
Eg Two Rotating Circles - http://quantblog.wordpress.com/2011/10/05/adding-circles-jav...
I think Javascript hacking in a web page is todays equivalent to hacking GW-Basic, Turbo Pascal or A86 assembler for my generation.
Compared to serious mathematics, programming is relatively trivial.
With mathematics, you can do anything in computing.
Without it, you're reduced to this feeble exercise in self-enlightment.
As humans, however, degrees ranging from 0 to 360 are much easier to read. That’s why you can and should convert between them with this simple formula.
Made be cringe.This is the magic sauce you need. (more visual demo here: http://sol.gfxile.net/interpolation/index.html)
posX += (destX - posX)/ slowdownRate
Moves an item like so: X....X...X..X.X