- itsm/ -> workspace/guardia-itsm/ - manager/ -> workspace/guardia-manager/ - app/ -> workspace/guardia-messenger/ - manual/ -> workspace/guardia-docs/ workspace/zioinfo-web/ unchanged. git mv preserves full commit history. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
38 lines
596 B
JavaScript
38 lines
596 B
JavaScript
var exponent = 3;
|
|
|
|
export var polyIn = (function custom(e) {
|
|
e = +e;
|
|
|
|
function polyIn(t) {
|
|
return Math.pow(t, e);
|
|
}
|
|
|
|
polyIn.exponent = custom;
|
|
|
|
return polyIn;
|
|
})(exponent);
|
|
|
|
export var polyOut = (function custom(e) {
|
|
e = +e;
|
|
|
|
function polyOut(t) {
|
|
return 1 - Math.pow(1 - t, e);
|
|
}
|
|
|
|
polyOut.exponent = custom;
|
|
|
|
return polyOut;
|
|
})(exponent);
|
|
|
|
export var polyInOut = (function custom(e) {
|
|
e = +e;
|
|
|
|
function polyInOut(t) {
|
|
return ((t *= 2) <= 1 ? Math.pow(t, e) : 2 - Math.pow(2 - t, e)) / 2;
|
|
}
|
|
|
|
polyInOut.exponent = custom;
|
|
|
|
return polyInOut;
|
|
})(exponent);
|