Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
11
node_modules/d3-ease/src/circle.js
generated
vendored
Normal file
11
node_modules/d3-ease/src/circle.js
generated
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
export function circleIn(t) {
|
||||
return 1 - Math.sqrt(1 - t * t);
|
||||
}
|
||||
|
||||
export function circleOut(t) {
|
||||
return Math.sqrt(1 - --t * t);
|
||||
}
|
||||
|
||||
export function circleInOut(t) {
|
||||
return ((t *= 2) <= 1 ? 1 - Math.sqrt(1 - t * t) : Math.sqrt(1 - (t -= 2) * t) + 1) / 2;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue