flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
11
BACK_BACK/node_modules/d3-ease/src/circle.js
generated
vendored
Executable file
11
BACK_BACK/node_modules/d3-ease/src/circle.js
generated
vendored
Executable 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