Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Help creating Opacity to Gaussian Blur expression.

  • Help creating Opacity to Gaussian Blur expression.

    Posted by Cristian Colbert on March 22, 2007 at 5:51 pm

    I’m new to the world of expressions, but this appears to be the perfect solution for a project that I’m working on. I want to create an expression that will simply blur my text out as it disappears. When pickwhipping the Gaussian blur to the keyframed opacity, it creates the opposite effect. (Blurring it when it is 100% and removing the blur when it is at 0%). I feel like I just need to add something in the language to tell it to do the opposite. Any suggestions?

    Cristian Colbert replied 19 years, 1 month ago 3 Members · 4 Replies
  • 4 Replies
  • Dan Ebberts

    March 22, 2007 at 6:09 pm

    This should do it:

    100 – opacity

    Dan

  • Cristian Colbert

    March 22, 2007 at 6:11 pm

    Thanks Dan, I must be having a dumb moment and was way over thinking it. Thanks a million.

  • Darby Edelen

    March 22, 2007 at 7:20 pm

    Another thing to note is that at 100% opacity you will have a value of 0 for your Gaussian Blur on your layer (your desired effect) but at 5% opacity you will have a value of 95 for the Gaussian Blur, which might be a little extreme.

    You could use a linear() function to vary the Gaussian Blur linearly with the opacity of the layer:

    linear(transform.opacity, 0, 100, 10, 0);

    This function will return 10 when transform.opacity is equal to 0 and 0 when transform.opacity is 100. If you apply this expression to the Gaussian Blur’s value then the layer will go from a blurriness of 10 to 0 as the opacity goes from 0 to 100.

    With this expression you can alter the last 2 values to come up with Gaussian Blur values that you like (either more extreme or less extreme).

    linear(transform.opacity, 0, 100, 500, 0); //Extremely blurry to no blur at all
    linear(transform.opacity, 0, 100, 5, 0); //Barely blurry to no blur at all

  • Cristian Colbert

    March 23, 2007 at 6:45 am

    Excellent suggestion wuzelwazel, I’m going to give this a try. Thank you too for the help.

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