FORUMS: list search recent posts

Re: Converting Robert Penner's easing into expressions

COW Forums : Adobe After Effects Expressions

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


Amir Aizat
Re: Converting Robert Penner's easing into expressions
on Jan 4, 2018 at 12:40:31 pm

I found the problem. Posting the solution for people who's had the same issue

instead of
function smoothEaseIn(startTime, endTime, startVal, endVal) {
var x = easeInQuint(time - startTime, 0, 100, transition);
return linear(x, <b>startTime, endTime,</b> startVal, endVal);
}

function smoothEaseOut(startTime, endTime, startVal, endVal) {
var x = easeOutQuint(time - startTime, 0, 100, transition);
return linear(x, <b>startTime, endTime,</b> startVal, endVal);
}


it should be
function smoothEaseIn(startTime, endTime, startVal, endVal) {
var x = easeInQuint(time - startTime, 0, 100, transition);
return linear(x, <b>0, 100,</b> startVal, endVal);
}

function smoothEaseOut(startTime, endTime, startVal, endVal) {
var x = easeOutQuint(time - startTime, 0, 100, transition);
return linear(x, <b>0, 100,</b> startVal, endVal);
}


Stupid mistake on my part, I can't believe I missed that!


Posts IndexRead Thread 


Current Message Thread:





© 2019 CreativeCOW.net All Rights Reserved
[TOP]