Live data from Hacker News

Airline flights of the world visualized with WebGL

callumprentice.github.io

61–70 of 79 posts

Re: Airline flights of the world visualized with WebGL

#62
This is beautiful! Great job!

I have a minor complaint. When I zoom in, the rate at which the globe is rotated does not seem to scale down adequately -- a few pixels, and what I was trying to zoom in on (e.g., Hawaii) zips off the screen. It feels like my mouse dragging is setting a wheel spinning, and it doesn't stop when I let go.

Re: Airline flights of the world visualized with WebGL

#63

What does the speed setting do? Over what time frame is this showing?

The travel time between any 2 airports is random and increasing the speed value just makes that random value smaller in general. I liked the way it looked at fast and slow speeds so I figured it was worth adding an option.

Re: Airline flights of the world visualized with WebGL

#64
post #62

This is beautiful! Great job! I have a minor complaint. When I zoom in, the rate at which the globe is rotated does not seem to scale down adequately -- a few pixels, and what I was trying to zoom in on (e.g., Hawaii) zips off the screen. It feels like my mouse dragging is setting a wheel spinning, and it doesn't stop when I let go.

Thanks for the feedback - that's a good point. The sensitivity should reduce the closer you are. I'll add it to the list.

Re: Airline flights of the world visualized with WebGL

#66

Incredible! I could leave this open and stare at it, if it didn't make my laptop scream like a banshee. My office deals with primarily with airlines, and everyone found this really cool.

Put it on a TV screen somewhere with a cheap computer running it, I bet people would love that.

Re: Airline flights of the world visualized with WebGL

#70
post #62

This is beautiful! Great job! I have a minor complaint. When I zoom in, the rate at which the globe is rotated does not seem to scale down adequately -- a few pixels, and what I was trying to zoom in on (e.g., Hawaii) zips off the screen. It feels like my mouse dragging is setting a wheel spinning, and it doesn't stop when I let go.

Thanks for the feedback - that's a good point. The sensitivity should reduce the closer you are. I'll add it to the list.

More specifically when the user clicks on a specific point on the planet and moves the mouse cursor you want that point to still be under the cursor when the mouse button is released. You can extend this construct outside the central sphere into a camera control that works across the screen and feels very intuitive at any zoom level.

Google "sgi trackball" for some interesting code to point the way.

Post reply on HN