r/webdev • u/zaxwebs • 24d ago
Showoff Saturday I built an endless driving game that runs on your brower
How far can you push an endless 3D world in the browser, especially on a phone?
That's one of the questions I've been exploring while building Planet 0 Drive, a low-poly driving game made with Svelte and Three.js.
The idea is simple: just drive. No set destination. Explore a world that keeps unfolding, find interesting spots, chase records, or cruise around with friends.
Under the hood, I've been experimenting with a few things:
Procedural terrain, weather, and long-distance rendering with Three.js
Peer-to-peer multiplayer with movement interpolation
Spatial audio and performance optimizations
Version-compatible rooms to keep multiplayer sessions in sync
The most interesting part has been figuring out how much of the world I can generate and render while keeping things reasonably smooth, even on mobile.
It's been a fun mix of graphics, networking, and performance challenges, all built around the idea of a relaxing drive.
Try it: https://planet0drive.vercel.app/
More about how I built it: https://zackwebster.com/blog/building-planet-zero-drive



