Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Extrapolate Motion? Expression?

  • Extrapolate Motion? Expression?

    Posted by Scott Geersen on June 13, 2008 at 2:27 am

    hey guys,
    i’ve never tried to do this with an expression before, but it must be possible. how to extrapolate the motion of a layer (or another property) so that it continues at a constant velocity/direction from where the last keyframe had it.
    did a quick search and nothing came up.
    combustion has this kind of functionality built-in with options for extrapolation, like ping-ponging a loop or continuing constantly.
    it’s actually quite difficult when you have a layer with motion, then you find you need to continue that motion (for example, if the duration of your comp has been extended) without having a little bump or jerk in speed.
    any help appreciated.
    thanks,
    scott.

    Darby Edelen replied 17 years, 10 months ago 6 Members · 5 Replies
  • 5 Replies
  • Ron Coy

    June 13, 2008 at 3:26 am

    here’s a way to do it, I just learned this from a tutorial on http://www.videocopilot.net (the magic glass tutorial)

    If you go to your last keyframe, then open up the graph view, you can set your new last keyframe later in the comp and align the angle of the keyframe graph linearly with the previous angle.

    of course, an expression would be cool, and reusable, but I don’t know enough to help.

    maybe someone can write one… go to https://www.redefinery.com and you can request that he write such a tool, or maybe someone else has a tutorial or a script for you.

    I did see some tutorials using expression loops, so I know that exists, but I don’t know about extrapolations.

  • Michael Ricks

    June 13, 2008 at 4:12 am

    https://cowcast.creativecow.net/podcast/a-walk-in-the-park–228

    Check that tutorial out and see if that helps at all. It sounds like the same type of thing you’re going for.

  • Christian Wheel

    June 13, 2008 at 11:53 am

    Try:

    loopOut(type=”continue”)

    Note the O in Out must be caps.

    ~Christian

  • Steve Roberts

    June 13, 2008 at 12:43 pm

    Try the loop expression using “continue” or “offset” instead of the default. Keep the other settings at default for now.

  • Darby Edelen

    June 13, 2008 at 5:54 pm

    [Christian Wheel] “loopOut(type=”continue”) “

    This is the correct expression.

    I would add that you don’t need to set ‘type’ equal to ‘continue’ before you pass ‘type’ into the function. You can just provide “continue” as the input variable:

    loopOut("continue")

    Darby Edelen
    Lead Designer
    Left Coast Digital
    Santa Cruz, CA

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