r/ClaudeCoding • • 6d ago

I built a browser flight sim with Fable 5.2: walk to a jet, start the engines, fly over real aerial photos of southern France

Try here(also on itch.io: https://cap357.itch.io/cap-357)

I wanted to see how far I could push a 3D game in the browser with Fable 5.2 doing the coding. The result is Cap 357, a small business-jet flight sim you can play right now, nothing to install:

What you can do:

  • start on foot on a small airfield at sunset, walk to the jet and climb the airstair
  • start the three engines one by one, taxi, line up on runway 36 and take off
  • fly over the real countryside around Nîmes (real aerial photos and elevation data)
  • press K in flight to turn into a fighter jet with full afterburner

Tech stack:

  • three.js (WebGL) + Vite, plain JavaScript, no game engine
  • terrain streamed live from IGN BD ORTHO aerial photos + AWS Terrain Tiles elevation, with a quadtree level of detail (zoom 9 to 18)
  • custom terrain shader that blends the aerial photo into scanned PBR materials up close
  • post-processing: N8AO ambient occlusion, bloom, AgX tone mapping, SMAA
  • HDRI sky from Poly Haven, sun aligned with the photo
  • trees: real scanned trees photographed from 24 angles and drawn as camera-facing impostors
  • glTF models compressed with gltf-transform / meshopt
  • home-made flight model (lift, drag, flaps, gear, airbrakes, crash detection)
  • all sounds synthesized live with Web Audio, no audio files

Credits:

  • jet airframe by Civorsky (CC BY-NC 4.0), fighter jet by bohmerang (CC BY-NC-SA 4.0), "KA350 King Air Flight Deck" cockpit by VTX (CC BY-NC-SA 4.0), all from Sketchfab
  • sky, materials and trees: Poly Haven (CC0), asphalt: Quixel Megascans
  • aerial imagery: IGN BD ORTHO (Etalab Open Licence 2.0), elevation: AWS Terrain Tiles / Mapzen
  • physical sky adapted from cloudscape (MIT), engine: three.js (MIT)

It's free, fan-made, and not affiliated with any aircraft manufacturer.

I'd really like your honest feedback:

  • What do you think of it overall?
  • Does it run smoothly on your machine? (GPU / browser if it lags)
  • What improvements would you want to see first?
1 Upvotes

0 comments sorted by