[][src]Module keyframe::functions

Definitions for various easing functions

Structs

BezierCurve

User-defined cubic Bézier curve

EaseIn

Accelerating on 1/4 of a sine wave from point A to point B

EaseInCubic

Accelerating cubically from point A to point B

EaseInOut

Accelerating then decelerating on 1/2 of a sine wave from point A to point B

EaseInOutCubic

Accelerating then decelerating cubically from point A to point B

EaseInOutQuad

Accelerating then decelerating quadratically from point A to point B

EaseInOutQuart

Accelerating then decelerating quartically from point A to point B

EaseInOutQuint

Accelerating then decelerating quintically from point A to point B

EaseInQuad

Accelerating quadratically from point A to point B

EaseInQuart

Accelerating quartically from point A to point B

EaseInQuint

Accelerating quintically from point A to point B

EaseOut

Decelerating on 1/4 of a sine wave from point A to point B

EaseOutCubic

Decelerating cubically from point A to point B

EaseOutQuad

Decelerating quadratically from point A to point B

EaseOutQuart

Decelerating quartically from point A to point B

EaseOutQuint

Decelerating quintically from point A to point B

Keyframes

User-defined easing function which wraps a normalized AnimationSequence<Float>

Linear

Linear interpolation from point A to point B

Step

Step function, returns the closest to either point A or B