Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions rotation with wiggle

  • rotation with wiggle

    Posted by Gon Perdigao on September 13, 2010 at 10:47 am

    hi there i want to wiggle the rotation in one axis, and i wanted that the roation have a range betwen -10 and 10, i have this expression for the wiggle in one axis :

    w = wiggle(5,effect(“Slider Control”)(“Slider”));
    v = value;
    [v[0],v[1],w[2]]

    but how i add the variation between 10 and -10 ?

    Thanks a lot!

    Dan Ebberts replied 15 years, 8 months ago 2 Members · 5 Replies
  • 5 Replies
  • Dan Ebberts

    September 13, 2010 at 3:15 pm

    Like this?

    w = wiggle(5,10);
    v = value;
    [v[0],v[1],w[2]]

    Dan

  • Gon Perdigao

    September 13, 2010 at 3:55 pm

    hi Dan,

    Sorry i meant 10 degrees, in that case i ned to create variable to say that the value is 10º and minus 10º, right?

    But i don’t know how to do it

    Thanks a lot

  • Dan Ebberts

    September 13, 2010 at 4:11 pm

    Sorry, I guess I don’t get what you’re trying to do. The amplitude parameter is already in the units of the property hosting the expression. For a rotation expression, that’s degrees. So this rotation expression:

    wiggle(5,10)

    should wiggle in the range of -10 degrees to +10 degrees centered around the pre-expression value. Is that not what you want?

    Dan

  • Gon Perdigao

    September 13, 2010 at 4:26 pm

    yes is that what i want.

    Is there a way to to enable a slider control?

    thanks a lot

  • Dan Ebberts

    September 13, 2010 at 4:42 pm

    Your first example had a slider in it, but clearly that wasn’t doing what you want. What do you want the slider to control? Maybe an example with numbers would help.

    Dan

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