We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e2a67c commit 4a4ec85Copy full SHA for 4a4ec85
src/QueueAnim.jsx
@@ -36,14 +36,12 @@ const _ease = {
36
const _p1 = o >= 1 ? o : 1;
37
const _p2 = (t || 1) / (o < 1 ? o : 1);
38
const _p3 = _p2 / Math.PI * 2 * (Math.asin(1 / _p1) || 0);
39
- // _p2 = Math.PI * 2 / _p2;
40
return -(_p1 * Math.pow(2, 10 * (p -= 1)) * Math.sin((p - _p3) * _p2));
41
},
42
easeOutElastic: function(p, o, t) {
43
44
45
46
47
return _p1 * Math.pow(2, -10 * p) * Math.sin((p - _p3) * _p2) + 1;
48
49
easeInOutElastic: function(_p, o, t) {
0 commit comments