Dungeon Crawl
A hand-built WebGPU engine in Go, compiled to WebAssembly. A few things it can drive:
-
Coin collector
A platformer character in a walled arena of bouncing coins — the
physicspackage (integration, AABB/circle collision, pixel-mask pickup) end to end. -
Dungeon Crawl
The full app: passkey sign-in, then a real-time multiplayer arena against an authoritative server — prediction, interpolation, and server-judged sword hits over WebTransport.
-
UI showcase
The immediate-mode widget toolkit in
ui/: every widget in every state, text measured and centred, nine-slices stretched to extremes — plus a browser for the sprite sheet that hands you the cell coordinates. -
Stress test
Up to 100k textured orbs in a single instanced draw call — where the GPU gives out (overdraw), not the CPU.
-
Many draws
The opposite extreme: thousands of individual draw calls, exercising the CPU-bound
syscall/jsboundary.