Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Staggered/Eased Position Scrolling

  • Staggered/Eased Position Scrolling

    Posted by Jim Huffaker on November 9, 2010 at 5:36 pm

    I have a layer that I want to move upwards 21.25 pixels for 10 frames with easing, then pause for 10 frames, then move up another 21.25 pixels, and continue this stagger indefinitely. Keyframing this has been a crazy chore. Is there a way to accomplish this with expressions? Maybe a loop that combines some initial keyframes and keeps adding to itself only at certain intervals? I’d really appreciate some help with this. Thanks,

    Jim

    Jim Huffaker replied 15 years, 6 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    November 9, 2010 at 6:31 pm

    You could keyframe one cycle and then add an expression like this:

    loopOut(“offset”)

    Or, you could use an expression like this for the whole thing:

    f = timeToFrames();
    y = Math.floor(f/20)*20.25 + ease(f%20,0,10,0,20.25);
    value – [0,y]

    Dan

  • Jim Huffaker

    November 9, 2010 at 6:37 pm

    Awesome! Thanks!

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