• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

After Effects: How do you align all repeater stars the same way in a circle?

Enthusiast ,
Jan 18, 2024 Jan 18, 2024

Copy link to clipboard

Copied

I need 50 stars sligned the same way in a circle. I'm nearly there, but the problem is that my stars align according to the degree they're sitting in (red stars).

 

Screenshot 2024-01-18 at 9.59.20 AM.png

 

The image below is what I am trying to do with the Repeater Effect for my star. I need my stars all aligned the same way, like this:

What setting do I need to change in the repeater effect? I'm completely stumped. Thank you in advance for any help with this. 

Screenshot 2024-01-18 at 9.49.09 AM.png

TOPICS
How to

Views

161

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 18, 2024 Jan 18, 2024

Copy link to clipboard

Copied

You'll have better luck using text on a circular path.

 

Mylenium

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 18, 2024 Jan 18, 2024

Copy link to clipboard

Copied

You won't be able to use the repeater or a combination of them because you cannot rearrange the order of the transform properties. Rotation happens after the position and anchor point.

 

You'll need 50 copies of the star shape, a parent null in the center, and an expression that rotates each star 360/15º for each copy of the star. If you set it up by layer index, you can create the first star and duplicate the layers. Something like this will work, but you will need to adjust the star size to compensate for the frame size of the comp.

//Contents/Polystar 1/Polystar 1 Transform/Rotation
m = index;
r = 360/50;
n = m * r - r;
-n

//Contents/Polystar 1/Transform Polystar 1/Position
t = - thisComp.height/2;
h = content("Polystar 1").content("Polystar Path 1").outerRadius;
y = t + h;
[0, y]

// Transform/Rotation
m = index;
r = 360/50;
n = m * r - r;

All you have to do then is duplicate the Shape Layer until you have 50 copies.

RickGerard_0-1705600969845.gif

Pre-compose/Collapse transformations, and you are good to go. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jan 18, 2024 Jan 18, 2024

Copy link to clipboard

Copied

LATEST

Thanks Mylenium and thank you very much for the expression Rick. Actually I just discovered a free plugin on aescripts "Circle Align" that seems to do just what I was looking for. But thank you very much all the same for your help. 🙏🙏🙏 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines