Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions keyframing expressions?

  • keyframing expressions?

  • Daniel Waldron

    August 6, 2008 at 11:16 pm

    I’ve been using After Effects CS3 for about a year now, but have just started dabbling with expressions. For a television intro I’m working on, I have a camera zoom into the title and then pan across it before zooming into a specific point. To make it look more fluid and natural, I added a wiggle expression – wiggle(.5, 200) – to the camera’s position. While this works great for most of it, it throws off the specific point I need to zoom to. So my question is, is there a way to tell the camera to stop accepting the expression at a certain point so I can just move the camera in without the wiggle expression? Kind of like keyframing when I want the wiggle expression to start or stop or something to that effect?

    Hope that’s not too confusing. Let me know if I need to clear anything up.

  • Dan Ebberts

    August 7, 2008 at 4:40 am

    How about using a layer marker? This will ease you out of the wiggle over a one half second transition after the marker is reached:

    x = .5; // transition time (seconds)

    w = wiggle(.5, 200);
    if (marker.numKeys > 0){
    t = marker.key(1).time;
    ease(time,t,t+x,w,value)
    }else{
    w
    }

    Dan

  • Hannes Paulsson

    August 7, 2008 at 10:43 am

    You could also use a slider control, and link the first value of the wiggle-parameter to it, and key frame it.

    Or use

    if(time<20) wiggle(1,40) else value

    if(time<20) means "if time is less than 20 seconds", so you would have to change 20 to the time where you want it to stop.

  • Daniel Waldron

    August 8, 2008 at 2:02 am

    Ok, thanks very much to both of you. Your suggestion were very helpful!

Viewing 1 - 4 of 4 posts

Log in to reply.

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