Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Trying to duplication a cool effect

  • Trying to duplication a cool effect

    Posted by Taki Oldham on May 17, 2011 at 9:21 pm

    I am an editor without much AE knowledge but I find myself needing to do a small animation for a job. I looked around and really like the way an Australian TV show “Hungry Beast” does animated diagrams to convey a mass of facts and information. Here is an example:

    https://www.youtube.com/watch?v=mSgcw5tLenI

    I am trying to replicate the effect where the images appear by rotating into view and then moving back and forth a little at the end, like they were spring loaded.

    I played around with expressions based on the Motion Script simulations:
    https://www.motionscript.com/mastering-expressions/simulation-basics-3.html
    but these dont work with the orientation parameter it seems. I get an error message, see attached for screenshot:

    I am wondering if anyone knows how to achieve this by either using expressions OR another method / plugin I am not familiar with.

    Many thanks,
    Taki.

    Some contents or functionalities here are not available due to your cookie preferences!

    This happens because the functionality/content marked as “Google Youtube” uses cookies that you choosed to keep disabled. In order to view this content or use this functionality, please enable cookies: click here to open your cookie preferences.

    Taki Oldham replied 15 years, 4 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    May 17, 2011 at 10:37 pm

    Try this. Where you want the animation to start, set a keyframe for x rotation with a value of -90 degrees. A few frames layer, change the value to 0. Add this expression:


    n = 0;
    if (numKeys > 0){
    n = nearestKey(time).index;
    if (key(n).time > time) n--;
    }
    if (n > 0){
    t = time - key(n).time;
    amp = velocityAtTime(key(n).time - .001);
    freq = 2;
    decay = 3;
    w = freq*Math.PI*2;
    value + amp* Math.sin(t*w)/Math.exp(decay*t)/w
    }else{
    value
    }

    Adjust freq and decay to suit your needs.

    Dan

  • Taki Oldham

    May 18, 2011 at 1:20 am

    Thank you so much Dan.
    Just pasted it in and it worked straight away!
    I can’t tell you how much I appreciate your taking the time to respond to me.
    Maybe I can return the favour. I have a new documentary out: https://www.billionairesteaparty.com -> If you would like a free copy I’d be happy to send one wherever you are. Otherwise just a big thanks from me.
    Taki

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