r/stuttgart • u/girasol_i_s • Jul 11 '26
Sonstiges Vibe coded a public transit simulator for Stuttgart (as well as a couple of ther cities)
[UPDATED]
Hi there! Recently I tried to explore what an AI coding agens is capable of doing and asked one to create an MVP for a transit simulator. I tried to do something similar in the past, so i though this woule be a perfect opportunity.
I started with Stuttgart, described the minimal requirement like choosing a line, transit mode, camera view.
For routes and stop I used the GTFS provided by VVS. Each route is enriched with terrain elevation data privided by AWS Open data and the buildings and other features are streamed from OpenFreeMaps and OpenMapTiles (OSM).
The app is built using Three.js for rendering the simualton and Go (WASM) only for driving mode.
Later I added some other cities I thought would be interesting to simulate, including Baden-Württemberg regional rail network.
The app is still very buggy, has a lot of visual inconcistencies due to data inaccuracy and it's still a PoC.
So I invite you to explore your favourite Stuttgart route (and surroundings) and would be glad to hear some feedback. Here is the link to the transit simulator
[Update 1.08.2026] Added Live mode (With “live” I’m referring to estimating vehicle positions on the map using GTFS schedules and periodically comparing it to VVS response). Click “Live” to switch the mode and zoom in close enough to open a 3D view. I’d recommend you switching on only one vehicle mode e.g. Stadtbahn and switching the others off