From browser-based 3D simulations to real-world railway inspiration
Think of them as model railways that live inside your computer. No spare room needed. No budget-busting locomotive purchases. Just you, a browser, and a lovely little world of tracks and trains rendered in real-time 3D.
What I love about virtual model railways is that they're for everyone. You might be a lifelong modeller who wants to test a track plan before committing to plywood. Or maybe your five-year-old just really, really likes trains. Either way, you can be up and running — literally — in seconds.
Tiny Trainset is exactly this kind of thing: a calm, creative little space where you build and play with a digital wooden trainset right in your browser. No downloads, no installations, no fuss.
People have been trying to put trains on computers almost as long as computers have existed. Back in the 1980s, you'd get simple 2D games where you managed railway networks — more spreadsheet than spectacle, but addictive nonetheless.
The 1990s brought proper 3D. Then Microsoft dropped Train Simulator in 2001 and everything changed. Detailed 3D environments, realistic physics, and a modding community that went absolutely wild creating thousands of routes and locos. If you were into trains and PCs in the early 2000s, you probably remember it.
Then the 2010s happened and browsers got seriously powerful. WebGL let developers build rich 3D experiences right in the browser — no plugins, no downloads. Libraries like Three.js made it almost fun to work with. Suddenly, building a train sim that runs in Chrome wasn't a pipe dream.
Now we've got everything from hyper-realistic simulators for the serious enthusiasts to cosy, stylised experiences built purely for relaxation. The tech keeps getting better, the browsers keep getting faster, and the hobby keeps growing. Brilliant time to be into trains.
Modern browser-based train simulators like Tiny Trainset use a combination of web technologies to create interactive 3D scenes directly in your browser. Understanding the basics of how this works can deepen your appreciation of the experience.
WebGL (Web Graphics Library) is the technology that makes 3D graphics possible in a web browser without any plugins. It provides a low-level API for rendering 2D and 3D graphics, communicating directly with your computer's graphics hardware. Every modern browser — Chrome, Firefox, Safari, and Edge — supports WebGL.
Three.js is a popular JavaScript library that simplifies working with WebGL. Rather than writing complex shader code, developers can use Three.js to create scenes, cameras, lights, materials, and geometries with relatively straightforward code. Most browser-based train simulators, including Tiny Trainset, are built on Three.js or similar libraries.
When you see a virtual trainset in your browser, the process works roughly as follows:
Track layout design is one of the most creative and satisfying aspects of model railways, whether virtual or physical. Different layout types serve different purposes and offer different experiences.
The oval is the simplest and most classic layout. A train runs continuously around a loop, and the experience is endlessly soothing to watch. Ovals are perfect for beginners and for creating a relaxing background scene. Variations include adding sidings, passing loops, or inner tracks to create a more complex network whilst maintaining the continuous running quality.
The figure-of-eight adds a crossing point to the oval, creating a more dynamic and visually interesting route. Trains pass over themselves, which adds a sense of complexity and can be mesmerising to watch. The crossing point also introduces an element of timing and planning, as you may need to manage train spacing to avoid collisions.
A point-to-point layout represents a realistic railway operation where trains travel from one station to another and back again, rather than running in a continuous loop. This layout type encourages more active engagement, as you need to stop trains, reverse them, and manage timetables. It is closer to how real railways operate and is popular with enthusiasts who enjoy operational realism.
A branch line layout features a main line with one or more branch lines diverging from it. This allows you to run multiple trains simultaneously, switching them between routes using points (turnouts). Branch line layouts are excellent for developing operational skills and can tell a story — perhaps a country branch line connecting a rural village to a main-line junction.
In the physical model railway world, "scale" refers to the ratio between the model and the real thing. Understanding scales helps you appreciate how virtual models relate to their real-world counterparts.
In a virtual model railway, the concept of scale is more flexible. Digital layouts can be any size, and the camera can zoom in to appreciate fine detail or pull back to take in the entire scene. Virtual model railways often adopt the aesthetic of a particular scale — Tiny Trainset, for example, evokes the charming, tactile feel of a wooden trainset rather than aiming for strict scale accuracy.
Whether you are building a virtual or physical model railway, a few design principles can help you create layouts that feel authentic and engaging.
The best model railways are inspired by real locations. Study maps, photographs, and videos of real railway lines to understand how tracks, stations, and scenery relate to each other. You do not need to reproduce a real location exactly — capturing the spirit and character of a place is often more effective.
Real railways follow the contours of the land. They curve around hills, cross rivers on bridges, pass through cuttings, and emerge onto embankments. Incorporating these landscape features into your layout adds realism and visual interest. Even in a virtual trainset, varying the terrain and adding natural features makes the scene more engaging.
Sidings, goods yards, passing loops, and branch lines add operational variety to your layout. Think about what your railway does — does it carry passengers, freight, or both? Where do trains start and end their journeys? Having a purpose for each section of track makes running sessions more interesting.
One of the most common mistakes in layout design is trying to fit too much into the available space. A layout with generous curves, realistic spacing between tracks, and open scenic areas will look far more believable than one where every square centimetre is filled with track and buildings.
The United Kingdom is blessed with an extraordinary network of heritage railways — preserved lines that operate steam and vintage diesel trains for visitors. These railways are a wonderful source of inspiration for virtual model railway builders.
Visiting a heritage railway is one of the best ways to gather inspiration for your virtual layouts. Pay attention to the details — how platforms are arranged, where signals are placed, the colours of station buildings, and the way the railway sits within its landscape.
Railways have fascinated children for generations, and virtual model railways offer an ideal introduction to the hobby. Here are some ways to spark and nurture that interest.
Begin with a straightforward virtual trainset like Tiny Trainset, where children can watch trains run, adjust speeds, and experiment with different settings. The immediate visual feedback and lack of complex instructions make it accessible even for young children.
Nothing compares to the sensory experience of standing on a platform as a steam locomotive pulls in. Heritage railways often run special events for children, including "Thomas" days and driver experience courses. Many have play areas, miniature railways, and family-friendly facilities.
Model railways are a wonderful collaborative activity. Working on a layout together — whether virtual or physical — teaches planning, problem-solving, and patience. Let children make design decisions and experiment with different configurations.
Railways connect to geography (where do lines run and why?), history (the railway revolution), engineering (how do steam engines work?), and even art (painting backdrops and creating scenery). A model railway can be a gateway to learning about all sorts of subjects.
Many people discover model railways through virtual simulators and then want to try the real thing. Here is how to get started with a physical model railway without breaking the bank.
For most beginners in the UK, OO gauge (1:76) is the best choice. It offers the widest range of models, the most extensive support network, and a good balance between detail and space requirements. If space is very limited, consider N gauge (1:148).
Boxed train sets from Hornby or Bachmann provide everything you need to get started: a locomotive, rolling stock, a controller, and a circle or oval of track. They are an affordable way to experience the hobby before committing to a larger layout.
A flat door or a sheet of plywood on trestles makes an excellent first baseboard. Start with a simple oval of track and gradually add sidings, scenery, and additional track as your confidence and skills grow.
Model railway clubs exist throughout the United Kingdom and are enormously welcoming to newcomers. Club members can offer advice, share tools and materials, and provide inspiration through their own layouts. Many clubs exhibit at model railway exhibitions, which are another excellent way to see what the hobby has to offer.
Model railways can be as expensive or as affordable as you choose. Second-hand models are widely available through online marketplaces, model railway shows, and specialist dealers. Building scenery from household materials (cardboard, plaster, paint) is a rewarding and cost-effective approach that many experienced modellers prefer.