I wanted to simply draw and SVG of the bus route map. The timetable had the lat long of stop positions. I was using d3 so having drawn the map it almost zero effort to animate the busses. It was just a standard transition with a delay and a duration.
Looks great! If author wants some inspiration then this tokyo map is awesome: https://github.com/nagix/mini-tokyo-3d
In the Shinjuku city hall many years ago there was an animation showing how population desitiy changes in Tokyo during one day. It was absolutely mindblowing, but I have never been able to find it online.
If someone happens to know where I can find this animation I would be really grateful.
Nice! Would be more realistic (and more Mini Metro-like) if the trains actually stopped at the stations though. Also, the trains don't have to disappear and reappear at the terminal stations, they could just stay there until they are scheduled to go back - after all, that's what they do in reality as well... Any chance that the source could be made available ;) ?
The solution with fade out / fade in is pretty clever. Short layovers will cross-fade automatically, but you don’t need complicated internal information about which train continues from one run to the next. Stopping would be neat, but may also be visually messy.
It doesn't have to be complicated though, and it also doesn't need additional information. The trains could simply be "parked" at terminus stations, and when a train is scheduled to depart in the other direction, check if a train is available at the station - if yes, use it, if no, create a new one.
There is a real Berlin live map of subway, bus and railway at: https://www.vbb.de/fahrinfo/ by the operator. Seems no english version available, you have to - click upper right corner "Livekarte" - click on the menu again "Livekarte" - select means of transport: radio buttons for subway, railway etc - zoom in to see subway