Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Wiggle Scale / Position by a fixed value

  • Wiggle Scale / Position by a fixed value

    Posted by Yair Katznelson on October 31, 2015 at 8:42 pm

    Hello All!
    How can I wiggle a scale or position value by a fixed numerical step?
    Lets say the Value I need is 0-100 but each wiggle should be expressed by “5”.
    Finalresult should be 0 or 5 or 10 or 15 etc…
    Thanks!

    Yair Katznelson replied 10 years, 9 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    November 1, 2015 at 12:49 am

    I’m not sure if this is what you mean, but try this for position or scale:

    step = 5;
    w = wiggle(1,100)-value;
    w[0] = Math.round(w[0]/step)*step;
    w[1] = Math.round(w[1]/step)*step;
    value + w

    Dan

  • Yair Katznelson

    November 1, 2015 at 7:39 am

    Thank You so much!

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