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

Function circleOut

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

Source from the content-addressed store, hash-verified

5092}
5093
5094function circleOut(t) {
5095 return Math.sqrt(1 - --t * t);
5096}
5097
5098function circleInOut(t) {
5099 return ((t *= 2) <= 1 ? 1 - Math.sqrt(1 - t * t) : Math.sqrt(1 - (t -= 2) * t) + 1) / 2;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected