Verlet Integration in Processing
A sample algorithm of Verlet Integration, a physics simulation algorithm that does not require to store velocity. Includes a grid lookup (spatial partitioning) optimization, and a few other optimizations.
Open .pde in processing
