MCPcopy Create free account
hub / github.com/idank/explainshell / d3_ease_back

Function d3_ease_back

explainshell/web/static/js/d3.v3.js:4947–4952  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

4945 };
4946 }
4947 function d3_ease_back(s) {
4948 if (!s) s = 1.70158;
4949 return function(t) {
4950 return t * t * ((s + 1) * t - s);
4951 };
4952 }
4953 function d3_ease_bounce(t) {
4954 return t < 1 / 2.75 ? 7.5625 * t * t : t < 2 / 2.75 ? 7.5625 * (t -= 1.5 / 2.75) * t + .75 : t < 2.5 / 2.75 ? 7.5625 * (t -= 2.25 / 2.75) * t + .9375 : 7.5625 * (t -= 2.625 / 2.75) * t + .984375;
4955 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected