Bo Chen / flightsim

Personal · simulator

A32X

An Airbus A320 you fly in the browser. The A320's own flight laws, from FlyByWire's A32NX flight-control computers, fly an airframe fitted to the A320's published performance, on an ILS into Dallas/Fort Worth, drawn the way a 1980s full-flight simulator drew it.

v0.1.6 · in Chrome or Edge, nothing to install · a joystick or the keyboardThe Windows download is a portable .zip, 1.8 MB: unzip it anywhere and run A32X.exe, which opens the same simulator in a window of its own, with a systems trainer beside it. It's unsigned, so SmartScreen may warn the first time: More info → Run anyway.With a Meta Quest headset: open flightsim.bochen.xyz in the Quest's browser and press VR at the bottom right, for the flight deck in stereo. Not yet tried on a headset.Watch Jev call the flare: at flightsimjev.bochen.xyz the scripted crew flies the ILS while TypeSafe's Jev, a fast judging model, decides which of four height readings to believe, and the flare begins on it. Break a radio altimeter and see which one it trusts.

The A32X's A320 on the ILS to runway 17C at sunset, gear down, seen from behind and above, with the Dallas skyline small on the horizon and the city's lights coming on across the plain.
On the ILS to 17C at sunset. Dallas on the horizon, Reunion Tower among it. The sky is computed for the hour, and every light is a point the GPU places.

What it is

The flight runs at fifty steps a second, compiled to WebAssembly, in a worker of the page. Its flight-control computers are the A320's own design, built unmodified from FlyByWire's open-source A32NX: two ELACs, three SECs, two FACs and two FCDCs, with their normal, alternate and direct laws and their protections. They fly a JSBSim airframe fitted to fifty-seven cited A320 numbers. Nothing is installed and nothing is sent anywhere.

The view is a full-flight simulator's of the 1980s: light points, flat-shaded polygons, a horizon in haze. DFW is drawn whole, its seven runways with the FAA's markings and approach lights, then the country round it and the Dallas skyline. Without a graphics card the page draws a plainer world, so the flight keeps its fifty steps.

Flown by hand, and judged

  • From 1,000 ft to the stopEvery ILS approach is judged: localizer and glideslope within a dot, sink under 1,000 fpm, speed within Vapp −5/+10 kt, bank under 7°, gear down and flaps full.
  • Then the touchdownUnder 360 fpm and 2.6 g, the nose 0 to 10° up, 300 to 900 m past the threshold, within 5 m of the centreline, and no bounce.
  • A verdict and a recordingAt the stop the page prints the judge's verdict band by band, and the flight's moments. Ctrl+S saves the recording, and the native build replays it to the same verdict.
  • Five in a rowThe project's gate: five approaches flown by hand with a joystick, each one stable, their touchdowns within 150 m of their mean.
The pilot's eye on the approach at dusk: the runway's lights ahead under a horizon line, a green pitch ladder, the flight path symbol, the speed with the approach target under it, altitude and vertical speed, and the localizer and glideslope scales.
The pilot's eye at dusk, four miles out. The horizon and the pitch ladder lie on the view's own horizon; the target speed sits under the speed, and the beams' diamonds below and to the right.

In the browser

Plug in a joystick and press one of its buttons, or fly with the keyboard: H lists the keys. The address chooses the start, from the runway or on the approach, by day, at dusk or at night; a scripted crew can fly it while you watch.

  • JOYSTICK OR KEYBOARD
  • TEN CAMERAS
  • K · DEBRIEF
  • CTRL+S · RECORDING

K turns the world to vectors on black, as an air-combat debrief does: the flown path coloured by the gate's bands, the ILS as a tunnel, every runway's outline, and the moments tagged where they happened.

The debrief after a scripted approach: the judge's verdict line by line, STABLE, the flight's moments with their times, and the aircraft in white vectors at the end of its rollout on black.
The debrief after a stop: the verdict, the moments, and the aircraft in vectors.
The chase camera at night: the A320's navigation lights, the runway's approach and edge lights ahead, and the metroplex's street lights to the horizon.
At night, from the chase camera: the approach lights ahead, the metroplex to the horizon.

Unofficial: not affiliated with Airbus, FlyByWire Simulations or Aerowinx, and not for type training. A32X is free software under the GNU GPL, version 3. The simulator at flightsim.bochen.xyz is the 0.1.6 release, byte for byte, and its about page says where its source is.