FORUMS: list search recent posts

Fade In then Wiggle - Based on Layers InPoint

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Victor Nash
Fade In then Wiggle - Based on Layers InPoint
on May 20, 2013 at 9:05:38 pm

Hello All,

Im looking for an expression that fades a layer in then wiggles on based on the original value.

wiggle(1,10)
I was having difficulty adding this wiggle into the FadeIn expression

Thanks

fadeInTime = .5;
fadeOutTime = .5;
Math.min(linear(time,inPoint,inPoint + fadeInTime,0,value),linear(time,outPoint - fadeOutTime,outPoint,value,0))




Return to posts index

Dan Ebberts
Re: Fade In then Wiggle - Based on Layers InPoint
on May 20, 2013 at 9:22:41 pm

This is one way:


amp = 10;
fadeInTime = .5;
fadeOutTime = .5;
if (time < (inPoint+outPoint)/2)
a = linear(time,inPoint,inPoint+fadeInTime,0,amp)
else
a = linear(time,outPoint-fadeOutTime,outPoint,amp,0);
wiggle(1,a);


Dan



Return to posts index

Victor Nash
Re: Fade In then Wiggle - Based on Layers InPoint
on May 21, 2013 at 12:47:38 pm

Thank You Dan.

I noticed the original value I set the opacity to starts at the inpoint and outpoint but it wasn't fading in or out?


Return to posts index


Dan Ebberts
Re: Fade In then Wiggle - Based on Layers InPoint
on May 21, 2013 at 1:39:27 pm

Sorry, I misunderstood what you were after. Try it this way:


w = wiggle(1,10);
fadeInTime = .5;
fadeOutTime = .5;
if (time < (inPoint+outPoint)/2)
linear(time,inPoint,inPoint+fadeInTime,0,w)
else
linear(time,outPoint-fadeOutTime,outPoint,w,0);



Dan



Return to posts index

Victor Nash
Re: Fade In then Wiggle - Based on Layers InPoint
on May 21, 2013 at 2:00:35 pm

Thank You Dan,
I've learned so much over the years from you. Thanks for being such an asset to this community.


Return to posts index

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