Module envelope::interpolation []

Enums

EaseFunction

Traits

Ease
Spatial

Used for interpolation over spatial structures.

Functions

cub_bez

Performs cubic beziér interpolation. This is done by interpolation between two quadratic beziér. For more information, see:

lerp

Performs linear interpolation. A linear interpolation consists of two states 'a' and 'b'. The 't' variable is a factor between 0 and 1 that gives weight to 'a' or 'b'. When 't' is zero then 'a' has full weight. When 't' is one then 'b' has full weight.

quad_bez

Performs quadratic beziér interpolation. This is done by nesting linear interpolations. For more information, see: