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

Function expInOut

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

Source from the content-addressed store, hash-verified

5084}
5085
5086function expInOut(t) {
5087 return ((t *= 2) <= 1 ? tpmt(1 - t) : 2 - tpmt(t - 1)) / 2;
5088}
5089
5090function circleIn(t) {
5091 return 1 - Math.sqrt(1 - t * t);

Callers

nothing calls this directly

Calls 1

tpmtFunction · 0.85

Tested by

no test coverage detected