Skip to main content

Type Alias: SpeedFunction()

SpeedFunction = (t) => number

Defined in: animation/speed/index.ts:16

Speed function type: maps progress (0-1) to a speed multiplier.

  • Values > 1 speed up the animation at that point
  • Values < 1 slow down the animation at that point
  • Values = 1 play at normal speed

Parameters

t

number

Returns

number