ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Wiggle Expressions

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Jonathan Nelson
Wiggle Expressions
on Mar 8, 2020 at 11:47:03 pm

I am fairly new to expressions, but I figured out how to make the opacity flicker off and on at designated times, however, when the wiggle expression is set to off, I would like the opacity of my object to get set to full. I think this is possible by changing the else value but I can't figure it out.

thanks fo the help!
blessings,
Jonathan

movestart=[5,12,18];
moveend=[10,16,22];

for (i = 0; i &lt; moveend.length; i++){
if (time &lt; moveend[i]) break;
}

i = Math.min(i,moveend.length-1);
timeToStart = movestart[i];
timeToStop = moveend[i];
if ((time > timeToStart) && (time &lt; timeToStop)) {

wiggle(1, 1, octaves = 5, amp_mult = 100);
} else {
value;
}


Return to posts index

Dan Ebberts
Re: Wiggle Expressions
on Mar 9, 2020 at 12:33:10 am

I think you'd just replace

value;

with

100;


Dan



Return to posts index

Jonathan Nelson
Re: Wiggle Expressions
on Mar 9, 2020 at 2:56:41 am

Genius!

thanks so much!
Jonathan


Return to posts index

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