easeOutExpo: function (x, t, b, c, d) {
return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
}在jquery easin插件的这行代码中,我们如何知道括号中的x, t, b, c, d的值。我只想知道他们在做什么。
发布于 2012-10-25 16:21:14
在脚本的顶部有一行注释掉了,上面写着:
// t: current time, b: begInnIng value, c: change In value, d: durationhttps://stackoverflow.com/questions/13064430
复制相似问题