Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions Exponential interpolation in CS5 using expressions

  • Exponential interpolation in CS5 using expressions

  • Chris Orcfilm

    May 11, 2012 at 5:31 am

    I need to exponentially easeOut a number over time.

    I am using:
    num = easeOut(thisComp.layer(“earthComp1”).transform.scale[0],0.0015,273,20000000,100);

    and it’s close but I need the values 20000000-100 to ease out exponentially across time (not just ease out).

    Wish I paid more attention in math… can you help?

    Orchard Film Studios, Canada

  • Dan Ebberts

    May 11, 2012 at 6:37 am

    I think it will look like this:

    s = transform.scale[0];
    factor = 1;
    20000000/Math.exp(s/factor) + 100;

    Increase “factor” if you want a less steep curve.

    Dan

  • Chris Orcfilm

    May 11, 2012 at 7:53 am

    Thanks Dan, I’m certainly getting closer.
    so at .0015% scale I’m seeing 19,970 (great!) but when the scale hits about 18.99% I’m hitting 100 …so when the scale hits the upper limit of 273% I’m still at 100 (18.99% to 273% all = 100) I need it to hit approx. 100 at 273% instead of 19% – how can I fudge this?

    Thoughts?

    ps. Advice you’ve given me in the past has resulted in product that is actually being screened at the Cannes Film Festival later this month so THANK YOU so much for being such a great contributor to independent film and it’s struggling artists!

    Orchard Film Studios, Canada

Viewing 1 - 3 of 3 posts

Log in to reply.

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