Simulate and visualise the UK national railway timetable from 2012.
This code is absolute dogshit. It's testament to my skills when five years before I started working as a software engineer. But I came across it recently and was impressed it still works.
This app is a Processing sketch. To run it, you will need to:
- clone this repo locally
- unzip TTIS.zip. You should have four files in a directory called "TTIS". Sorry for this, but uncompressed they're too big for github.
- download and install the Processing environment
- File > Open and select your local copy of the repo, from inside Processing
- Press Run
The app features homemade UI widgets and force-directed labels.
Drag the mouse to pan. Moving the mouse shows the names of stations. Clickable controls appear when the mouse is at the bottom of the window.
Keyboard shortcuts:
+(or=) and-to zoom in and out[and]to speed and slow timebto pause and unpause timeqto invert colorszto toggle the control panelxto export the current configuration to a filecto take a screenshotvto toggle exporting movie frames- Space bar to reset all settings