Thank God for Model Trains
A wooden floor. A box of track. Nowhere else you need to be.
R · QUARTER TURN
Choose a piece, then click empty space to place it. Click existing track to select or drag it.
Click empty space to build · Click / drag track to select / move · Drag empty space to orbit · Arrow keys explore · R rotates · Space runs/pauses.
More options
The current palette piece, rotation, working level, and ramp direction apply to precise placement too. Examples and clearing can be undone.
Description
A 3D toy railway sandbox inspired by the old GeoTrax playsets: chunky track, a little motorized engine, and an inviting wooden floor. Build a loop, make a branching yard, or take the railway upstairs. Your layout saves automatically in this browser.
Instructions
- Build: choose a working level and a track piece below the floor, then click empty space to place it. Click existing track on that level to select it; drag it to move it. There is no separate select/build mode. R or Rotate turns the piece through exactly 0°, 90°, 180°, and 270°. A green preview is valid; red means blocked. Compatible endpoints snap within 0.8 world units (one fifth of a full straight), with matching height and opposite directions. Small orange dots mark open ends.
- Move and edit: click a piece on the working level to select it, or drag it elsewhere. Selection actions appear only when you need them. An invalid move keeps its original position. Remove deletes the selected piece; Undo restores earlier layouts. Layout edits pause the train.
- Run: the starter train is already on the track. Use Run train and the speed slider. Place train lets you click any route, including either path through a cross. Train here places it on the selected piece. Reverse backs the engine up. Step 1 s advances it once while paused. At an open end the engine stops with room for its nose; extend the track and press Run to continue.
- Junctions: select a left/right split and use Switch to choose straight or curved departure from its common end. Arrival from either branch merges toward the common end. Crosses keep the train on its incoming straight path; they do not let it turn.
- Elevation: choose Working level: Level 1 is the floor, Level 2 is the first elevated plane, and so on. All new pieces use that level until you change it. The translucent grid shows the active elevated plane; lower track stays visible without stealing your clicks. Every raised piece creates its own supports. A ramp starts at the chosen level and rises one level; check Ramp descends to go down instead. Both lower-track/upper-support collisions and upper-track/lower-support collisions are rejected, regardless of build order. Overpasses need enough vertical clearance and clear support footprints.
- Explore: hold arrow keys to move across the floor at any time, even while a palette button or control has focus. Arrow keys are reserved for walking. Click a palette piece and press R repeatedly before placing it; the preview turns in 90° steps. Drag empty space to orbit, Shift-drag to pan, or scroll to zoom. On touch, drag empty floor to orbit; select and drag a track to move it. More options includes coordinate placement, a top view, camera fitting, and editable examples.
Piece dimensions and simulation details
One straight is the base unit
| Piece | Dimensions |
|---|---|
| Straight / half | 4 / 2 world units |
| 90° curve R1 | Radius 4; quarter circle |
| 90° curve R1.5 | Radius 6; quarter circle |
| Left/right split | Straight 4 + radius-4 branch |
| Cross | Two centered 4-unit straights |
| Ramp | Forward 8; rise/fall 3.2 |
Quarter turns have circular centerlines. The ramp uses a smooth height curve with level tangents at both ends. Its forward length is eight units; its sloping travel distance is a little longer. Raised track has supports at its ends and at intermediate spans up to one straight length apart.
Connections and clearance
The train follows a connection graph and route arc lengths, rather than jumping to nearby rail. Disconnected pieces never transfer the train. Tracks cannot simply overlap at floor level: use the dedicated cross. Clearance checks conservatively sample the track paths and support footprints; there are 1.9 world units of train clearance between overlapping paths. Supports extend to the floor and cannot pass through lower track.
Up to 140 pieces and four working levels are available within the play floor. This is a kinematic toy simulation: no derailments, coupler forces, or gravity-driven speeds. One engine runs at a time. Automatic saves contain your track layout; a reloaded engine starts paused on the first piece. Undo keeps the last 30 edits.
Visual reference: Fisher-Price GeoTrax assembly guide. This is an independent, original simulator inspired by the toy, with the piece dimensions requested here.