Bouncing balls demo written in Go, using Ebiten for graphics and events.
Try it online: Bouncing Balls Ebiten v1.0.0 WASM demo
You can find a variant of this using go.wde for graphics and events here: github.com/icza/balls-wde.
Another variant using go-sdl2 for graphics and events: github.com/icza/balls-sdl.
Animation:
Screenshot: