Rotate circle around another rotating circle












0














I have a circle in svg rotating around a given point. I added another circle. I want to rotate the second circle around the first rotating circle. How can I achieve this? Until now I am able to rotate the first circle around a point. And the second circle is rotating but not around the first rotating one. I am sharing my code :



firstCircle= document.createElementNS(namespace, "circle");
firstCircle.setAttributeNS(null, "id", "firstCircle");
firstCircle.setAttributeNS(null, "cx", 700);
firstCircle.setAttributeNS(null, "cy", 400);
firstCircle.setAttributeNS(null, "r", 30);
firstCircle.setAttributeNS(null, "fill", "#0077BE");
svg.appendChild(firstCircle);

firstCircleAnimate = document.createElementNS(namespace, "animateTransform");
firstCircleAnimate.setAttributeNS(null, "attributeName", "transform");
firstCircleAnimate.setAttributeNS(null, "type", "rotate");
firstCircleAnimate.setAttributeNS(null, "from", "0 400 400");
firstCircleAnimate.setAttributeNS(null, "to", "360 400 400");
firstCircleAnimate.setAttributeNS(null, "begin", "0s");
firstCircleAnimate.setAttributeNS(null, "dur", "5s");
firstCircleAnimate.setAttributeNS(null, "repeatCount", "indefinite");
firstCircle.appendChild(firstCircleAnimate);

secondCircle= document.createElementNS(namespace, "circle");
secondCircle.setAttributeNS(null, "id", "secondCircle");
secondCircle.setAttributeNS(null, "cx", 760);
secondCircle.setAttributeNS(null, "cy", 400);
secondCircle.setAttributeNS(null, "r", 10);
secondCircle.setAttributeNS(null, "fill", "#D0D5D2");
svg.appendChild(secondCircle);

secondCircleAnimate = document.createElementNS(namespace, "animateTransform");
secondCircleAnimate.setAttributeNS(null, "attributeName", "transform");
secondCircleAnimate.setAttributeNS(null, "type", "rotate");
secondCircleAnimate.setAttributeNS(null, "from", "0 " + firstCircle.getAttributeNS(null, "cx") + " " + firstCircle.getAttributeNS(null, "cy"));
secondCircleAnimate.setAttributeNS(null, "to", "360 " + firstCircle.getAttributeNS(null, "cx") + " " + firstCircle.getAttributeNS(null, "cy"));
secondCircleAnimate.setAttributeNS(null, "begin", "0s");
secondCircleAnimate.setAttributeNS(null, "dur", "2s");
secondCircleAnimate.setAttributeNS(null, "repeatCount", "indefinite");
secondCircle.appendChild(secondCircleAnimate );


Here, I set secondCircleAnimate's from and to property to firstCircle's center coordinates, but the first circle itself is rotating and in DOM, the center of first circle is not seems to be changed throughout the rotation. So how can I rotate the second circle around the rotating first circle?



Thanks in advance.










share|improve this question



























    0














    I have a circle in svg rotating around a given point. I added another circle. I want to rotate the second circle around the first rotating circle. How can I achieve this? Until now I am able to rotate the first circle around a point. And the second circle is rotating but not around the first rotating one. I am sharing my code :



    firstCircle= document.createElementNS(namespace, "circle");
    firstCircle.setAttributeNS(null, "id", "firstCircle");
    firstCircle.setAttributeNS(null, "cx", 700);
    firstCircle.setAttributeNS(null, "cy", 400);
    firstCircle.setAttributeNS(null, "r", 30);
    firstCircle.setAttributeNS(null, "fill", "#0077BE");
    svg.appendChild(firstCircle);

    firstCircleAnimate = document.createElementNS(namespace, "animateTransform");
    firstCircleAnimate.setAttributeNS(null, "attributeName", "transform");
    firstCircleAnimate.setAttributeNS(null, "type", "rotate");
    firstCircleAnimate.setAttributeNS(null, "from", "0 400 400");
    firstCircleAnimate.setAttributeNS(null, "to", "360 400 400");
    firstCircleAnimate.setAttributeNS(null, "begin", "0s");
    firstCircleAnimate.setAttributeNS(null, "dur", "5s");
    firstCircleAnimate.setAttributeNS(null, "repeatCount", "indefinite");
    firstCircle.appendChild(firstCircleAnimate);

    secondCircle= document.createElementNS(namespace, "circle");
    secondCircle.setAttributeNS(null, "id", "secondCircle");
    secondCircle.setAttributeNS(null, "cx", 760);
    secondCircle.setAttributeNS(null, "cy", 400);
    secondCircle.setAttributeNS(null, "r", 10);
    secondCircle.setAttributeNS(null, "fill", "#D0D5D2");
    svg.appendChild(secondCircle);

    secondCircleAnimate = document.createElementNS(namespace, "animateTransform");
    secondCircleAnimate.setAttributeNS(null, "attributeName", "transform");
    secondCircleAnimate.setAttributeNS(null, "type", "rotate");
    secondCircleAnimate.setAttributeNS(null, "from", "0 " + firstCircle.getAttributeNS(null, "cx") + " " + firstCircle.getAttributeNS(null, "cy"));
    secondCircleAnimate.setAttributeNS(null, "to", "360 " + firstCircle.getAttributeNS(null, "cx") + " " + firstCircle.getAttributeNS(null, "cy"));
    secondCircleAnimate.setAttributeNS(null, "begin", "0s");
    secondCircleAnimate.setAttributeNS(null, "dur", "2s");
    secondCircleAnimate.setAttributeNS(null, "repeatCount", "indefinite");
    secondCircle.appendChild(secondCircleAnimate );


    Here, I set secondCircleAnimate's from and to property to firstCircle's center coordinates, but the first circle itself is rotating and in DOM, the center of first circle is not seems to be changed throughout the rotation. So how can I rotate the second circle around the rotating first circle?



    Thanks in advance.










    share|improve this question

























      0












      0








      0







      I have a circle in svg rotating around a given point. I added another circle. I want to rotate the second circle around the first rotating circle. How can I achieve this? Until now I am able to rotate the first circle around a point. And the second circle is rotating but not around the first rotating one. I am sharing my code :



      firstCircle= document.createElementNS(namespace, "circle");
      firstCircle.setAttributeNS(null, "id", "firstCircle");
      firstCircle.setAttributeNS(null, "cx", 700);
      firstCircle.setAttributeNS(null, "cy", 400);
      firstCircle.setAttributeNS(null, "r", 30);
      firstCircle.setAttributeNS(null, "fill", "#0077BE");
      svg.appendChild(firstCircle);

      firstCircleAnimate = document.createElementNS(namespace, "animateTransform");
      firstCircleAnimate.setAttributeNS(null, "attributeName", "transform");
      firstCircleAnimate.setAttributeNS(null, "type", "rotate");
      firstCircleAnimate.setAttributeNS(null, "from", "0 400 400");
      firstCircleAnimate.setAttributeNS(null, "to", "360 400 400");
      firstCircleAnimate.setAttributeNS(null, "begin", "0s");
      firstCircleAnimate.setAttributeNS(null, "dur", "5s");
      firstCircleAnimate.setAttributeNS(null, "repeatCount", "indefinite");
      firstCircle.appendChild(firstCircleAnimate);

      secondCircle= document.createElementNS(namespace, "circle");
      secondCircle.setAttributeNS(null, "id", "secondCircle");
      secondCircle.setAttributeNS(null, "cx", 760);
      secondCircle.setAttributeNS(null, "cy", 400);
      secondCircle.setAttributeNS(null, "r", 10);
      secondCircle.setAttributeNS(null, "fill", "#D0D5D2");
      svg.appendChild(secondCircle);

      secondCircleAnimate = document.createElementNS(namespace, "animateTransform");
      secondCircleAnimate.setAttributeNS(null, "attributeName", "transform");
      secondCircleAnimate.setAttributeNS(null, "type", "rotate");
      secondCircleAnimate.setAttributeNS(null, "from", "0 " + firstCircle.getAttributeNS(null, "cx") + " " + firstCircle.getAttributeNS(null, "cy"));
      secondCircleAnimate.setAttributeNS(null, "to", "360 " + firstCircle.getAttributeNS(null, "cx") + " " + firstCircle.getAttributeNS(null, "cy"));
      secondCircleAnimate.setAttributeNS(null, "begin", "0s");
      secondCircleAnimate.setAttributeNS(null, "dur", "2s");
      secondCircleAnimate.setAttributeNS(null, "repeatCount", "indefinite");
      secondCircle.appendChild(secondCircleAnimate );


      Here, I set secondCircleAnimate's from and to property to firstCircle's center coordinates, but the first circle itself is rotating and in DOM, the center of first circle is not seems to be changed throughout the rotation. So how can I rotate the second circle around the rotating first circle?



      Thanks in advance.










      share|improve this question













      I have a circle in svg rotating around a given point. I added another circle. I want to rotate the second circle around the first rotating circle. How can I achieve this? Until now I am able to rotate the first circle around a point. And the second circle is rotating but not around the first rotating one. I am sharing my code :



      firstCircle= document.createElementNS(namespace, "circle");
      firstCircle.setAttributeNS(null, "id", "firstCircle");
      firstCircle.setAttributeNS(null, "cx", 700);
      firstCircle.setAttributeNS(null, "cy", 400);
      firstCircle.setAttributeNS(null, "r", 30);
      firstCircle.setAttributeNS(null, "fill", "#0077BE");
      svg.appendChild(firstCircle);

      firstCircleAnimate = document.createElementNS(namespace, "animateTransform");
      firstCircleAnimate.setAttributeNS(null, "attributeName", "transform");
      firstCircleAnimate.setAttributeNS(null, "type", "rotate");
      firstCircleAnimate.setAttributeNS(null, "from", "0 400 400");
      firstCircleAnimate.setAttributeNS(null, "to", "360 400 400");
      firstCircleAnimate.setAttributeNS(null, "begin", "0s");
      firstCircleAnimate.setAttributeNS(null, "dur", "5s");
      firstCircleAnimate.setAttributeNS(null, "repeatCount", "indefinite");
      firstCircle.appendChild(firstCircleAnimate);

      secondCircle= document.createElementNS(namespace, "circle");
      secondCircle.setAttributeNS(null, "id", "secondCircle");
      secondCircle.setAttributeNS(null, "cx", 760);
      secondCircle.setAttributeNS(null, "cy", 400);
      secondCircle.setAttributeNS(null, "r", 10);
      secondCircle.setAttributeNS(null, "fill", "#D0D5D2");
      svg.appendChild(secondCircle);

      secondCircleAnimate = document.createElementNS(namespace, "animateTransform");
      secondCircleAnimate.setAttributeNS(null, "attributeName", "transform");
      secondCircleAnimate.setAttributeNS(null, "type", "rotate");
      secondCircleAnimate.setAttributeNS(null, "from", "0 " + firstCircle.getAttributeNS(null, "cx") + " " + firstCircle.getAttributeNS(null, "cy"));
      secondCircleAnimate.setAttributeNS(null, "to", "360 " + firstCircle.getAttributeNS(null, "cx") + " " + firstCircle.getAttributeNS(null, "cy"));
      secondCircleAnimate.setAttributeNS(null, "begin", "0s");
      secondCircleAnimate.setAttributeNS(null, "dur", "2s");
      secondCircleAnimate.setAttributeNS(null, "repeatCount", "indefinite");
      secondCircle.appendChild(secondCircleAnimate );


      Here, I set secondCircleAnimate's from and to property to firstCircle's center coordinates, but the first circle itself is rotating and in DOM, the center of first circle is not seems to be changed throughout the rotation. So how can I rotate the second circle around the rotating first circle?



      Thanks in advance.







      javascript svg rotation svg-animate






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 23 '18 at 10:27









      Suhas Bhattu

      1418




      1418
























          2 Answers
          2






          active

          oldest

          votes


















          1














          Finally got a solution. I have added a <g> tag around a second circle. I added the same animateTransform for the <g> and make it rotate around the central point and inside the <g>, for the second circle, I make the second circle rotate around the first one.



          Just the important thing is the time of duration of first circle and time of duration of second circle should be equal (just to make their rotation in sync).



          Added code is :



          group= document.createElementNS(namespace, "g");
          group.setAttributeNS(null, "id", "group");
          svg.appendChild(group);

          groupAnimate= document.createElementNS(namespace, "animateTransform");
          groupAnimate.setAttributeNS(null, "attributeName", "transform");
          groupAnimate.setAttributeNS(null, "type", "rotate");
          groupAnimate.setAttributeNS(null, "from", "0 400 400");
          groupAnimate.setAttributeNS(null, "to", "360 400 400");
          groupAnimate.setAttributeNS(null, "begin", "0s");
          groupAnimate.setAttributeNS(null, "dur", "5s");
          groupAnimate.setAttributeNS(null, "repeatCount", "indefinite");
          group.appendChild(groupAnimate);





          share|improve this answer





























            0














            I suspect that this part of your code isn't update dynamically:



            secondCircleAnimate.setAttributeNS(null, "from", "0 " + firstCircle.getAttributeNS(null, "cx") + " " + firstCircle.getAttributeNS(null, "cy"));
            secondCircleAnimate.setAttributeNS(null, "to", "360 " + firstCircle.getAttributeNS(null, "cx") + " " + firstCircle.getAttributeNS(null, "cy"));


            I think parameters from and to get their static values after the strings concatenation, and afterwards don't have their values updated.



            Two possible solutions:




            1. with JS: write function which will calculate current position of
              the firstCircle.

            2. with CSS only: do two containers for two circles, one nest another, so first container rotates around given point, and the second around its parent element (first container);






            share|improve this answer























            • thanks for reply, I tried your second possible solution using JS approach and it worked. Thanks.
              – Suhas Bhattu
              Nov 26 '18 at 4:52











            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53444921%2frotate-circle-around-another-rotating-circle%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            Finally got a solution. I have added a <g> tag around a second circle. I added the same animateTransform for the <g> and make it rotate around the central point and inside the <g>, for the second circle, I make the second circle rotate around the first one.



            Just the important thing is the time of duration of first circle and time of duration of second circle should be equal (just to make their rotation in sync).



            Added code is :



            group= document.createElementNS(namespace, "g");
            group.setAttributeNS(null, "id", "group");
            svg.appendChild(group);

            groupAnimate= document.createElementNS(namespace, "animateTransform");
            groupAnimate.setAttributeNS(null, "attributeName", "transform");
            groupAnimate.setAttributeNS(null, "type", "rotate");
            groupAnimate.setAttributeNS(null, "from", "0 400 400");
            groupAnimate.setAttributeNS(null, "to", "360 400 400");
            groupAnimate.setAttributeNS(null, "begin", "0s");
            groupAnimate.setAttributeNS(null, "dur", "5s");
            groupAnimate.setAttributeNS(null, "repeatCount", "indefinite");
            group.appendChild(groupAnimate);





            share|improve this answer


























              1














              Finally got a solution. I have added a <g> tag around a second circle. I added the same animateTransform for the <g> and make it rotate around the central point and inside the <g>, for the second circle, I make the second circle rotate around the first one.



              Just the important thing is the time of duration of first circle and time of duration of second circle should be equal (just to make their rotation in sync).



              Added code is :



              group= document.createElementNS(namespace, "g");
              group.setAttributeNS(null, "id", "group");
              svg.appendChild(group);

              groupAnimate= document.createElementNS(namespace, "animateTransform");
              groupAnimate.setAttributeNS(null, "attributeName", "transform");
              groupAnimate.setAttributeNS(null, "type", "rotate");
              groupAnimate.setAttributeNS(null, "from", "0 400 400");
              groupAnimate.setAttributeNS(null, "to", "360 400 400");
              groupAnimate.setAttributeNS(null, "begin", "0s");
              groupAnimate.setAttributeNS(null, "dur", "5s");
              groupAnimate.setAttributeNS(null, "repeatCount", "indefinite");
              group.appendChild(groupAnimate);





              share|improve this answer
























                1












                1








                1






                Finally got a solution. I have added a <g> tag around a second circle. I added the same animateTransform for the <g> and make it rotate around the central point and inside the <g>, for the second circle, I make the second circle rotate around the first one.



                Just the important thing is the time of duration of first circle and time of duration of second circle should be equal (just to make their rotation in sync).



                Added code is :



                group= document.createElementNS(namespace, "g");
                group.setAttributeNS(null, "id", "group");
                svg.appendChild(group);

                groupAnimate= document.createElementNS(namespace, "animateTransform");
                groupAnimate.setAttributeNS(null, "attributeName", "transform");
                groupAnimate.setAttributeNS(null, "type", "rotate");
                groupAnimate.setAttributeNS(null, "from", "0 400 400");
                groupAnimate.setAttributeNS(null, "to", "360 400 400");
                groupAnimate.setAttributeNS(null, "begin", "0s");
                groupAnimate.setAttributeNS(null, "dur", "5s");
                groupAnimate.setAttributeNS(null, "repeatCount", "indefinite");
                group.appendChild(groupAnimate);





                share|improve this answer












                Finally got a solution. I have added a <g> tag around a second circle. I added the same animateTransform for the <g> and make it rotate around the central point and inside the <g>, for the second circle, I make the second circle rotate around the first one.



                Just the important thing is the time of duration of first circle and time of duration of second circle should be equal (just to make their rotation in sync).



                Added code is :



                group= document.createElementNS(namespace, "g");
                group.setAttributeNS(null, "id", "group");
                svg.appendChild(group);

                groupAnimate= document.createElementNS(namespace, "animateTransform");
                groupAnimate.setAttributeNS(null, "attributeName", "transform");
                groupAnimate.setAttributeNS(null, "type", "rotate");
                groupAnimate.setAttributeNS(null, "from", "0 400 400");
                groupAnimate.setAttributeNS(null, "to", "360 400 400");
                groupAnimate.setAttributeNS(null, "begin", "0s");
                groupAnimate.setAttributeNS(null, "dur", "5s");
                groupAnimate.setAttributeNS(null, "repeatCount", "indefinite");
                group.appendChild(groupAnimate);






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 26 '18 at 4:50









                Suhas Bhattu

                1418




                1418

























                    0














                    I suspect that this part of your code isn't update dynamically:



                    secondCircleAnimate.setAttributeNS(null, "from", "0 " + firstCircle.getAttributeNS(null, "cx") + " " + firstCircle.getAttributeNS(null, "cy"));
                    secondCircleAnimate.setAttributeNS(null, "to", "360 " + firstCircle.getAttributeNS(null, "cx") + " " + firstCircle.getAttributeNS(null, "cy"));


                    I think parameters from and to get their static values after the strings concatenation, and afterwards don't have their values updated.



                    Two possible solutions:




                    1. with JS: write function which will calculate current position of
                      the firstCircle.

                    2. with CSS only: do two containers for two circles, one nest another, so first container rotates around given point, and the second around its parent element (first container);






                    share|improve this answer























                    • thanks for reply, I tried your second possible solution using JS approach and it worked. Thanks.
                      – Suhas Bhattu
                      Nov 26 '18 at 4:52
















                    0














                    I suspect that this part of your code isn't update dynamically:



                    secondCircleAnimate.setAttributeNS(null, "from", "0 " + firstCircle.getAttributeNS(null, "cx") + " " + firstCircle.getAttributeNS(null, "cy"));
                    secondCircleAnimate.setAttributeNS(null, "to", "360 " + firstCircle.getAttributeNS(null, "cx") + " " + firstCircle.getAttributeNS(null, "cy"));


                    I think parameters from and to get their static values after the strings concatenation, and afterwards don't have their values updated.



                    Two possible solutions:




                    1. with JS: write function which will calculate current position of
                      the firstCircle.

                    2. with CSS only: do two containers for two circles, one nest another, so first container rotates around given point, and the second around its parent element (first container);






                    share|improve this answer























                    • thanks for reply, I tried your second possible solution using JS approach and it worked. Thanks.
                      – Suhas Bhattu
                      Nov 26 '18 at 4:52














                    0












                    0








                    0






                    I suspect that this part of your code isn't update dynamically:



                    secondCircleAnimate.setAttributeNS(null, "from", "0 " + firstCircle.getAttributeNS(null, "cx") + " " + firstCircle.getAttributeNS(null, "cy"));
                    secondCircleAnimate.setAttributeNS(null, "to", "360 " + firstCircle.getAttributeNS(null, "cx") + " " + firstCircle.getAttributeNS(null, "cy"));


                    I think parameters from and to get their static values after the strings concatenation, and afterwards don't have their values updated.



                    Two possible solutions:




                    1. with JS: write function which will calculate current position of
                      the firstCircle.

                    2. with CSS only: do two containers for two circles, one nest another, so first container rotates around given point, and the second around its parent element (first container);






                    share|improve this answer














                    I suspect that this part of your code isn't update dynamically:



                    secondCircleAnimate.setAttributeNS(null, "from", "0 " + firstCircle.getAttributeNS(null, "cx") + " " + firstCircle.getAttributeNS(null, "cy"));
                    secondCircleAnimate.setAttributeNS(null, "to", "360 " + firstCircle.getAttributeNS(null, "cx") + " " + firstCircle.getAttributeNS(null, "cy"));


                    I think parameters from and to get their static values after the strings concatenation, and afterwards don't have their values updated.



                    Two possible solutions:




                    1. with JS: write function which will calculate current position of
                      the firstCircle.

                    2. with CSS only: do two containers for two circles, one nest another, so first container rotates around given point, and the second around its parent element (first container);







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Nov 23 '18 at 11:37

























                    answered Nov 23 '18 at 11:11









                    Max Kurtz

                    987




                    987












                    • thanks for reply, I tried your second possible solution using JS approach and it worked. Thanks.
                      – Suhas Bhattu
                      Nov 26 '18 at 4:52


















                    • thanks for reply, I tried your second possible solution using JS approach and it worked. Thanks.
                      – Suhas Bhattu
                      Nov 26 '18 at 4:52
















                    thanks for reply, I tried your second possible solution using JS approach and it worked. Thanks.
                    – Suhas Bhattu
                    Nov 26 '18 at 4:52




                    thanks for reply, I tried your second possible solution using JS approach and it worked. Thanks.
                    – Suhas Bhattu
                    Nov 26 '18 at 4:52


















                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53444921%2frotate-circle-around-another-rotating-circle%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    What visual should I use to simply compare current year value vs last year in Power BI desktop

                    How to ignore python UserWarning in pytest?

                    Alexandru Averescu