Live data from Hacker News

Rotate the world

jasondavies.com

61–70 of 74 posts

Re: Rotate the world

#62
post #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.

I found my mistake. When looking at Europe for some reason I mentally subtracted first the Scandinavia and then Russia, that's why it seemed so tiny. Looking at wiki I can see Africa is only 3 times larger than Europe, which is what I would have expected.

Re: Rotate the world

#64
post #12

Isn't this also called "Arcball rotation"? The biggest advantage over the naïve implementation is no un-intuitive "sideways" rotation after a few sequences of rotation.

trackball is what I've been using. Trackball vs turntable is a bit of a religious battle in certain 3d modelling circles.

Re: Rotate the world

#65

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…

Struggled with that too. Decided to lock rotation to λ,φ only and rotate with alt key, since it's pretty uncommon.

I should consider revisiting my project from earlier this year and implementing the described approach with versors from your example to simulate plate movement.

http://mxfh.github.io/d3canvasglobes/

(right now the mouse mapping behaves quite odd with rotated views)

Re: Rotate the world

#66
post #56

Earlier quoted context omitted.

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.

I found my mistake. When looking at Europe for some reason I mentally subtracted first the Scandinavia and then Russia, that's why it seemed so tiny. Looking at wiki I can see Africa is only 3 times larger than Europe, which is what I would have expected.

Try rotating this :) http://mxfh.github.io/d3canvasglobes/#GRL

Re: Rotate the world

#67

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…

What might be cool is allowing the globe's roll to be locked but instead of being rigid, allow the user to affect the roll yet bounce back once they release.

Re: Rotate the world

#69
I've been writing accelerometer coordinate system rotation code for the whole day. Almost melted my brain; trying to imagine 3D rotation is hard, especially when you lack the proper tools and have very little experience with it. Finally got the thing working; decided to have one last look at HN before going to bed. It was then when I saw "Rotate the world" and thought to myself: "well this better not be about Euler angles!"

Yup. Thanks pjan, you made my day brighter :)

Post reply on HN