15 comments

  • whywhywhywhy3 hours ago
    Zooming on a mouse wheel on windows is nearly unusable, it goes from whole of europe to town level in one mouse wheel notch.
    • stingrae3 hours ago
      im on a mac and had the same issue.<p>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<p>ux bug: when i zoom in, it zooms into the middle of the browser window instead of where my cursor is.
      • coolwulf2 hours ago
        I just modified zooming algo a lit, now it should improve your user experience.
      • coolwulf3 hours ago
        I will take a look to fix these bugs.
      • coolwulf2 hours ago
        also fixed the parallelex problem of route trail vs. the plane icon
    • coolwulf3 hours ago
      I am on Mac. Will try to get on a Windows box to test this
  • ge966 hours ago
    Why is there almost no traffic in places like South America (other than Brazil) and Africa? Data set or reality? Not much in China&#x2F;Russia either.
    • coolwulf6 hours ago
      The current data is from OpenSky, mainly north america and EU.
  • aduffy5 hours ago
    There&#x27;s something a little off about the projection logic when you drop into the Leaflet view, you&#x27;ll notice that when you pan around after zooming the planes shift their location.<p>Very cool demo though!
    • coolwulf1 hour ago
      This is fixed now.
    • coolwulf5 hours ago
      Need to check my calculations. Thanks for noticing it.
  • concensure2 hours ago
    Did you pay for flight api? Getting comprehensive real time flight data is quite a monetary challenge
    • coolwulf1 hour ago
      I registered on OpenSky and using their API
  • coolwulf3 hours ago
    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.
  • christophilus3 hours ago
    Makes the divide between the developed and developing world very clear.<p>Edit: can’t be right. I think this is a dataset problem. China and Brazil should have more dots.
    • coolwulf3 hours ago
      opensky database is limited. I need to find some data source for China and south America
  • maxwg6 hours ago
    Impressive. The planes should probably scale up a bit as you zoom though, they become impossible to spot.<p>I&#x27;m surprised all the flights in the world can be represented in a &lt;500KB api call
    • coolwulf3 hours ago
      try change to satellite view it will be more visible
  • ddoolin6 hours ago
    When you zoom in to the street map level, the planes are practically invisible with their color and thin borders. Pretty neat though, that&#x27;s a lot to load and keep smooth.
    • coolwulf4 hours ago
      If you switch to satelite view, the planes will be very visible.
  • paulnsorensen5 hours ago
    Wow. I won&#x27;t give you a feature request :) just appreciation.<p>It really puts into perspective the magnitude of air traffic when you have this visualization.
  • Glubker4 hours ago
    Really cool! Curious to know how you made it render everything so fast with barely any loading.<p>Good work.
    • coolwulf4 hours ago
      :P just optimize to the extreme
  • Levitating4 hours ago
    The wasm file (flight_viz_bg.wasm) was 10.94 MB as reported by firefox.
    • coolwulf3 hours ago
      I changed a higher resolution image and that is why now it is a little bigger...
  • lwansbrough6 hours ago
    Could probably extrapolate positions based on heading and speed, to do some fake &quot;real time&quot; positions.
  • pstomi8 hours ago
    It render extremely fast on my side (firefox, macOS). Which UI stack are you using? Is it egui?
    • coolwulf7 hours ago
      It&#x27;s mainly eGui + WebGPU
  • amelius6 hours ago
    Can you add pinch zoom?
    • coolwulf6 hours ago
      Currently I developed this for desktop browser, so it might not work well on mobile. But I will improve and update it.
      • pohl5 hours ago
        You should be able to do pinch zoom support for laptops with a trackpad, too. I think it would be<p>window.addEventListener(&#x27;wheel&#x27;, ... )<p>Fantastic work!
      • amelius4 hours ago
        Ok, I&#x27;m on desktop now. And I notice another &quot;issue&quot;. 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.
        • coolwulf4 hours ago
          I can take a look. The current zoom is zooming to screen center. Maybe I should change it to cursor location.
  • coolwulf9 hours ago
    [dead]