Skip to main content
Participant
January 2, 2023
Question

How To Copy EXPRESSION From Trapcode Echospace And Put It On A SEPARATE Slider?

  • January 2, 2023
  • 3 replies
  • 510 views
im looking to replicate this effect
video is not mine
 

 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

 
 
This topic has been closed for replies.

3 replies

Mylenium
Legend
January 2, 2023

Yes, you have to create individual sliders for each property and value.

 

Mylenium

Participant
January 2, 2023

thank you Mylenium

Have a nice day 

Mylenium
Legend
January 2, 2023

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

Participant
January 2, 2023

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: 

 

 

 

 

Participant
January 2, 2023