FORUMS: list search recent posts

Wiggle Scale / Position by a fixed value

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Yair Katznelson
Wiggle Scale / Position by a fixed value
on Oct 31, 2015 at 8:42:50 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!


Return to posts index

Dan Ebberts
Re: Wiggle Scale / Position by a fixed value
on Nov 1, 2015 at 12:49:29 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



Return to posts index

Yair Katznelson
Re: Wiggle Scale / Position by a fixed value
on Nov 1, 2015 at 7:39:41 am

Thank You so much!


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]