Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Wiggle Y + ease + hold position

  • Wiggle Y + ease + hold position

    Posted by Henrique Bispo on March 6, 2015 at 2:56 pm

    Hello!

    I’m trying to make a bunch of null layers wiggle regularly in the Y axis and hold their position for about 10 frames before they start wiggling again. I also would like the motion to be smooth, so I guess it would be a good idea to have an “ease in – ease out” motion every time the movement starts and stops.

    On top of that, if possible, I would like to smoothly animate the frequency parameter on the wiggle expression through a Slider Control effect.

    So far I could only get the wiggle in Y direction expression working:

    x = transform.position[0];
    y = transform.position[1];
    w = wiggle(1, 200);

    [x, w[1]];

    My ultimate goal with this is to have a bunch of points wiggling so I can connect them later on with a beam effect.

    Does anybody have a clue on how to write this expression?

    Thank you!

    Henrique Bispo replied 11 years, 4 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    March 7, 2015 at 3:45 pm

    I think I would approach this by coming up with an algorithm to manipulate the time (5th) parameter of wiggle(). That makes it relatively easy to manipulate the speed, or to hold on a particular value, then continue on. The details would depend on the details of your design–what causes it to hold, range of speeds, etc. A bit of work, but definitely do-able.

    Dan

  • Henrique Bispo

    March 7, 2015 at 6:21 pm

    Uhm.. I never really explored the possibilities of the time parameter in the wiggle, but it seems to be a good approach to the problem.
    I’ll definitely look into it.

    Thanks Dan!

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