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

Function cubicOut

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

Source from the content-addressed store, hash-verified

5010}
5011
5012function cubicOut(t) {
5013 return --t * t * t + 1;
5014}
5015
5016function cubicInOut(t) {
5017 return ((t *= 2) <= 1 ? t * t * t : (t -= 2) * t * t + 2) / 2;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected