I'm building Atlas by Rail: real railway journeys turned into moving topographic maps, with music composed and synthesised in code. The first long video follows Chur to Tirano along the Albula and Bernina lines, across Switzerland and Italy: 144 km, 27 stations, just over two hours.
Here's the journey: https://www.youtube.com/watch?v=ymLb6Bpdj7s
Two places to jump in: Filisur at 31:18 and Ospizio Bernina at 1:17:26.
What the engine does:
Geography. The railway, stations, water and glaciers come from OpenStreetMap; elevation comes from Copernicus GLO-30. They're brought into a common metric coordinate system, UTM 32N. The terrain is drawn as a map: contour lines and slope-following hachures, rather than a photorealistic landscape. The hachures start along contours and follow the downhill gradient, with thickness responding to slope. The route and terrain are real data; the procedural part is how they're drawn and animated.
Movement. A luminous train marker follows distance along the railway geometry. It slows before stations, stops, and sometimes waits for an opposing train. Those events are scripted, not live railway traffic. The camera follows a smoothed path with a look-ahead, varying its view around the route. Light changes into night, when the contours glow. The scene runs in Three.js/WebGL; offline rendering advances time frame by frame and sends the frames to FFmpeg.
Music. The code builds an eleven-movement suite around D major, with modulations and six instrumental combinations. It generates harmony and themes from a seed, places cadences at station arrivals and recalls a theme fragment at train crossings. In tunnels the sound is filtered. Instruments are synthesised through SuperCollider, driven by Python/Supriya. This is a composed set of musical rules linked to the journey, rather than each elevation value simply becoming a note.
I work with AI agents on the code and production. The map animation and music use the procedural engine, not generative image, video or music models. The photographic postcards that appear along the journey are real Wikimedia Commons photographs.
The design challenge is making a long journey feel alive while keeping the map readable. How would you handle that balance: simplify the map as the camera moves, prioritise fewer labels, or constrain the camera more tightly?
Map data OpenStreetMap contributors; elevation from Copernicus. Full data and photograph credits: https://gist.github.com/magno73/5e5735083249aa99fe5407f8e03bbe8f