πŸš† Interactive Train Demo -- Now Live

:train: Interactive Train Demo β€” Now Live

I’ve been working on an interactive train demo and it’s now live in my lab.

Hitesh Sahu | Train

It started as an experiment in movement, perspective, and immersion in a browser-based environment, inspired by the feel of games like Metro Exodus. Along the way, it also turned into something a bit more personal.

Hitesh Sahu | Train

A Small Design Decision

I originally wanted to let users draw their own train path. In the end, I skipped it on purpose.

The demo is something my 3-year-old toddler loves, and I wanted it to stay simple, playful, and immediately usable without instructions. Sometimes fewer controls make for a better experience, especially when the audience includes tiny train enthusiasts.

:backhand_index_pointing_right: Try it here: https://hiteshsahu.com/lab/train/

This is still an evolving experiment. Feedback is welcome, and so are ideas that keep it fun without making it complicated.

Hitesh Sahu| Babylon JS Train Demo

Exploring the Demo

You can also:

  • Change the number of train bogies

  • Adjust the train speed in real time

  • Turn On/Off Train Light

There are multiple ways to experience it: Press F or C to Enter/Exit various Camera mode or simply use dropdown from GUI Controls:

  • Free Camera to experince it from the bird eye perspective

  • Tail Camera attached to the engine for a cinematic view

  • FPS Mode where you can walk around and experience the scene at ground level

    W/↑S/↓A/←D/β†’ Walk

    SPACE jump

    Shift Run

    Train Demo by Hitesh Sahu

Try It Out

Give it a spin and let me know what you think. I’m especially curious about:

  • What feels good or confusing

  • Ideas for extending the demo

  • What you’d like to see added or improved

Thanks for checking it out!

β€”
Hitesh

10 Likes

This is super good!

Love it trying to hit all the chimney in less than one circle is tough :slight_smile: