Skip to main content
Participant
April 25, 2023
Question

Easing distance between Gap -> Repeater / Stroke

  • April 25, 2023
  • 1 reply
  • 344 views

Hello together,

is there a possibility to increase a distance between objects continuously and dynamically. For example, in the "Repeater" or the distance in the stroke, so that you can also animate this?
So that one says (see picture):
The distance at "picture a" becomes the distance as at "picture b"?

 


Is there perhaps an expression method?
Thanks in advance

This topic has been closed for replies.

1 reply

Mylenium
Legend
April 25, 2023

You can only manipulate such stuff if everything exists as a separate layer in order for the relevant properties to be accessible. You can't do this with repeaters or other compound custom properties that don't offer separate controls for the individual properties. The typical trick is simply to multiply the index of the layer by whatever formula you want and then more advanced variations on this. So its in abstract terms

 

index*(basevalue*multiplier);

 

To go from linear to custom eases you'd manipulate the multiplier:

 

linear(blendAmount,startValue,endValue,startFormula,endFormula);

 

More specific code will require you to explain what you actually want to do rather than generically asking if there's a way to do it...

 

Mylenium