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

How to create increasing space between objects in After Effects

New Here ,
Jun 11, 2024 Jun 11, 2024

Copy link to clipboard

Copied

Hi! I'm looking for a way to distribute objects with an increasing (exponential?) spacing between them. Do you have any tips for a script/plugin/expression, which could help me achieve this in After Effects?

TOPICS
Expressions , How to , Scripting

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 ,
Jun 11, 2024 Jun 11, 2024

Copy link to clipboard

Copied

Could be as simple as tying a Math.pow() or Math.exp() expression to the X position. It's just  ot really clear what the values are supposed to be.

 

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 ,
Jun 12, 2024 Jun 12, 2024

Copy link to clipboard

Copied

Name the first layer "First Layer" and then add an Expression Control Slider named Exponent to the first layer.

 

Add this expression to every layer below the "First Layer."

ofst = thisComp.layer("First Layer").effect("Exponent")("Slider")/10;
ref = thisComp.layer(index - 1).position;
e = index * Math.exp(ofst);
[ref[0] + e, ref[1]];

The slider lets you adjust the distance between the layers. This is what you get:

RickGerard_0-1718193770366.gif

 

 

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 ,
Jun 12, 2024 Jun 12, 2024

Copy link to clipboard

Copied

That's really elegant @Rick Gerard 

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 ,
Jun 12, 2024 Jun 12, 2024

Copy link to clipboard

Copied

LATEST

Thanks...

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