Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



I'll definitely be talking about this one in my Solvers article!


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...


Not if you are doing dissipation, as in this case.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: