Import std.math.easing
std.math.easing
Easing: how far along an animation is at a time t from 0 to 1, from 0 at its start to 1 at its end, for each of the usual curves, as easings.net draws them. In starts slow and ends fast, Out starts fast and ends slow, and InOut does both, each half a curve's In and Out. Back overshoots below 0 or past 1, Elastic springs past them, and Bounce bounces.
std/math/easing.fb
Functions
EaseInSine
function
Public Function EaseInSine(t: Float): Float
Along a quarter of a sine wave.
EaseOutSine
function
Public Function EaseOutSine(t: Float): Float
Out along a quarter of a sine wave.
EaseInOutSine
function
Public Function EaseInOutSine(t: Float): Float
In and out along a quarter of a sine wave.
EaseInQuad
function
Public Function EaseInQuad(t: Float): Float
t squared.
EaseOutQuad
function
Public Function EaseOutQuad(t: Float): Float
Out along t squared.
EaseInOutQuad
function
Public Function EaseInOutQuad(t: Float): Float
In and out along t squared.
EaseInCubic
function
Public Function EaseInCubic(t: Float): Float
t cubed.
EaseOutCubic
function
Public Function EaseOutCubic(t: Float): Float
Out along t cubed.
EaseInOutCubic
function
Public Function EaseInOutCubic(t: Float): Float
In and out along t cubed.
EaseInQuart
function
Public Function EaseInQuart(t: Float): Float
t to the fourth.
EaseOutQuart
function
Public Function EaseOutQuart(t: Float): Float
Out along t to the fourth.
EaseInOutQuart
function
Public Function EaseInOutQuart(t: Float): Float
In and out along t to the fourth.
EaseInQuint
function
Public Function EaseInQuint(t: Float): Float
t to the fifth.
EaseOutQuint
function
Public Function EaseOutQuint(t: Float): Float
Out along t to the fifth.
EaseInOutQuint
function
Public Function EaseInOutQuint(t: Float): Float
In and out along t to the fifth.
EaseInExpo
function
Public Function EaseInExpo(t: Float): Float
2 to the power of 10 t, from 0 to 1 at the ends.
EaseOutExpo
function
Public Function EaseOutExpo(t: Float): Float
Out along 2 to the power of 10 t, from 0 to 1 at the ends.
EaseInOutExpo
function
Public Function EaseInOutExpo(t: Float): Float
In and out along 2 to the power of 10 t, from 0 to 1 at the ends.
EaseInCirc
function
Public Function EaseInCirc(t: Float): Float
Along a quarter of a circle.
EaseOutCirc
function
Public Function EaseOutCirc(t: Float): Float
Out along a quarter of a circle.
EaseInOutCirc
function
Public Function EaseInOutCirc(t: Float): Float
In and out along a quarter of a circle.
EaseInBack
function
Public Function EaseInBack(t: Float): Float
Pulling back below 0 before going, or past 1 before stopping.
EaseOutBack
function
Public Function EaseOutBack(t: Float): Float
Out, past 1 before stopping.
EaseInOutBack
function
Public Function EaseInOutBack(t: Float): Float
In and out, pulling back below 0 before going and past 1 before stopping.
EaseInElastic
function
Public Function EaseInElastic(t: Float): Float
Springing past 0 or 1, as on an elastic, the swings shrinking.
EaseOutElastic
function
Public Function EaseOutElastic(t: Float): Float
Out, springing past 1, as on an elastic, the swings shrinking.
EaseInOutElastic
function
Public Function EaseInOutElastic(t: Float): Float
In and out, springing past 0 and 1, as on an elastic, the swings shrinking.
EaseInBounce
function
Public Function EaseInBounce(t: Float): Float
Bouncing, as a ball dropped does, the bounces shrinking.
EaseOutBounce
function
Public Function EaseOutBounce(t: Float): Float
Four bounces, each lower, the last ending at 1.
EaseInOutBounce
function
Public Function EaseInOutBounce(t: Float): Float
In and out, bouncing, as a ball dropped does, the bounces shrinking.
Report an issue with this page or with FutureBlitz on GitHub.