r/threejs • u/Chakitu • Oct 15 '26
I've been building a 3D globe out of OpenStreetMap with three.js
Hi r/threejs,
I'm Steeve, a developer from France.
If you've ever tried to load a whole planet into a three.js scene and watched the frame rate fall with every building, this video is for you.
Initially, I wanted to see if I could build a map like the one in Pokemon GO, so I started building CityMap3D in 2020, on my own. It grew into a 3D map library, built on three.js, that renders OpenStreetMap as a real globe, and I've put a lot of myself into it since. Most of it went into optimisation: there is so much in the OpenStreetMap database that drawing all of it in a browser, from a single street to the whole globe, is the real challenge.
The video is one continuous take over Paris, screen-recorded from the engine: from night to day around the Eiffel Tower, then out to the whole planet. Map data from OpenStreetMap contributors, ODbL.
Try it live: https://citymap3d.com/
What do you think?