SWIM vICE

Record a live traffic feed in your browser, boil it down to a vice timetable, and fly the traffic that was really there. vice does not replay radar — it flies aircraft itself from flight plans — so what a recording has to become is one row per flight, plus the routes they filed.

1 Open the feed and start the recorder

  1. Open the page that shows the live traffic — for example the SWIM ERAM scope — and let it connect until you can see aircraft moving.
  2. Open the browser console: F12 (or Cmd+Option+I on a Mac), then click the Console tab.
  3. If the console asks you to type allow pasting before it will accept pasted code, type that first and press Enter.
  4. Paste the whole block below and press Enter. A small amber panel appears in the bottom-right corner counting frames.
loading…
If the counter stays at zero, the page opened its connection before the recorder was watching. Reload the page and paste again straight away — or, in DevTools, switch the Network tab to Offline for two seconds and back to Online, which makes the page reconnect through the recorder.

2 Leave it running

Keep the tab open and the screen awake. The recorder saves a numbered part file every 20 MB so a long session cannot fill up memory; your browser may ask once whether to allow multiple downloads — say yes. When you are done, press Stop on the panel (or run swimRecorder.stop()), which downloads whatever is left.

The recorder only reads. It never sends anything anywhere, and swimRecorder.stop() puts the page back exactly as it was.

3 How long to record

Record for at least as long as you intend to fly, plus about 30 minutes. A timetable contains only the flights you captured: when your recording runs out, the scope goes quiet, however long the sim keeps running.

  • 45–60 minutes — the practical minimum. Enough for one short session, with no room to choose a start time.
  • 2–3 hours — the sweet spot. Covers a full arrival or departure bank with a build-up and a taper, and lets you start the sim anywhere in the middle.
  • 6+ hours, or a whole day — a timetable you can launch at any hour, with the real overnight lull and morning push in it.

Record a busy period on purpose. An hour of a major airport is roughly 60–110 movements; an hour of a quiet field may be five, which will not feel like much once vice splits it into arrivals and departures. Note the local time you started — you will want to start the sim near it.