Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Variable increase expression over time

  • Variable increase expression over time

    Posted by Steven Summers on July 4, 2017 at 5:46 pm

    I’m looking for an expression that will add some variation to a rate increase. So I have a control I want to increase from 0 to 100 over a set time, but I want the rate that these numbers increase to be varied.

    I’ve looked at various sites, but can’t seem to find the answer to this.

    I’m trying to mimic the slow then fast then slow motion of something cracking.
    Thanks!

    Steven Summers replied 9 years, 1 month ago 2 Members · 2 Replies
  • 2 Replies
  • Scott Mcgee

    July 4, 2017 at 9:20 pm

    this should work.

    valuea = 0;
    valueb = 15;
    valuec = 25;
    valued = 100;

    inPointa = 0;
    inPointb = 4;
    inPointc = 8;

    if (time < inPointa + 2){
    ease(time,inPointa,inPointa +2, valuea, valueb)
    } else if (time < inPointb + 2){
    ease(time,inPointb,inPointb +2, valueb, valuec)
    } else if (time < inPointc +2){
    ease(time,inPointc,inPointc + 2, valuec, valued)}

    There’s probably an easier way, but this is what I would use currently until I could figure an easier way.

  • Steven Summers

    July 5, 2017 at 5:17 pm

    Thanks! Greatly appriciated!

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