Click Bouncing_Particles.py link to view the file.