For a circle:
Inputs: CenterPt (presumably 300,400), RadiusLargestCircle (presumably 270 to ensure that all objects are on the screen) RadiusDelta (60 ensures there are no overlapping objects if the objects are circles)
calculate the number of circles ((RadiusLargestCircle -2 * RadiusDelta) / RadiusDelta)
for each circle
RadCir= RadiusLargestCircle - (CircleNum*RadiusDelta)
(I will finish this later, now I will head)
but essentially the first centerpt object goes to x = radiusLargestCircle, y = 0
divide the radius of the object 2 * by the circle circumference
for num objects
using the parametric equation of a circle, the place of the object in x radians from the previous one
next round
source
share