Olympic Rings overlap problems
Author |
Message |
hamid14
|
Posted: Mon Nov 16, 2009 10:10 am Post subject: Olympic Rings overlap problems |
|
|
What is it you are trying to achieve?
Trying to draw olympic rings with overlap effect like in the original olympic rings.
What is the problem you are having?
The over lapping effect is complicated and I can't draw it.
Describe what you have tried to solve this problem
I tried using fill ovals, I tried drawing arcs and ovals, but it didnt look right. I also tried using drawfill commands, but it won't fill in the correct circles.
Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
I don't have any code as of now. I deleted the rest of the old code.
Please specify what version of Turing you are using
<Answer Here>4.1 |
|
|
|
|
|
Sponsor Sponsor
|
|
|
DemonWasp
|
Posted: Mon Nov 16, 2009 11:11 am Post subject: RE:Olympic Rings overlap problems |
|
|
For reference, the Olympic Rings
There are only two different types of ring you need to draw. The central three overlap two rings each, in exactly the same manner (just flipped vertically); the outer two only overlap one ring.
The outer rings are simple: they are an arc with exactly one break in them. You should be able to get Draw.Arc() to draw an appropriate kind of arc for you.
The inner rings are more complex. You will need two Draw.Arc() calls for each, as there are two breaks in each ring. They will share a centre, but have different angles to start and stop at. Be aware that while the exact numbers of the angles will change, the size of each segment does not.
Alternately, learn to use Pic.FileNew() and Pic.Draw(). |
|
|
|
|
|
|
|