thanx :)
You can find more info on the physics here: https://en.wikipedia.org/wiki/Verlet_integration
wow thanks :D