[reactive] Bounce

Greg Fitzgerald garious at gmail.com
Fri Nov 21 16:57:35 EST 2008

I fixed the collision issue (I should have failed first year physics).

gravity :: Double -> Double -> TimeT -> (Double, Double)
gravity x0 v0 t = (x0 + v0 * t - 4.9 * (t * t), v0 - 9.8 * t)

New code here:

But this is still unusable.  There's a massive space leak somewhere,
and the program continues to grow even after you close the window!
Anyone have any pointers for tracking this down?


More information about the Reactive mailing list