Transport Operations
Rail Network
Track 54 trains across 6 UK lines at 5Hz with realistic speed profiles, station dwell times, signal aspects, and passenger loading.
Interactive Rail Network Demo
Requires WebGPU — live visual mapping with mock telemetry
Run locally: cargo run --example rail_network_operations
What this demo shows
Delay → Color Gradient
4-stop gradient from green (on-time) through yellow/orange to red (severe delay >300s).
Signal Danger Override
signal_aspect == 2 (Danger) triggers orange override at 1.5x scale for safety visibility.
Speed Trail Color
Trail color varies with speed_kmh: blue (slow) → green (normal) → red (maximum).
Out of Service Fading
status == 4 fades to grey at 30% opacity. Emergency stops override to red at 1.8x scale.
Passenger Exchange
Each station has min_dwell_s and passenger_exchange count for realistic boarding simulation.
6 Real UK Lines
East Coast, West Coast, Great Western, Elizabeth, Scottish, TransPennine with real station coordinates.
Try Rail Network with your own data
Deploy Tetrapus locally in under 5 minutes. Run this exact example with cargo run.