Activity › Forums › Adobe After Effects Expressions › Uniform Scale Wiggle
-
Uniform Scale Wiggle
Posted by Adriano Moraes on July 1, 2008 at 4:04 pmHello there.
I think it´s a pretty simple thing but I can´t find it anywhere.
I guess I´ve even done this before but my brain is failing me.
So what I want to do is simply make a circle´s scale
wiggle uniformly(x and Y with equal values).How do I achieve that?
Sorry if there are answers allready in the cow, but I could not find it.
Ok, thanxxx allready and cheers.
a.ninguem.
Dmitriy Finn replied 9 months, 2 weeks ago 9 Members · 14 Replies -
14 Replies
-
Adriano Moraes
July 1, 2008 at 5:57 pmThank you Dan!
I gotta visit Motionscript.com a little more (and deeply) and finally LEARN the stuff.
Thanx again.
Cheers.
a.ninguem.
-
Vincent Rogozyk
November 18, 2013 at 6:56 pmHi Dan,
Is there a way to make the uniform wiggle loopable?Thanks a lot for your help.
Best Regards,
Vincent -
Dan Ebberts
November 18, 2013 at 7:28 pmThis should work:
freq = 1;
amp = 110;
loopTime = 3;
t = time % loopTime;
w1 = wiggle(freq, amp, 1, 0.5, t)[0];
w2 = wiggle(freq, amp, 1, 0.5, t – loopTime)[0];
linear(t, 0, loopTime, [w1,w1], [w2,w2])Dan
-
Rod Duarte
February 23, 2021 at 4:29 pmHey all!
I’m trying to use this, and I’m getting a syntax error on line 6…I’m guessing AE changed something, since this is old?
-
Dan Ebberts
February 23, 2021 at 4:42 pmI think the site redesign text formatting must have substituted a different character for the minus sign in line 6. Try it this way:
freq = 1;
amp = 110;
loopTime = 3;
t = time % loopTime;
w1 = wiggle(freq, amp, 1, 0.5, t)[0];
w2 = wiggle(freq, amp, 1, 0.5, t - loopTime)[0];
linear(t, 0, loopTime, [w1,w1], [w2,w2])
-
Angus McCracken
May 17, 2021 at 6:24 pmthis is crazy, I’ve learned a bit of scripting and thought – I can handle this.
So I typed :
i=wiggle(2,5);
[i[0],i[1]]
Doesn’t uniform scale.
So I paste your code:
w = wiggle(5,30);
[w[0],w[0]]and it works.
Spaces? i not w? What’s the deal? Does AE think ‘that’s some Dan Ebberts code so make it work.
Reply to this Discussion! Login or Sign Up