How it was made
// no engine, no build step, one file
Drive is a single HTML file. Three.js draws everything; cannon-es simulates it. The terrain is a heightfield fed by hand-rolled value noise: flat plain in the middle, rolling hills, a rectangular mask that irons out downtown, a ribbon mask that carves the scenic route, and a mountain ring around all of it. Physics and visuals sample the exact same function, so what you see is what you collide with.
Every vehicle is built from primitive boxes and cylinders on top of a raycast-vehicle controller with deliberately bouncy, forgiving tuning: if you land upside down, the game quietly rights you. The drone skips wheels entirely and flies a simple velocity model with an FPV camera.
Sound effects are MIT-licensed recordings from Bruno Simon's folio (engine, honk, impacts) plus synthesized beeps. Laps, orbs, and achievements persist in localStorage. Every version of this game is archived and playable from the games hub. Built by Jeremiah with AI as the pair programmer.
close