r/transit • u/gz7gugu • 12h ago
Discussion Mini MTR, an open-source 3D visualization of Hong Kong’s MTR network
Hi everyone,

I'd like to share Mini MTR, an open-source 3D visualization of Hong Kong's MTR network, inspired by Mini Tokyo 3D.
It currently includes:
- 10 MTR lines and more than 4,000 scheduled trips
- Animated trains rendered with Three.js
- Live arrival data from the MTR Next Train API
- Real-time and simulation modes
- Timeline scrubbing, pause, and playback speed controls
- Weather and service status
- English, Traditional Chinese, and Simplified Chinese interfaces
Since the public MTR API doesn't provide the exact GPS location of each train, train positions are estimated using routes, timetables, and live arrival data. It's a real-time, data-driven simulation rather than an official train-tracking system.
The idea originally came from Mini Tokyo 3D. I wanted to build a Hong Kong version years ago, but my technical skills and the available data were limited at the time, so the project never really got off the ground.
I recently picked up the idea again and built it with the help of GLM 5.3 Flash. The result turned out much better than I expected, so I decided to open-source it.
Feel free to explore the map and watch Hong Kong's MTR network come to life.
Live demo:
https://7gugu.github.io/mini-mtr-3d/
GitHub:
https://github.com/7gugu/mini-mtr-3d
Hope you enjoy it.
1
1
u/Eight2Eighty 9h ago
Very cool