Show HN: Follow London Trains in 3D

(ride.nexttrain.london)

52 points | by mgranados 4 days ago

13 comments

  • TheOtherHobbes 1 hour ago
    Interesting but quite buggy. Example: mouse dragging seems trapped in a fairly small area.
    • mgranados 34 minutes ago
      Ah yeah i tried anchoring to the train with a threshold for panning around i'll try smoothing it. thanks for trying it!
  • hokkos 1 hour ago
    There seems to be some parallax issues between your trip layer and your 3D Tiles layer, but nice usage of deck.gl.
    • taylorius 13 minutes ago
      Is it not that certain train lines are somewhat deep underground? The Piccadilly line swims with respect to the ground in the centre of town, when it is below ground. Further out where lines are at the surface the routes stick to the ground correctly.
    • mgranados 31 minutes ago
      thank you! i'll have a look
  • darknavi 1 hour 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.
    • mgranados 29 minutes ago
      I saw a project like that here in hn recently for all uk trains even. it'd be pretty cool to extend this to support that, busy stations might be visually confusing, thanks for suggestions
  • dmazin 1 hour ago
    It would appear you are missing the High Barnet branch of the Northern line.
    • uukelele 50 minutes ago
      And the Reading branch of the Elizabeth line
      • mgranados 29 minutes ago
        thanks for feedback i'll have a look!
  • fredley 2 hours ago
    Very nice, but the map seems to be in the wrong position vs. the trains/3d elements.
  • sdoering 1 hour ago
    Having just taken the Elisabeth Line to LHR T5 and sitting here, this was fun. Thanks.

    Edit: Is there a Repo to look at and learn from this?

    • mgranados 25 minutes ago
      <3 thanks!! i'll clean it and share here sometime soon
  • ohjeez 1 hour ago
    This is incredibly cool. I had it open on my desktop for most of the day.
  • kentonv 3 days ago
    This is really cool!

    Quick 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.

    • mgranados 22 minutes ago
      thanks! that's a great suggestion will implement
  • Leewen 34 minutes ago
    model rough but amazing. i cant do this
  • Falimonda 1 hour ago
    How do I drive the train? Arrow keys not working :(
    • mgranados 23 minutes ago
      It's just following api data for now. That'd be a real cool feature for backlog!
  • jrrv 2 hours ago
    The planes were a surprise
  • philipwhiuk 2 hours ago
    I'm curious what the 3D model source is - the Gherkin is kinda weird.
  • gowld 1 hour ago
    The train paths are drawn on a 2D layer above the buildings, not at z-index that matches the proper 3-D position. So the paths appear to weave around and over the tops of buildings.
    • mgranados 18 minutes ago
      I meant to make it feel like the tube ones felt "underground" by some metres i'll have a look thanks