Forum Replies Created

  • Instead of dividing the sliders by 100, I would suggest multiplying them by .01 like so:

    …effect(“Slider Control”)(“Slider”)*.01

    This will accomplish the same thing but won’t break if the slider is set to 0 (because its impossible to divide by zero).

  • Dan Gehin

    October 29, 2021 at 3:50 pm in reply to: Numerical order

    Hey Obed, I had the same issue, this seems to work for me:

    a = [12,5,9,10,3];
    a.sort((a,b)=>a-b)

  • Dan Gehin

    July 30, 2020 at 5:55 pm in reply to: Stopping a loopOut() expression at a certain frame

    t = timeToFrames(2000);
    fadeTime = 1;
    ease(time,t,t+fadeTime,loopOut(),value)

    The conversion is backwards: timeToFrames should be framesToTime

    t = framesToTime(2000);
    fadeTime = 1;
    ease(time,t,t+fadeTime,loopOut(),value)

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