Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions layer in/out based expressions

  • layer in/out based expressions

    Posted by Jonas Espinoza on October 5, 2009 at 5:26 pm

    i am doing 4 1-minute long photo sequences for a friends doc, and each consists of a bunch of photos i am doing a simple fade up and unblur at the beginning and reverse at the end. trying to make it like an old school slideshow.

    i have the opacity and blur parameters animated the same way on each layer

    would there be a way to have an expression that basically says, at layer start, opacity = 0, blur equals 10, and at frame 5 (of layer trim), opacity = 100, and blur equals zero

    likewise at 2 frames before layer end, same settings, and at the last frame of the layer, the first settings i had (invisible with blur.)

    if easing would be possible, even cooler. I feel like this is possible, just beyond my skill at expression writing.

    thanks in advance.

    Dan Ebberts replied 16 years, 7 months ago 2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    October 5, 2009 at 6:16 pm

    Something like this should work for opacity:

    fadeInFrames = 5;
    fadeOutFrames = 2;
    startVal = 0;
    endVal = 100;

    if (time < (inPoint+outPoint)/2){ linear(time,inPoint,inPoint + fadeInFrames*thisComp.frameDuration,startVal,endVal) }else{ linear(time,outPoint - fadeOutFrames*thisComp.frameDuration,outPoint,endVal,startVal) } and this for blur: fadeInFrames = 5; fadeOutFrames = 2; startVal = 10; endVal = 0; if (time < (inPoint+outPoint)/2){ linear(time,inPoint,inPoint + fadeInFrames*thisComp.frameDuration,startVal,endVal) }else{ linear(time,outPoint - fadeOutFrames*thisComp.frameDuration,outPoint,endVal,startVal) } Dan

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy