-
Shape Layer’s Repeater to influence Ellipse Size
Hi,
I have a circular shape layer with a repeater (3 copies on scale).
As I increase the scale size of the repeater I would like the shape layer’s size to increase that same amount.
Now to complicate things a little I have an array of other shape layers that are picking up animated values from LEAD layer on top and a delay system controlled through slider controls on a Null object.My expression for the shape layer size, for example, looks like this:
var frameDelay = thisComp.layer(“CONTROLER”).effect(“Delay Pos”)(“Slider”) ;
var delay = framesToTime(frameDelay) ;
var itemAbove = thisComp.layer(index-1).content(“Ellipse 1”).content(“Ellipse Path 1”).size;
var amountx = thisComp.layer(“CONTROLER”).effect(“Amount CircSize”)(“Slider”);
var amounty = thisComp.layer(“CONTROLER”).effect(“Amount CircSize”)(“Slider”);
var x = itemAbove.valueAtTime(time-delay)[0] + amountx;
var y =itemAbove.valueAtTime(time-delay)[1] + amounty;[x,y];
This is how the repeater scale looks like:
var frameDelay = thisComp.layer(“CONTROLER”).effect(“Delay RepSize”)(“Slider”);
var delay = framesToTime(frameDelay) ;
var itemAbove = thisComp.layer(index-1).content(“Repeater 1”).transform.scale;
var amountx = thisComp.layer(“CONTROLER”).effect(“Amount RepSize”)(“Slider”);
var amounty = thisComp.layer(“CONTROLER”).effect(“Amount RepSize”)(“Slider”);
var x = itemAbove.valueAtTime(time-delay)[0] + amountx;
var y =itemAbove.valueAtTime(time-delay)[1] + amounty;[x,y];
Any ideas on how I could add the increment on the Repeater’s Scale property to the Shape Layer’s Size?
Thanks in advance!
Sorry, there were no replies found.