Forum Replies Created

  • Hey, guys. Helpful information so far, however, i would like some help as to how to translate this time/t for other expressions. For e.g overshoot by Dan.

    freq = 2;
    decay = 5;
    delay = .15;
    dur = .12;

    myDelay = (textIndex-1)*delay;
    t = time - (inPoint + myDelay);
    startVal = 100;
    endVal = 0;

    if(t < dur){
    linear(t,0,dur,startVal,endVal);
    }else{
    amp = (endVal - startVal)/dur;
    w = freq*Math.PI*2;
    endVal + amp*(Math.sin(t*w)/Math.exp(decay*t)/w);
    }

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