verletCollision01

Launch the Processing applet HERE (and get source code).

I found a great tutorial on this blog by Florian Boesch describing how to “integrate verlet physics collision with preservation of impulse”. He uses simple circles as an example, but it works great.  His tutorial was written in JavaScript (source here), so it was a pretty simple matter to port this to Processing, which helped me wrap my head around these concepts.

  1. No comments yet.

  1. No trackbacks yet.