标签: javascript
// t: current time, b: begInnIng value, c: change In value, d: duration easeOutSine: (t, b, c, d) => c * Math.sin(t/d * (Math.PI/2)) + b;
显然,如果参数为' c'是0,它将始终返回开始值,所以如果我只想将值更改为0,我该怎么办?
答案 0 :(得分:0)
调用函数c(值的变化)等于-b(起始值的负数。)
c
-b