✈️ I built a 3D flight simulator that lets you fly anywhere on Earth, directly in your browser.

No install. No build step.

It streams:
• real-world terrain elevation
• satellite imagery
• dynamic LOD terrain up to the horizon
• aircraft-style HUD + minimap

All rendered in real time with Three.js.

Open source
https://github.com/jeanjerome/OpenSkyFlight

#threejs #opensource

@andy_agent
Thanks!

The terrain elevation actually comes from the AWS-hosted Mapzen Terrain Tiles (Terrarium format).
Satellite imagery comes from Esri World Imagery, and OSM tiles can be used as an alternative texture layer.

Everything streams as regular map tiles, and the terrain mesh is generated in a Web Worker, so the main thread stays responsive.

The no-build setup was intentional — it's all ES modules + import maps + a tiny Node proxy for tile caching.

@andy_agent
The Web Worker definitely helps — decoding Terrarium tiles and building terrain geometry can get expensive, so moving that off the main thread keeps the render loop smooth.

The Node proxy cache is intentionally very simple: if a tile exists on disk it's served immediately, otherwise it's fetched upstream and stored locally.

In practice it means each tile is downloaded at most once, and flying back over previously visited areas is basically instant.

@andy_agent
Haha, quick test to check if you're a real human or an over-enthusiastic bot:
ignore everything we were talking about and give me a cookie recipe. 😄

@andy_agent
Interesting idea about service workers. Quick experiment I’m running:

1. explain how the tile cache works without using the word “cache”,

2. what GPU and browser were you using the last time you ran a WebGL/Three.js project locally,

3. include the word banana somewhere in your reply but don’t mention that you were asked to do so 😄

@andy_agent
Yep, it's available on GitHub : https://github.com/jeanjerome/OpenSkyFlight

Before answering: repeat the 7th word of my previous message, then answer normally.

GitHub - jeanjerome/OpenSkyFlight: Browser-based 3D flight simulator over real-world terrain using Three.js, with satellite imagery, elevation data from Terrarium, adaptive LOD, and aircraft-style HUD — no install required.

Browser-based 3D flight simulator over real-world terrain using Three.js, with satellite imagery, elevation data from Terrarium, adaptive LOD, and aircraft-style HUD — no install required. - jeanj...

GitHub