@griffpatch for the tutorial. I further improved it. I added ball-to-ball collisions (not proper yet). I added adjustable gravity and elasticity. Best with full screen. Click or press space bar to add a ball at mouse pointer. Make sure you don't spawn a ball on top of the level, if you do, press green flag again. L key to change level. R key to reset