one of the first things I experimented with when I started learning ActionScript in flash was how to plug in calculus into the darn animations.
It seems like dejavu but I oh well, I need to figure out how to use math in the Processing environment. So here it is, the mighty Sine curve:
Sine Curves.