Click to shoot out balls
It is much better on TurboWarp: https://turbowarp.org/871001013
Notes & Credits
All my code
Uses verlet integration
I don't know how to add bouncing or conservation of momentum, and it isn't completely stable so it's not 100% realistic