window.onload = function() {
function regularEaseInOut(t, b, c, d) {
if ((t /= d / 2) < 1) {
return c / 2 * t * t + b;
}
return -c / 2 * ((--t) * (t - 2) - 1) + b;
}
}
转载于:https://www.cnblogs.com/qqyuhaitao/p/3466525.html
window.onload = function() {
function regularEaseInOut(t, b, c, d) {
if ((t /= d / 2) < 1) {
return c / 2 * t * t + b;
}
return -c / 2 * ((--t) * (t - 2) - 1) + b;
}
}
转载于:https://www.cnblogs.com/qqyuhaitao/p/3466525.html