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

Function circleInOut

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

Source from the content-addressed store, hash-verified

5096}
5097
5098function circleInOut(t) {
5099 return ((t *= 2) <= 1 ? 1 - Math.sqrt(1 - t * t) : Math.sqrt(1 - (t -= 2) * t) + 1) / 2;
5100}
5101
5102var b1 = 4 / 11,
5103 b2 = 6 / 11,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected