Show HN: Flight-Viz – 10K flights on a 3D globe in 3.5MB of Rust+WASM

10 days ago (flight-viz.com)

I built a real-time flight tracker that renders 10,000+ aircraft on an interactive 3D globe, entirely in the browser using Rust compiled to WebAssembly.

Why is there almost no traffic in places like South America (other than Brazil) and Africa? Data set or reality? Not much in China/Russia either.

Zooming on a mouse wheel on windows is nearly unusable, it goes from whole of europe to town level in one mouse wheel notch.

  • im on a mac and had the same issue.

    other bugs: when i pan around (while zoomed far in), the planes arent in a fixed position on the map, they shift with the pan

    ux bug: when i zoom in, it zooms into the middle of the browser window instead of where my cursor is.

There's something a little off about the projection logic when you drop into the Leaflet view, you'll notice that when you pan around after zooming the planes shift their location.

Very cool demo though!

Impressive. The planes should probably scale up a bit as you zoom though, they become impossible to spot.

I'm surprised all the flights in the world can be represented in a <500KB api call

When you zoom in to the street map level, the planes are practically invisible with their color and thin borders. Pretty neat though, that's a lot to load and keep smooth.

Makes the divide between the developed and developing world very clear.

Edit: can’t be right. I think this is a dataset problem. China and Brazil should have more dots.

  • opensky database is limited. I need to find some data source for China and south America

For people having problems navigating, you can search flifht number on the left search bar. When click on the flight number, the view will jump over.

Wow. I won't give you a feature request :) just appreciation.

It really puts into perspective the magnitude of air traffic when you have this visualization.

Updated to version 1.3, now on mobile phone (iOS/Android), it should have better user experience.

Could probably extrapolate positions based on heading and speed, to do some fake "real time" positions.

When zooming in and it switches to the lighter color tiles, the icons basically become invisible.

  • the airline flight number attached to the icon is in dark color and should be visible, also could switch to satelite view when zoom in, which is dark color

wow, more than 10K airbuses just over the NA. Looks like airplanes are the major source of air pollution.

Can you add pinch zoom?

  • Currently I developed this for desktop browser, so it might not work well on mobile. But I will improve and update it.

    • You should be able to do pinch zoom support for laptops with a trackpad, too. I think it would be

      window.addEventListener('wheel', ... )

      Fantastic work!

    • Ok, I'm on desktop now. And I notice another "issue". When I use my mouse wheel to zoom, the point that my mouse cursor is on is not stationary. This makes it hard to zoom in on e.g. a specific aircraft or landmark.

      3 replies →