Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Wiggle (or is it?) – position – only X!

  • Mylenium

    September 27, 2006 at 5:35 am

    Please use the search function. Has been discussed a million times with very detailed answers. The last post I found was from last week… ;o)

    Mylenium

    [Pour Myl

  • Mike Clasby

    September 27, 2006 at 6:01 am

    Wiggle X Only:

    [wiggle(5,30)[0],value[1]]

    Wiggle Y Only:

    [value[0],wiggle(1,100)[1]]

    Wiggle X and Y seperately:

    [wiggle(5,30)[0],wiggle(1,100)[1]]

  • Mike Clasby

    September 27, 2006 at 6:40 am

    I just read this part, I just need to make it wiggle between two certain values (say 133,150).

    The only clamping for a wiggle expression I could find is here from an earlier Dan Post:

    https://forums.creativecow.net/cgi-bin/new_read_post.cgi?forumid=2&postid=852046

    You’d need to read the whole post to get the gist of what they’re trying to do.

    If you want the wiggle just go between 133 and 150, you could also set a keyframe at 141.5 for the x (halfway between 133 and 150), so there’s 8.5 pixels from the 141.5 to either the 133 or 150, then use a wiggle like this:

    [wiggle(5,8.5)[0],value[1]]

    That’s assuming you want an amplitude of 5, use your own amplitude. Theoretically this should work, but I see the values generated are very rarely above or below your targets, so you might need to tweak the 8.5 to a smaller number. Maybe someone knows how to clamp it properly, but practically you should be able to get it in the ball park with that expression or one close to it.

  • Adriano Moraes

    September 27, 2006 at 10:50 am

    Thanks to both of you!

    Mylenium you

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