I suppose you know the width/diameter of the circles?

1. First calulate the length of you line: ringLength=circle1Diameter+circle2Diameter etc 2. Calculate the ringRadius from ringLength (I don't remember the formula but it's high school math) 3. Calculate the angle that every circle should be on: circleXDiameter/ringLength*360 4. Place the circles by converting their angle to a vector and multiply it with the ringRadius (google search for angle to vector functions, possibly it's easier to find functions that convert radians to vectors)

I think this would create a image close to what you're after. You might want to tweak the 3:rd step to account for the "bent diameter" of the circles to get an exact fit.

/David Skoglund

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to