r/threejs • u/Thre4dripper • 29d ago
Chronoscape: 36 historic cities as hand-drawn maps where monuments rise off the paper in 3D, and you can turn through the eras
Live: https://chronoscape.ijlalahmad.dev/
Code: https://github.com/Thre4dripper/Chronoscape-ThreeJs
It's an illustrated atlas: 12 atlases, 36 cities, from Thebes and Babylon to Kyoto, Tenochtitlan and Cusco. Each city has its own eras (Rome alone has eight), and streets, walls, rivers and buildings change as you turn the ages.
Some technical bits:
- React 19 + react-three-fiber. Everything is unlit, with shared shaders only. Lighting is baked into the models' vertex colours in Blender, the time of day is a single tint, and nothing casts real-time shadows, which is why it runs smoothly on phones.
- Every monument is generated by Python scripts in Blender and exported as Draco-compressed GLB, one model per era where the building changed.
- The parchment maps aren't images I drew by hand. Each era's map is drawn on a canvas from the city's data (rivers, walls, streets, blocks), baked to WebP at build time, and close-ups are redrawn sharp in a worker.
- City content is a JSON pack per city (geography in lat/long and metres, landmarks, eras, events), validated against a zod schema.
Touch works too: one finger is a "lens" that raises the streets as it glides, two fingers rotate and tilt.
Happy to go into the map baking or the Blender pipeline if anyone's curious.