MCPcopy Create free account
hub / github.com/breck7/scroll / backInOut

Function backInOut

external/.d3.js:5154–5156  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

5152 s = +s;
5153
5154 function backInOut(t) {
5155 return ((t *= 2) < 1 ? t * t * ((s + 1) * t - s) : (t -= 2) * t * ((s + 1) * t + s) + 2) / 2;
5156 }
5157
5158 backInOut.overshoot = custom;
5159

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected