Show HN: Follow London Trains in 3D
82 points by mgranados 5 days ago | 29 comments
deck.gl based visualiser of the TFL Api + National Rails to be able to track (with minimal drift) a train along the way in London and to the nearest airports. If you pick one from any platform in https://nexttrain.london basically you can share your train journey along the rails. Build to test Cloudflare workers and their infra along with deck.gl performance that is incredible in my opinion.
IIAOPSW 32 minutes ago
This is frustratingly close to amazing. Obviously you went through all the trouble of pulling all the data from all the trains and displaying them in 3d, but then lock our view on to just one train or one station while all that interesting information zips around in the periphery. The view port needs to be more free form...less on rails.
replyPigo 33 minutes ago
This is a fun idea and interesting implementation. I know there's only so much an api can give you, but I'd love to see anything that gives more information or visuals of the surroundings.
replydarknavi 3 hours ago
I'd love to see a view with all/many trains. In London I was constantly wondering what the criss-cross of underground lines looked like.
replyTheOtherHobbes 3 hours ago
Interesting but quite buggy. Example: mouse dragging seems trapped in a fairly small area.
replyfredley 4 hours ago
Very nice, but the map seems to be in the wrong position vs. the trains/3d elements.
replyhokkos 3 hours ago
There seems to be some parallax issues between your trip layer and your 3D Tiles layer, but nice usage of deck.gl.
replysdoering 4 hours ago
Having just taken the Elisabeth Line to LHR T5 and sitting here, this was fun. Thanks.
replyEdit: Is there a Repo to look at and learn from this?
kentonv 4 days ago
This is really cool!
replyQuick suggestion: When not tracking a train, the mouse wheel should zoom into / out from where the cursor is pointing, rather than the center of the window.
philipwhiuk 4 hours ago
I'm curious what the 3D model source is - the Gherkin is kinda weird.
reply0l 4 hours ago
OpenStreetMap - seems to be done with concentric circles, e.g. https://www.openstreetmap.org/way/1365317072 and a dome on top
replyThere is a good wiki page on this: https://wiki.openstreetmap.org/wiki/Simple_3D_Buildings