Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions wiggle loop scale expression problem

  • wiggle loop scale expression problem

    Posted by Martin Jones on April 15, 2020 at 12:33 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)

    Martin Jones replied 6 years, 1 month ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    April 15, 2020 at 12:40 am

    Try changing the last line to:

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

    Dan

  • Martin Jones

    April 15, 2020 at 12:53 am

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

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