Taroimo Science Lab日本語

All simulationsMenu

← All simulations

Many-Ball Collisions in 2D

Experiments & measurement

Many balls of different sizes bounce around a box under gravity and collide with one another. Use the graph of the total energy and the numbers for each collision to see how momentum is passed on in two-dimensional collisions, and how the coefficient of restitution changes the mechanical energy.

Last updated
Update history (2)
  • Improved Added the readout "Time average of the mean kinetic energy, lightest ⅓ / heaviest ⅓". The values at a single instant keep fluctuating, but averaged over a minute or so you can see the light and heavy balls end up with the same kinetic energy. "Number of balls" now throws in the new set once, when you let go of the slider. The text at the top left of the box now sits on a translucent panel, so it stays readable when balls pass behind it.
  • Improved Added the example "Two equal balls, one at rest" and a "Last collision: separation angle" readout, so you can hit a resting ball off-center and measure the angle at which they part. "Averages by height" compares the number of balls, mean kinetic energy and mean speed in the lower and upper halves of the box.
See all updates →
  • Press "🎲 Replace all the balls" to throw in a fresh set of balls with random directions and speeds. "↺ Reset" on the toolbar starts again with the same set, so you can compare restitution or gravity from the same start.
  • Drag a ball, marked by a dashed ring, to move it; when you let go, it flies off at the speed it had.
  • Change the number of balls, the coefficient of restitution ee and the gravitational acceleration gg in the panel. "Number of balls" throws in that many balls when you let go of the slider.
  • "Collision rule" uses the correct rule by default. Switch to "Swap momenta (wrong, for comparison)" to compare with a wrong rule; while it is selected, the panel explains what is wrong and links to the section of the article that works it through.
  • Under "Results", the "Last collision" rows show the total momentum and the total kinetic energy of the two balls that collided, before and after. "Separation angle" is the angle between their velocities after the collision.
  • With "Two equal balls, one at rest" under "Load an example", one ball hits a resting ball off-center. Each press of "Replace all the balls" changes where it hits.
  • "Averages by height" shows the number of balls, the mean kinetic energy per ball and the mean speed in the lower and upper halves of the box, averaged since the last restart.
  • "Time average of the mean kinetic energy, lightest ⅓ / heaviest ⅓" shows the kinetic energy per ball of the lightest and heaviest thirds, averaged since the last restart. The two rows above it are values at a single instant.