Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'll appreciate suggestions for a code that create the following nice visualization of frame-dragging (or anything alike):

enter image description here

share|improve this question
Also, please don't just post a picture and say "I want to draw this": Show what you've tried so far, and explain where exactly you're stuck. –  Jake May 7 '12 at 19:44
Werner and Jack, please see my acomment to percusse below. I think my question was very clear, I asked for a code to start with. The suggestion below is just what I needed. –  user1999 May 8 '12 at 8:12
@user1999: Of course the question is clear, but the way it is now, it is also a bit selfish: This is a very localised problem that's only likely to benefit you. If you had done a bit of research yourself, you probably could have figured out a way to get started yourself. Then you could have asked a more widely applicable question ("How do I loop over two variables at once?", for instance). Since you say that "the suggestion below is just what I needed", why don't you also accept it? –  Jake May 8 '12 at 10:48
@user1999: No problem. @ percusse explained the way this community usually operates. –  Werner May 8 '12 at 18:38

1 Answer 1

up vote 10 down vote accepted

Just for the sake of answering with something instead of letting it linger in the unanswered list. Since your accept rate is zero and this is a question, your future questions are also unlikely to be answered. Please consider improving your stats and question formulation.

\foreach \x in {1,...,10}{
\node[draw,circle,minimum height=\x cm,rotate=7/\x*\rotang r] (n-\x) at (0,0) {};
\foreach \y [count=\yi] in {22.5,45,...,360}{
\coordinate (l-\x-\yi) at (n-\x.\y) {};
\foreach \yi [count=\y]in {22.5,45,...,360}
    \draw[thick] (l-1-\y) to[in=175+\yi,out=105+\yi] (l-2-\y)
        \foreach \x [evaluate=\x as \nextx using {int(\x+1)} ] in {3,4,...,8}{
           --(l-\x-\y) -- (l-\nextx-\y)  
        } -- (l-10-\y);

enter image description here

share|improve this answer
This is really fancy! Although I guess the more "pedagogic" thing to do would have been to wait for a day or two to see if the OP adds new information, and if they don't to close the question as "Too localized". Now they got what they wanted, why wouldn't they post another draw-it-for-me question in the future? –  Jake May 8 '12 at 6:56
This is really awesome. I didn't have a clue how to start (my knowledge in tikz is of order zero...) Thanks a lot. I'll play a bit with the parameters and learn how to alter the graphics according to my exact needs. Thanks again! –  user1999 May 8 '12 at 8:07
@user1999 Did you also read what I have written in the intro of my answer? –  percusse May 8 '12 at 9:27
@user1999 We hang out here just for the fun of it anyway. So we are not trying to implement a way of behavior. However, not accepting the answers can be interpreted as bad. The reason why we put so much emphasis on the accept rate is that it is the easiest form of appreciation and declaring that the question is now solved. So if you don't accept the answers provided to you then it shows that you don't even take the simplest action which is a mouse click away. That indeed kills the fun of answering the questions. See the comment of Werner above to see what we mean by accepting an answer. –  percusse May 8 '12 at 10:42
with pleasure... now I see that people have already noticed me about acceptance in the past, but I did not get it :) –  user1999 May 8 '12 at 13:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.