Figured out looping problem. See playground/gravityParticles.html