Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity › Forums › Adobe After Effects Expressions › interpolate random position?

  • interpolate random position?

    Posted by brodie matthews on September 2, 2021 at 12:29 pm

    Hey looking to interpolate between random positions if someone could look this over id appreciate it.

     

    i think i have the basic function, i have to create a second linear to but how could i reuse the last number?

     

    function postErize(a){

    if (a == 0){a = random(10)} //check for value

    else {a = a}

    posterizeTime(a) //posterize tmax

    z = (time * 29.97) % 2 == 0 //time

    x = random(1080);

    y = random(1920);

    linear(z, 0, a, x[0], x[0])

    [value,value]

    }

    postErize(random(10))

     

    Dan Ebberts
    replied 5 years ago
    2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    September 2, 2021 at 3:53 pm

    It would help if you could explain what it is that you’re trying to do.

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