Infoseite // Expression question in After Effects



Frage von Blackeagle123:


Hello,

I have an expression for my size. I would like to wiggle with the size of "dancing" can.

Now I have the problem that the proportions are not maintained, although the hooks (or snake) in the box in front of the scale variable is enabled.

What should I change to ...

a) ... both the same variable to change?
b) ... only the x coordinates with the wiggle-command to change?
c) ... only the y-coordinate by Wiggle to change?

Thanks in advance!

Liebe Grüße,
Constantin

Space


Antwort von kriss:

Hi
a) w = wiggle (3.50);
[w [0], w [0]]

b) w = wiggle (3.50);
[w [0], value [1]]

c) w = wiggle (3.50);
[value [0], w [1]]

Space


Antwort von Blackeagle123:

wow, thank you! Funtkioniert super.

Small question about the expression:
Is the "w" an arbitrarily chosen variable? Or is there a set AfterFX in importance?

And tell me what the values in the brackets? [0], and tell me what "value [1]"?

Thank you in advance in advance!

Liebe Grüße,
Constantin

Space


Antwort von Mylenium:

"Blackeagle123" wrote: Is the "w" an arbitrarily chosen variable?

Yes, but really stupid isses such short names to use - we forget too easily what they mean, if the Project after three years rauskramt. , O)

"Blackeagle123" wrote:
Or is there a set AfterFX in importance?


Is it synonymous, but please read the manual.

"Blackeagle123" wrote:
And tell me what the values in the brackets? [0], and tell me what "value [1]"?


Arrays. The number indicates the position of the element in the array.

Mylenium

Space


Antwort von Blackeagle123:

Mhmm ... I understand the reason simply put this line here yet:

Quote: [value [0], w [1]]

What an array, I know. (At least in other programming languages)
But where the position in the array is defined, I do not know where or "value" is defined.

Liebe Grüße,
Constantin

Space


Antwort von Mylenium:

"Blackeagle123" wrote: Mhmm ... I understand the reason simply put this line here yet:

Quote: [value [0], w [1]]

What an array, I know. (At least in other programming languages)
But where the position in the array is defined, I do not know where or "value" is defined.

Liebe Grüße,
Constantin


"value" is a reserved keyword for the current stream Property before the expression is applied. Does not matter what the straight sets while its syntax is correct.

Mylenium

Space


Antwort von Blackeagle123:

... with German words would give me easier!
merci!

Lg, Constantin!

Space





slashCAM nutzt Cookies zur Optimierung des Angebots, auch Cookies Dritter. Die Speicherung von Cookies kann in den Browsereinstellungen unterbunden werden. Mehr Informationen erhalten Sie in unserer Datenschutzerklärung. Mehr Infos Verstanden!
RSS Suche YouTube Facebook Twitter slashCAM-Slash