Skip to content

EasingFunction

EasingFunction = (t) => number

Defined in: types.ts:48

An easing function mapping t in [0,1] to an eased value. The built-in easings return 0 at t = 0 and 1 at t = 1; the back and elastic families leave [0,1] in between, by design. The result for t outside [0,1] is not specified.

number

number

Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/core.md.