Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions free wiggle, rubber, bounce, throw, inertia expressions i find useful

  • Dan Ebberts

    August 20, 2012 at 11:21 pm

    That’s pretty strange. You could try replacing the last part of the expression with this:


    if (n > 0){
    try{
    v = velocityAtTime(key(n).time - thisComp.frameDuration/10);
    value + v*amp*Math.sin(freq*t*2*Math.PI)/Math.exp(decay*t);
    }catch (err){
    value
    }
    }else
    value

    That should stop the error message, but it might give you a strange glitch where the value suddenly pops back to the pre-expression value, so watch out for that.

    Dan

  • Layne Haacke

    August 21, 2012 at 1:23 pm

    with a quick test, that seemed to work.
    I’ll watch for that glitch.

    Thanks

  • Michael Wilfong

    August 30, 2012 at 9:14 pm

    I’m having the same issue ONLY in CS6 too!! I haven’t found a way to fix it either. I’ll try to swap the last part as Dan mentions but I’d really like to know what’s happening here. Perhaps there is a fix in the works??

  • Scott Green

    July 4, 2013 at 3:45 pm

    Is there an expression that will make a wire sway?

    Like a skipping rope, say you’re turning the skipping rope and then stop turning, the rope will sway.

    Here’s a screenshot:

    I’ve animated this USB lead coming in from the left and connecting to the USB port. I used the puppet tool to make the wire look a bit more organic as it was approaching the port but I think using an expression like this could make it look really nice and natural looking.

    Thanks in advance.

    Creative Multimedia Design Manchester | S©tt Green | Splurj

  • Chris Wright

    July 4, 2013 at 11:23 pm

    I don’t know exactly how you want to perceive the cord, but one way I imagined was the cord closest to the usb port was slightly stiff and the far tail was way looser. I would apply starch to the front and the tail was much more waggy using this elastic example.

    https://www.motionscript.com/design-guide/elastic.html

    or if you want to overshoot the keyframe
    https://www.motionscript.com/articles/bounce-and-overshoot.html

  • Scott Green

    July 5, 2013 at 7:47 am

    The Calculation Overshoot expression worked a treat, many thanks 🙂

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

    Creative Multimedia Design Manchester | S©tt Green | Splurj

Page 2 of 2

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