Original Post
I've been looking at verlet integration recently as a way to implement simple physics in my games. However, I'm not sure how it would be implemented. It's not so much the idea that confuses me, but rather how to turn that idea into code. Does anyone have some simple code showing basic verlet integration (i.e. a constraint between two particles)? It doesn't matter what language it is in, and if no code is available, a simple explanation on implementation would be appreciated.