Adam Campbell's Website
particle system

  • This is just a simple particle system, where the mass of each particle is based on its radius. The energy in this system should be conserved throughout, but because of the accumulation of floating point errors, energy may be gained or lost by the system over a long period of time.
  • The code for this is pretty sloppy, and if you want to learn more about the equations used, click the link below
  • Watch the balls bounce around
  • Move the mouse around inside the applet to change the position of the blue light
Additional Information:
  • Click here to learn more about the equations used in this simulation
  • E-mail me at if you have any questions