utils/transition_timing library

Functions

decelerate(double t) double
Applies a decelerating interpolation function to the input value t. Returns a value between 0 and 1 based on the input.
easeInOut(double t) double
Applies an ease-in-out interpolation function to the input value t. Returns a value between 0 and 1 based on the input.
linear(double t) double
Applies a linear interpolation function to the input value t. Returns the input value unchanged.