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

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

Community Beginner ,
Jan 01, 2023 Jan 01, 2023
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

 
 
TOPICS
Expressions , How to , Scripting
479
Translate
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 Beginner ,
Jan 01, 2023 Jan 01, 2023

yQyl4CH.png

Translate
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 ,
Jan 01, 2023 Jan 01, 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

Translate
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 Beginner ,
Jan 01, 2023 Jan 01, 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: 

 

VFtZjvI.pngQl4MJ1I.png

 

 

 

Translate
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 ,
Jan 01, 2023 Jan 01, 2023

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

 

Mylenium

Translate
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 Beginner ,
Jan 01, 2023 Jan 01, 2023

thank you Mylenium

Have a nice day 

Translate
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 Beginner ,
Jan 02, 2023 Jan 02, 2023
LATEST

I can't manage to do it 

Is it possible that you do it for me if i send you the project file?

Translate
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