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

Function quadInOut

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

Source from the content-addressed store, hash-verified

5002}
5003
5004function quadInOut(t) {
5005 return ((t *= 2) <= 1 ? t * t : --t * (2 - t) + 1) / 2;
5006}
5007
5008function cubicIn(t) {
5009 return t * t * t;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected