Kind of a cool effect. How does it work? From glancing at the source code, it looks like you're calculating the force on a damped mass-spring system 60 times a second, using that to update the speed, and using that to update the position, until eventually it comes to a stop?