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

Function bounceInOut

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

Source from the content-addressed store, hash-verified

5119}
5120
5121function bounceInOut(t) {
5122 return ((t *= 2) <= 1 ? 1 - bounceOut(1 - t) : bounceOut(t - 1) + 1) / 2;
5123}
5124
5125var overshoot = 1.70158;
5126

Callers

nothing calls this directly

Calls 1

bounceOutFunction · 0.85

Tested by

no test coverage detected