Easing

object Easing

Functions

Link copied to clipboard
Link copied to clipboard

An interpolator where the rate of change starts and ends slowly but accelerates through the middle.

Link copied to clipboard

quadratic Bezier curve

fun bezier(x1: Float, y1: Float, x2: Float, y2: Float): Interpolator

cubic Bezier curve

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun overshoot(tension: Float = 2.0f): OvershootInterpolator

An interpolator where the change flings forward and overshoots the last value then comes back.