Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8766317
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T16:31:15+00:00 2026-06-13T16:31:15+00:00

I have question about the d3 javascript libarary. I want to use the azimuthal

  • 0

I have question about the d3 javascript libarary. I want to use the azimuthal globe and I want to insert points from longitude and lattitude coordinates on the globe and make the globe be animated without ever using the mouse events.

Do you think this is possible? Can you give me some good tips on how to do this?

Cheers
Thor

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T16:31:17+00:00Added an answer on June 13, 2026 at 4:31 pm

    To make the example rotate on its own I implemented:

    var newX = 185;
    var newY = -200;
    
    function setupRotate() {
        m0= [0,0];
        o0 = projection.origin();
      }
    
      function rotate() { 
        if (m0) {
          var m1 = [newX, newY];//d3.event.pageX, d3.event.pageY],
              o1 = [o0[0] + (m0[0] - m1[0]) / 8, o0[1] + (m1[1] - m0[1]) / 8];
          projection.origin(o1);
          //console.log(m1);
          circle.origin(o1)
          refresh();
          //console.log("rotate");
          //console.log("newX: "+newX+"  newY: "+newY);
        }
      }
    
    function rotateInterval() {
        var theRotationInterval = setInterval(rotateAndIncrement,1);
        function rotateAndIncrement(){
          //console.log("rotateAndIncrement");
          if (newX === 3)//3065) {
          {
           //console.warn("!!Reset Rotation!!");
           clearInterval(theRotationInterval);
           newX = 185;
           rotateInterval();
          }
          //console.log("newX: "+newX+"  newY: "+newY);
          else {
            newX++;
            rotate();
          }
        }
      }
    

    I’m working on adding points to the map, it’s much more complicated. If I cant get it working I’ll post back here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am making a webapp. I have a fairly basic question about javascript performance.
I have a question about Faking 3d in HTML5/Canvas/Javascript... Basically, I have a 2d
I'm currently using JavaScript (CommonJS) in Titanium Studio and have a question about prototyping.
I have been learning the Definitive Guide of JavaScript.i got a question about the
I have a general question about the design of JavaScript Libraries. I am trying
I have a question about Javascript Variable Declare. Could you please tell me what's
I have a question about Javascript widgets. The widget I am working on simply
I have a question about javascript time ranges i have two input boxes, the
I have a question about the javascript. I write a function in the javascript
i have a question about google maps markers and javascript. i have a page

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.