Skip to content

interpolate

interpolate<T>(from, to, t, easing?): T

Defined in: interpolate.ts:13

Interpolate between two values of the same type.

  • number → linear interpolation
  • Vec2Like → component-wise lerp, returns Vec2

T extends Interpolatable

T

T

number

EasingFunction

T