{"action":"closed","issue":{"url":"https://api.github.com/repos/d3/d3-geo/issues/74","repository_url":"https://api.github.com/repos/d3/d3-geo","labels_url":"https://api.github.com/repos/d3/d3-geo/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/d3/d3-geo/issues/74/comments","events_url":"https://api.github.com/repos/d3/d3-geo/issues/74/events","html_url":"https://github.com/d3/d3-geo/issues/74","id":201583815,"number":74,"title":"Cannot synchronize rotations of D3 and Three","user":{"login":"dongli","id":367959,"avatar_url":"https://avatars.githubusercontent.com/u/367959?v=3","gravatar_id":"","url":"https://api.github.com/users/dongli","html_url":"https://github.com/dongli","followers_url":"https://api.github.com/users/dongli/followers","following_url":"https://api.github.com/users/dongli/following{/other_user}","gists_url":"https://api.github.com/users/dongli/gists{/gist_id}","starred_url":"https://api.github.com/users/dongli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dongli/subscriptions","organizations_url":"https://api.github.com/users/dongli/orgs","repos_url":"https://api.github.com/users/dongli/repos","events_url":"https://api.github.com/users/dongli/events{/privacy}","received_events_url":"https://api.github.com/users/dongli/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2017-01-18T14:09:42Z","updated_at":"2017-01-19T08:40:57Z","closed_at":"2017-01-19T08:40:57Z","body":"I would like to use D3.js with Three.js, where D3.js displays Natural Earth data, and Three.js renders the shaded meteorological data. The mouse interaction is needed, currently I am focusing on rotation (or drag). I use `d3.drag()` to handle drag event. AFAIK, Three.js uses quaternion for rotation, and D3.js uses Euler angles, and quaternion is better than Euler angles.\r\n\r\nI managed to set quaternion for Three.js, and successfully rotate the sphere, but the challenging part is to synchronize the two! I failed to work it out no matter what I did. Any idea?"}}
{"actor":{"display_login":"dongli"}}