Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Scaled Wiggle expression on circle

  • Scaled Wiggle expression on circle

    Posted by Charlotte Glasson on May 11, 2015 at 10:04 pm

    I am looking for an expression to create a scaled wiggle on a circle, that starts at 0% goes to 100% at end and does a few scale wiggles in between to look like it pops up. Have found a few but they are continuous and I only want a few wiggles before it settles into place.

    Charlotte Glasson replied 11 years, 3 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    May 12, 2015 at 1:29 am

    Are you talking about something like this maybe?


    freq = 3;
    decay = 5;

    t = time - inPoint;
    startVal = [0,0];
    endVal = [100,100];
    dur = 0.2;
    if (t < dur){
    linear(t,0,dur,startVal,endVal);
    }else{
    amp = (endVal - startVal)/dur;
    w = freq*Math.PI*2;
    endVal + amp*(Math.sin((t-dur)*w)/Math.exp(decay*(t-dur))/w);
    }

    It’s a slight variation of the one here:

    https://www.motionscript.com/articles/bounce-and-overshoot.html#calc-overshoot

    Dan

  • Charlotte Glasson

    May 12, 2015 at 9:18 pm

    Found exactly what i needed with your scale bounce solution, thanks Dan!

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