Live data from Hacker News

Rotate the world

jasondavies.com

51–60 of 74 posts

Re: Rotate the world

#52

Firefox you're breaking my heart. This performs terribly in FF, fine in Chrome.

Just for kicks I tried it out on chrome on my Nexus 4. It renders great, but the movements are jerky. There are some conflicts between zoom on the page and zoom on the globe.

I'm impressed it worked at all on mobile.

Re: Rotate the world

#54

This is just my personal preference, but I believe the naive implementation is miles ahead of the improved ones. The improved version needs at least two movements to go to the other side of the world, doesn't follow the rotation if the cursor is too fast and worse than all, performs a gamma rotation for each non-equatorial point of the sphere. Since we have two degrees of freedom on the screen, I expect to use them t…

Thanks for the feedback! I agree it’s not the most intuitive approach for all situations, particularly when you’re used to a North-South orientation for maps. The rolling is perhaps made more obvious with my use of a graticule. For this reason, I’d be interested in optionally restricting to two degrees of freedom when dragging on the globe, and the third angle could be modified when dragging outside the globe only. S…

I haven't tried this on a computer yet, just on the iPhone. So I can't address the above comments. But using touch, I think you have created the most intuitive 3-angle rotation I've used yet. The responsiveness is great, and the path follows my finger as I would expect it to (from a purely physical, action-reaction point of view). The mechanics of roll using a mouse are non-obvious to most people, and to have that interface issue addressed by this touch solution is an accomplishment. Maybe that's the real story here?

Re: Rotate the world

#55
As an experiment I used this D3 geo stuff to visualize my last year or so across the globe:

http://dalyons.github.io/where-is-dave/index.html?use_cached...

Works much better on chrome than FF unfortunately.

I thought it turned out pretty cool, as a practical example of what you can use this stuff for. It was super fun to build, D3 is pretty awesome.

You can also load your own photos from FB if you want to see your own track, its just static html/js, i dont store anything anywhere.

Re: Rotate the world

#56

Are the scale of continents right? Because Australia looks almost bigger than Europe, and Africa looks many times bigger than Europe.

The true size of Africa: http://flowingdata.com/2010/10/18/true-size-of-africa/

The historian Marshall Hodgson referred to the Mercator projection as the "Jim Crow projection." This is why.

Re: Rotate the world

#57
post #40

Earlier quoted context omitted.

Firefox on Mac is fine (well, more or less; I just filed https://bugzilla.mozilla.org/show_bug.cgi?id=936472 on the slight lag I see there), which suggests the actual issue is cairo's path drawing code, which is not used by Firefox on Mac, but is used on Windows and Linux.

Definitely laggier on FF on Mac than Chrome.

Right, but not 1s+ lag like people are seeing on Windows/Linux.

Re: Rotate the world

#58
India is distorted - Kashmir and all. You better be careful about the borders that are under dispute. I took into consideration that it's a low-res border, even then it's way off.

I dont know if the details of map itself are important or not, because I understand it's an exhibition of the interface itself. Just my opinion.

Re: Rotate the world

#59

This is just my personal preference, but I believe the naive implementation is miles ahead of the improved ones. The improved version needs at least two movements to go to the other side of the world, doesn't follow the rotation if the cursor is too fast and worse than all, performs a gamma rotation for each non-equatorial point of the sphere. Since we have two degrees of freedom on the screen, I expect to use them t…

Thanks for the feedback! I agree it’s not the most intuitive approach for all situations, particularly when you’re used to a North-South orientation for maps. The rolling is perhaps made more obvious with my use of a graticule. For this reason, I’d be interested in optionally restricting to two degrees of freedom when dragging on the globe, and the third angle could be modified when dragging outside the globe only. S…

I don't like Google Earth's approach too much either, I always have to correct back the roll..

I can understand it when you reach the zoom level of a city, at that point you correlate the data on the map with actual visual memories at the street level, where Up does not correspond to North anymore, but instead is related to Forward. Maybe an exponential transition between the two systems as you zoom in?

Interestingly, on a phone it is also trickier because there is not "grab" equivalent and the y axis also makes the page scroll.

Sorry, I don't want to sound overly critic :)

Re: Rotate the world

#60

This is just my personal preference, but I believe the naive implementation is miles ahead of the improved ones. The improved version needs at least two movements to go to the other side of the world, doesn't follow the rotation if the cursor is too fast and worse than all, performs a gamma rotation for each non-equatorial point of the sphere. Since we have two degrees of freedom on the screen, I expect to use them t…

Agreed. You could slightly improve the naive implementation by restricting the north-south rotation so you can't go beyond either pole, so north always stays up. It's not just for the Earth either, I'm now working on a 3D object editor and decided on the naive implementation there as well, because when you're sculpting a chair, it's annoying if up doesn't stay up.

Please do, when I used some 3D editors with that behaviour I was going crazy.. Then I had to remember to restrict the rotation using a modifier or a button.

I don't know where I've seen this, but I think dragging an arc drawn outside the object to adjust the roll is the best solution to the problem.

Post reply on HN