Perl content: I will be writing a perl script to perform the calculations for any given inner circle size.
Starting with a circle of a supplied size, I want to arrange a given number (usually smaller) circles around the periphery of the given circle such that they all touch central circle and two of the smaller circles either side. Anyone know or have pointers to a formula?
Eg. Given an inner circle of 100 units, and the desire to arrange 8 circles around its periphery, what diameter do the 8 circles need to be so that they just touch the inner circle and each other?
Thanks.
In reply to N circles around a circle. by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |