MCPcopy
hub / github.com/julianshapiro/velocity / registerBackOut

Function registerBackOut

velocity.js:3471–3481  ·  view source on GitHub ↗
(name, amount)

Source from the content-addressed store, hash-verified

3469 }]);
3470 }
3471 function registerBackOut(name, amount) {
3472 registerEasing([name, function (percentComplete, startValue, endValue) {
3473 if (percentComplete === 0) {
3474 return startValue;
3475 }
3476 if (percentComplete === 1) {
3477 return endValue;
3478 }
3479 return (Math.pow(--percentComplete, 2) * ((amount + 1) * percentComplete + amount) + 1) * (endValue - startValue);
3480 }]);
3481 }
3482 function registerBackInOut(name, amount) {
3483 amount *= 1.525;
3484 registerEasing([name, function (percentComplete, startValue, endValue) {

Callers 1

velocity.jsFile · 0.70

Calls 1

registerEasingFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…