Forum Replies Created

  • [derek bass] “There are other ways to do this besides using an expression, but I was hoping to go for a simple comp that I can duplicate”

    Yeah. The same I was trying to do with my “randomness” problem, but unfortunately I didn’t solve it out. Maybe your code can be adjusted to my situation somehow.

  • I think you should use seedRandom() function with layer index as a parameter. That will make “wiggle my wiggle” effect you described.

    Code should be sth like that (I’m not sure). Just copy and position layers.

    wiggleFreq = 2 // your frequency
    wiggleMax = 100 // max opacity
    wiggleMin = 0 // min opacity
    seedRandom(index,true); // random number per layer index
    wiggleAmout = random(wiggleMin,wiggleMax) // generates random opacity level
    wiggle(wiggleFreq,wiggleAmout) // wiggles your opacity

  • Michał Orzełek

    September 20, 2013 at 12:32 am in reply to: Random delay in time remapped animation

    I give up ;/

    What I created is only a random offset that changes after each animation time. It doesn’t play the animation from the beginning. I guess there is no way to check what is the current value of time remapping.

    My code was:

    animDur = framesToTime(25)
    numberOfAnims = Math.floor(time/animDur)+1 // plus fist run
    seedRandom(numberOfAnims,true)
    offset = random(0,2) // random duration 0 - 2 seconds
    valueAtTime((time%animDur)-offset) // get the animation

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