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/cubic.js
generated
vendored
Executable file
11
BACK_BACK/node_modules/d3-ease/src/cubic.js
generated
vendored
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
export function cubicIn(t) {
|
||||
return t * t * t;
|
||||
}
|
||||
|
||||
export function cubicOut(t) {
|
||||
return --t * t * t + 1;
|
||||
}
|
||||
|
||||
export function cubicInOut(t) {
|
||||
return ((t *= 2) <= 1 ? t * t * t : (t -= 2) * t * t + 2) / 2;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue