48 comments

[ 3.0 ms ] story [ 69.6 ms ] thread
Creator here. I posted Flight-Viz a few days ago (https://news.ycombinator.com/item?id=47603966) and the feedback was great. Since then I added a cockpit mode that follows any liveflight with real 3D terrain.

How to try it: go to flight-viz.com, click any plane, then click "Cockpit" in the action buttons. You'll get a first-person view wit h real buildings, terrain, atmosphere, and a HUD showing altitude/speed/heading — all driven by live ADS-B data.

Hao

This is so cool. But on iOS, clicking the plane flashes the mini modal/popup but the it immediately disappears. There no way, on touch, to keep it open long enough to click a cockpit view button, assuming there is one.
Can you make it so "exit cockpit" navigates to a route rather than execute a back on the browser, as it takes me back to the hacker news page when I push it.

Also took me about 5 minutes to find the cockpit view button after I'd selected a flight but that might be a me problem :)

Gorgeous! I can search flights at LAX but I don't see the smaller airports around it like SNA or LGB listed. Any chance those could be added?

Also, is there by chance a way to do historical flights?

Any chance of adding real-time sky and weather effects, using satellite imagery and weather data?
Doesn't seem to work for me. I just get star field displays no matter what I do.
It's really cool. I'm a little unsure if the website is overloaded or my browser is not rendering it properly. If I zoom in on an area and try to click on a plane in flight, sometimes I can select a plane, but sometimes I can't. Even for a plane that I was able to select a few seconds before, if I click away and try to click again, it won't select.
The FlightRadar24 app has had this feature for quite some time. I like your implementation though - it’s very easy on the eye.
Paid feature though
Love this. How do you modify the flight number?
If you click on a city's name, you can see a list of all flights arriving and departing. Some of the arriving ones will be in flight, and you can click on the flight number to view it, then "Cockpit" view to see (roughly) what the pilots are seeing.
I wish it had all the small aircraft not just commercial flights
Cromite on Android 15 stock Pixel ROM:

Error constructing CesiumWidget. Visit http://get.webgl.org to verify that your web browser and hardware support WebGL. Consider trying a different web browser or updating your video drivers. Detailed error information is below:

RuntimeError: The browser supports WebGL, but initialization failed. Error at new kL (https://cesium.com/downloads/cesiumjs/releases/1.125/Build/C...) at DEe (https://cesium.com/downloads/cesiumjs/releases/1.125/Build/C...) at new dd (https://cesium.com/downloads/cesiumjs/releases/1.125/Build/C...) at new li (https://cesium.com/downloads/cesiumjs/releases/1.125/Build/C...) at new Go (https://cesium.com/downloads/cesiumjs/releases/1.125/Build/C...) at new ji...

Commands are not that handy but from someone that has the flying in his heart since he was child I must admit that it's cool to have the cockpit view
This is so impressive, love it!

A bit of feedback: Clicking exit cockpit goes back to the previous page (in this case this HN thread).

Not sure if just me, but I really had to search hard for the actions under menu and the cockpit button.

it doesn't seem to show most flights or airports in africa
This is great, smart application of graphics and public data.
Would be nice to pair this with something like FlightRadar where you can see relevant flights in proximity to you and select them.
Interesting, I wonder if it would be possible to visualize the most dramatic parts of every flight -- takeoffs and landings.
this is interesting and how much of the rendering/logic is running in WASM vs JS?
This is cool. Now I can look out the cockpit of that plane that's been doing a pattern over my house for an hour.
* except from the plane itself because wifi is broken or too expensive.
I'd love if it could tell when a plane is ascending or descending and then add the last known rate of change to the simulation. Then you could watch a plane land.
Before browsers were up to this, I implemented something related, using Google Earth Plugin.

You could load up the flight data recorder data (which contains more parameters than ADS-B), and watch 3rd-person view animation of a 3D model of that aircraft's movements as it flies over terrain. With instruments, plus visual annotations of flight path over terrain.

One kludge I was proud/relieved to find: At the start of the flight, there's a zoom in to the aircraft on the ground, from the Earth view, and then a particular dance of the camera around the aircraft itself. The purpose wasn't to try to look cool at the time, but to make sure that the plugin would render the aircraft model at all, before we started to change the position or orientation of the model. (The plugin was overly aggressive about deciding some annotations weren't in the scene. Once this camera dance ritual forced the plane into the scene, it stayed in the scene, even as it moved and twisted, and as the camera moved with it.)

This is super cool! The cockpit view is the best feature. But I had trouble finding it again after picking a different plane. Maybe a dedicated button for that on the map?

Love it.

I never realized the earth actually looked like a Mode 7 SNES game from up there!
Will it be possible to have a “Record” feature, say for a few minutes? Would be lovely to save videos, especially the landings.