easeIn

A 0..1 value that starts slow and speeds up.

easeIn(x: Expr): Expr

Import motion from shaders/std and use motion.easeIn.

Parameters

NameTypeNotes
xExpr

Example

const grow = motion.easeIn(progress)

See also

  • easeOut — A 0..1 value that starts fast and slows to a stop.
  • easeInOut — A 0..1 value that starts slow, speeds up, and slows again at the end.