News for hackers. Stuff that matters.
Re:Modeling Physics in Javascript: Gravity and Drag by xxbondsxx on Saturday September 08, 2012 @01:07PM (#4493350)
The Velocity Verlet integration method isn't much of a jump in complexity (http://en.wikipedia.org/wiki/Verlet_integration#Velocity_Ver...) and works _great_ for kinematic simulators.

As a cool feature, it maintains the energy of the system, so you can slow down, stop, and then rewind time and arrive at the same previous configuration, all by changing the delta T's inside the evaluation.

Re:Modeling Physics in Javascript: Gravity and Drag by bkanber on Saturday September 08, 2012 @01:28PM (#4493427)
I'll definitely be talking about this one in my Solvers article!
Re:Modeling Physics in Javascript: Gravity and Drag by baq on Saturday September 08, 2012 @03:34PM (#4493759)
be sure to read "numerical recipes in c" chapter 16 first.

fwiw the only thing you need to do to be one of the best references on numerical integration in js on the net is translate the code to javascript...

Re:Modeling Physics in Javascript: Gravity and Drag by mbq on Monday September 10, 2012 @07:32PM (#4502889)
Not if you are doing dissipation, as in this case.