It's super smooth on Chrome, but it's doing (say) 1 frame per second on Firefox.
On Safari the animations are smooth but mouse clicks are barely registered or only after a few seconds.
Show HN: Ubähnchen – Animated subway map of Berlin
81–90 of 112 posts
Re: Show HN: Ubähnchen – Animated subway map of Berlin
#82Re: Show HN: Ubähnchen – Animated subway map of Berlin
#83Earlier quoted context omitted.
Thanks a lot for the feedback!! The "live mode" is already developed using hafas-client[1] and VBB-API[2]. I just asked VBB to give me API access, I'll release the feature when I get it. If you are interested, VBB already made a live map[3] 1: https://github.com/public-transport/hafas-client 2: https://www.vbb.de/vbb-services/api-open-data/api/ 3: https://www.vbb.de/fahrinfo/
Author of hafas-client here! Do you know about v5.vbb.transport.rest's /radar API [1]? Because it wraps VBB's de-facto-open unofficial API [2][3], it doesn't require authentication or even signing a contract. If you have problems using it, please get in touch with me! [1] https://v5.vbb.transport.rest/api.html#get-radar [2] https://github.com/public-transport/hafas-client/tree/5.25.0... [3] https://github.com/public-…
v5.vbb.transport.rest's frames were missing something I needed, if I recall correctly. With a fork of hafas-client, I got something to work okay. I was going to release it too, but then I realised I should use another user agent than 'my-awesome-program' which only VBB can provide, I think.
Re: Show HN: Ubähnchen – Animated subway map of Berlin
#84What's the purpose of animation here? It seems to have no information about actual train position, or am I missing something?
But the trains are sort-of-actual positions based on the time in the top right hand corner and the latest estimated arrival times, but time is moving forwards at 50x speed.
Re: Show HN: Ubähnchen – Animated subway map of Berlin
#85Very nice. Given the smoothness, I first thought this was real-time:) As someone who lives in Berlin, I didn't know there was an open API for the VBB. I'll have to have a look at it. And loving the Minimetro vibes! (Running this on android 10 on a OnePlus 7pro - runs smooth in Chrome)
People waiting at a station would be sucked onto the tracks by the vortex created in the wake of a passing train. The front of the trains would probably be red hot with friction, while the passengers would be screaming until their train reached the end of the line, where it would pass out of existence, presumably into another dimension.
That is, until god slowed reality back down to 1x speed.
Re: Show HN: Ubähnchen – Animated subway map of Berlin
#86Re: Show HN: Ubähnchen – Animated subway map of Berlin
#87Re: Show HN: Ubähnchen – Animated subway map of Berlin
#88It's super smooth on Chrome, but it's doing (say) 1 frame per second on Firefox.
Same for me, even I set "layers.acceleration.force-enabled" to true. Chrome and Chromium are smooth. EDIT: Turning "High Resolution" (in the settings of the webpage on top right) off and on seems to fix the issue somehow? It's smooth now, but reloading takes it back to choppy.
Re: Show HN: Ubähnchen – Animated subway map of Berlin
#89Extremely slow for some reason in Firefox on Mac OS for me