ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

wiggling variables within an expression

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Tom Durham
wiggling variables within an expression
on Jul 21, 2018 at 10:42:46 pm

Greetings Expression Gurus,

Super quick question:

For some positioning stuff I'm doing, I have this simple expression to get my x/y coordinates:
X=(effect("X click")("Slider"))*32+1376;
Y=(effect("Y click")("Slider"))*32+672;

No problem.

But then I'd like to affect the resulting x/y coordinates with this wiggler--which I modify with sliders on a different layer:
wiggle (thisComp.layer("NETWORK CONTROLLER").effect("wiggle X")("Slider"),thisComp.layer("NETWORK CONTROLLER").effect("wiggle Y")("Slider"))

How do I get it to wiggle the X and Y of the first part of the expression?

THANKS!

Tom




================================================
TOMDURHAM.COM
Writing, Indie Filmmaking
Sci-fi, Fantasy, Anything Else That's Cool

http://www.95ers.com
http://www.SpaceAceMedia.com


Return to posts index

Dan Ebberts
Re: wiggling variables within an expression
on Jul 21, 2018 at 11:17:11 pm

Something like this probably (not tested though):

X=(effect("X click")("Slider"))*32+1376;
Y=(effect("Y click")("Slider"))*32+672;
L = thisComp.layer("NETWORK CONTROLLER");
w = wiggle (L.effect("wiggle X")("Slider"),L.effect("wiggle Y")("Slider"))-value;
[X,Y] + w


Dan



Return to posts index

Tom Durham
Re: wiggling variables within an expression
on Jul 27, 2018 at 3:06:12 pm

Thanks as always!!!




================================================
TOMDURHAM.COM
Writing, Indie Filmmaking
Sci-fi, Fantasy, Anything Else That's Cool

http://www.95ers.com
http://www.SpaceAceMedia.com


Return to posts index


Kalleheikki Kannisto
Re: wiggling variables within an expression
on Jul 23, 2018 at 8:36:21 am

Alternately, you can add a wiggle expression directly to the sliders.

Kalleheikki Kannisto
Senior Graphic Designer


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]