minor fixes
This commit is contained in:
parent
9fcffe1692
commit
15f7acfc2a
15 changed files with 17 additions and 17 deletions
|
@ -19,7 +19,7 @@
|
|||
animate({
|
||||
duration: 3000,
|
||||
timing: function bounce(timeFraction) {
|
||||
for (let a = 0, b = 1, result; 1; a += b, b /= 2) {
|
||||
for (let a = 0, b = 1; 1; a += b, b /= 2) {
|
||||
if (timeFraction >= (7 - 4 * a) / 11) {
|
||||
return -Math.pow((11 - 6 * a - 11 * timeFraction) / 4, 2) + Math.pow(b, 2)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue