This project is just an experiment to learn Go. Click the background to add or move the balls around. They have mass, gravity, and bounciness. Plus they go boom sometimes too.
It is a copy of another one of my experiments, the other one is written in Javascript though. It can be found here: https://github.com/aortez/aortez.github.io
Visit http://allan.pizza/go to see it in action.
The output target is WASM, build it like so:
./build.sh
Do whatever you gotta do to server index.html, e.g.:
http-server