Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions linear,wiggle, and opacity oh my

  • linear,wiggle, and opacity oh my

    Posted by Josh Holdens on May 18, 2014 at 11:20 pm

    I’m getting a bit stomped as I continue to grow with expressions. I think that I’m missing a few pieces of the puzzle here. I have come up with a couple expressions(derived from) and am troubleshooting them.

    My attempt with expression 1, is to have object A start moving when time is greater than two seconds. Instead it just pops into place.

    In expression two, I have stumbled across the conditional expression for opacity and am just wanting to know why the expression I’m attempting to use fails when applied to opacity(derived from a similar expression applied to scale).

    Thanks for any insight into these topics

    ///expression 1\\\

    Assigned to Position:

    if (time > 2){
    linear(time,value,[960,100])
    }else{
    value
    }

    expression 2

    fadeIn = linear(time,inPoint+.5,inPoint,0,100);
    fadeOut = linear(time,outPoint,outPoint - .5,100,0);

    fadeIn+fadeOut

    Josh Holdens replied 11 years, 12 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    May 19, 2014 at 1:50 am

    For the first one, you need to define either a speed, or a duration. The speed version would be something like this

    if (time > 2)
    value + [50,50]*(time-2)
    else
    value

    Your fade in/fade out would be more like this

    if (time < (inPoint+outPoint)/2)
    linear(time,inPoint,inPoint+.5,0,100)
    else
    linear(time,outPoint – .5,outPoint,100,0);

    Dan

  • Josh Holdens

    May 19, 2014 at 12:55 pm

    As always Many Many Thanks! I’m going to have a bit of fun trying to understand how these particular expressions work. Again THANKS!!!, and off to expression land I go!

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