ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

wiggle loop scale expression problem

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
martin jones
wiggle loop scale expression problem
on Apr 15, 2020 at 12:33:08 am
Last Edited By martin jones on Apr 15, 2020 at 12:39:45 am

I found a wiggle scale loop expression, it works good for position and rotation to make random wiggle loop but not for scale, it makes non-uniform scale when applies to scale, I want uniform scale, how can it change for that?

freq = 1;
amp = 110;
loopTime = 3;
t = time % loopTime;
wiggle1 = wiggle(freq, amp, 1, 0.5, t);
wiggle2 = wiggle(freq, amp, 1, 0.5, t - loopTime);
linear(t, 0, loopTime, wiggle1, wiggle2)


Return to posts index

Dan Ebberts
Re: wiggle loop scale expression problem
on Apr 15, 2020 at 12:40:11 am

Try changing the last line to:

w = linear(t, 0, loopTime, wiggle1, wiggle2);
[w[0],w[0]]


Dan



Return to posts index

martin jones
Re: wiggle loop scale expression problem
on Apr 15, 2020 at 12:53:47 am

Thank you so much for quick reply, it works good...


Return to posts index

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