Forum Replies Created

  • Robert Paynter

    January 24, 2020 at 9:21 pm in reply to: random duration of a holdTime

    nevermind figured it out

    easeTime = .2;
    minHoldTime = .01;
    maxHoldTime = .5;

    seg = 0;
    segStart = inPoint;
    curT = inPoint;
    while (curT <= time){
    seedRandom(seg,true);
    holdTime = random(minHoldTime,maxHoldTime);
    period = easeTime+holdTime;
    segStart = curT;
    seg++
    curT += period;
    }
    t = time - segStart
    amt = 36;
    (seg-1)*amt + ease(t,0,easeTime,0,amt)+(36*effect("Slider Control 2")("Slider"))

  • Robert Paynter

    January 24, 2020 at 9:15 pm in reply to: random duration of a holdTime

    This always starts at 0
    What if I wanted to start the count on a bigger number?

  • Robert Paynter

    January 24, 2020 at 8:48 pm in reply to: random duration of a holdTime

    Perfecto Dan. What would we do without you ?

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