I\'ve spent a couple days at this and I give up.
I\'m trying to get an object to animate along a sine wave infinitely. It should not end after the first period.
Why don't you use HTML5 Canvas? http://falcon80.com/HTMLCanvas/Animation/SineWave.html