|
Hi, can anyone have an idea how can I draw the buttons around the circumference of the circle, Means I want to draw the buttons around the circle, where angles are constant and no of buttons are 13.
(comments are locked)
|
|
Ok, i think i finally got it what you mean ;) Well there are many ways to do something like that. Usually you would just use simple trigonometry. Since you didn't specify a language and you didn't posted any code related questions before, i will use C# This will draw 13 (or any other number) buttons in a circular shape. ps: if you replace the two "angleStep*i" lines with "angleStep*i + Time.time" the buttons will rotate x)
Jun 05 '12 at 03:27 PM
Berenger
@Berenger: That looks really nice ;) There is this nice question: Place a loong rope around the earth so it (theoritically) lays flat on the surface and form a circle around the earth. Now extend the rope by 1m and lift the rope equally so it still forms a circle. At which distance is the rope levitating? ;)
Jun 05 '12 at 04:23 PM
Bunny83
thanks for the answers its helpful....
Jun 06 '12 at 01:41 PM
gap
(comments are locked)
|

I guess i know what you want, but can you please be specific? What circle? Is the circle 2d or 3d sphere? or a 3d circular plane? What do you mean by "angles are constant"? And how is the number of buttons relevant?
Feel free to post a comment or edit your question