With this expression, you can automate the arranging the object on a circular position by duplicating the layer like the image below.
[Quick Set Up]
Create the center object and position it wherever you want. As a center point, it’s a base of all positions. I recommend a null layer for it. Next step, create the first object. The name of first object needs to include a space and number 1, such as “circle 1”. Then apply the expression below to the position property. There remains only to duplicate it.
center = thisComp.layer("center").transform.position; //center of arrangement radius = 300; num = parseInt(name.split(" ")) - 1; angle = 45; //degree radian = degreesToRadians(angle * num); x = Math.sin(radian) * radius; y = -Math.cos(radian) * radius; center + [x, y]
Here’s a sample with a modified version of this expression.
After all, a project file is worth a thousand words. So download it from the link below and play around with it!
I would much appreciate it if you could give me a feedback. So please don’t hesitate to get in touch with me if you find some errors or better ways.
I hope you develop the expression and create awesome motion graphics.