At the beginning of the program, two red balls are created. Red balls are stationary. Red balls emit blue balls. Blue balls move at a constant rate. When two blue balls touch, a red ball is created. When two or more red balls are touching, they will be destroyed until each ball is not touching another.