Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions increasing and decreasing number

  • increasing and decreasing number

    Posted by Aqeel Arruhaili on August 7, 2012 at 11:08 am

    What is the best way to display a number ranging from 200 -300 increasing and decreasing randomly while sticking to order ..for example 230,231,232,231,232,233,234,233,232
    thanks in advance…

    Aqeel Arruhaili replied 14 years ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    August 7, 2012 at 1:36 pm

    Maybe a source text expression like this:

    minVal = 200;
    maxVal = 300;
    f = 0.1; // frequency

    r = transform.rotation;
    w = r.wiggle(f,1)-r;
    Math.round(linear(w,-1,1,minVal,maxVal))

    Dan

  • Aqeel Arruhaili

    August 7, 2012 at 4:40 pm

    Thnks a lot

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