The balls magically jump right back up and start bouncing again. If you're doing a presentation and you need to set something up, just play this on the board in fullscreen. Maybe even just watch them on loop cause you have nothing better to do.
A little bit of the code was made with some help from @ParadoxScratching. okie then. ALSO: every time you click the flag, the balls change color.