pixi-wheels

resolveEase()

pixi-wheels


pixi-wheels / index / resolveEase

Function: resolveEase()

function resolveEase(ease: Ease): EaseFn;

Defined in: utils/easing.ts:70

Turn an Ease into a function. Throws on an unknown name, naming the curves that exist, so a typo in a config fails at build time rather than producing a wheel that never stops.

Parameters#

ParameterType
easeEase

Returns#

EaseFn