Copy link to clipboard
Copied
I would like to use the Scale transform expression from Trapcode echospace but without having to use the trapcode echospace plugin
basically i want to copy only the scale option from echospace on a separate layer
and use that instead of trapcode
This is the expression copied from trapcode :
src=thisComp.layer("r"); rt=time-1src.effect("tc Echospace")("Repeater Delay [sec]"); lt=time-1src.effect("tc Echospace")("Transform Delay [sec]"); src.scale.valueAtTime(lt) + src.effect("tc Echospace")("Scale").valueAtTime(rt)1[1,1,1]
- - -
i need to put it on a layer that will be duplicated a bunch of times and each copy will also have the expression on them, controlled by a slider on a null layer
all layers will be controlled by the slider
I need valueAtTime scale that works the same as the echospace "scale' one
But i don't really know how to set it up i don't know how to code
can someone send me the correct expression please
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Simply replace all the references to Echospace with your own sliders. There's really no more magic than that. Assuming you name them the same as the Trapcode sliders it would look like that:
src=thisComp.layer("r");
rt=time-1src.effect("Repeater Delay [sec]")(1);
lt=time-1src.effect("Transform Delay [sec]")(1);
sc=src.effect("Scale");
src.scale.valueAtTime(lt) +sc.valueAtTime(rt)1[1,1,1]
Mylenium
Copy link to clipboard
Copied
Thank you for ur reply
Okay i see 🙂
But do I have to create two separate sliders?
like one named "Repeater Delay [sec]"
and another one named "Transform Delay [sec]" ?
Or would one slider be enough?
sorry i'm very bad at this...
Here is the project screenshots:
Copy link to clipboard
Copied
Yes, you have to create individual sliders for each property and value.
Mylenium
Copy link to clipboard
Copied
thank you Mylenium
Have a nice day
Copy link to clipboard
Copied
I can't manage to do it
Is it possible that you do it for me if i send you the project file?