Planeteer
The whole Earth, walkable in a browser tab and drawn in an inked comic style — real countries, real towns and 101 landmarks, on foot, by boat, by plane, or by rocket to the Moon.
The problem
Personal project, not built for any course.
A browser game about going and looking: the whole planet, at a scale you can walk, where every country, town and landmark is where it really is. The constraint that shapes everything is that nothing about the world is sent over the wire — the planet has to be generated from real data, the same way in every browser.
The answer is a planet built from Natural Earth’s coastlines, GeoNames’ towns and the real sun, drawn in an inked comic style with toon shading and an outline pass.
How it works
The runtime is Three.js and nothing else, written in strict TypeScript and built with Vite; everything heavy is baked ahead of time:
- Baked data — coastlines, countries, lakes, towns, roads and railways are baked from Natural Earth and GeoNames into compact binary files, and the terrain and every one of the 101 landmarks are generated in code from them.
- The same planet everywhere — the world is deterministic: two browsers build the same streets in the same places, so the only thing that crosses the network is where the travellers are. Online, other players share the same planet.
- Getting around — vehicles stand in the world, cars, bikes, boats, planes, helicopters, a horse and a submarine, and
Etakes one. Climb high enough and the ground turns into a political map, one colour per country. - The map —
Mopens the whole planet on one sheet, drawn from the same data as the ground, down to every building. - The other worlds — the rest of the solar system can be walked too, each world under its own gravity; a rocket beside an airstrip is the way up from Earth.
- Headless checks — scripts hold the world to its data, that New York is in the United States and that no road crosses the sea, and run in CI on every push alongside the typecheck and the build.
Running it
Plays in the browser at planeteer.vercel.app, with nothing to install.
To build it locally, requires Node 22.18 or newer and pnpm:
pnpm install
pnpm dev # http://localhost:5174
pnpm build # typecheck, then build into dist/
pnpm check # the world, headless: data, mesh, landmarks, places
?at=lat,lon in the address skips the menu and lands there.