Collision simulator written in Go, using Ebitengine and Jake Coffman's implementation of Chipmunk2D for Go.
Super simple, strike Space to make a ball appear and roll down the path to fall off the bottom of the window.
Other controls are as follows:
- enter: randomise shape radius
- w, a, s, d: modify gravity
- r: reset gravity
- i: show coins instead of circles
- e: change elasticity
- up / down: change speed
- k: pause game
I made the initial version of this as a school project in about 1 day, so it's not very polished but it does work.