math.easing #
fn in_back #
fn in_back(x f64) f64
in_back returns the equivalent of https://easings.net/#easeInBack .
fn in_bounce #
fn in_bounce(x f64) f64
in_bounce returns the equivalent of https://easings.net/#easeInBounce .
fn in_circ #
fn in_circ(x f64) f64
in_circ returns the equivalent of https://easings.net/#easeInCirc .
fn in_cubic #
fn in_cubic(x f64) f64
in_cubic returns the equivalent of https://easings.net/#easeInCubic .
fn in_elastic #
fn in_elastic(x f64) f64
in_elastic returns the equivalent of https://easings.net/#easeInElastic .
fn in_expo #
fn in_expo(x f64) f64
in_expo returns the equivalent of https://easings.net/#easeInExpo .
fn in_out_back #
fn in_out_back(x f64) f64
in_out_back returns the equivalent of https://easings.net/#easeInOutBack .
fn in_out_bounce #
fn in_out_bounce(x f64) f64
in_out_bounce returns the equivalent of https://easings.net/#easeInOutBounce .
fn in_out_circ #
fn in_out_circ(x f64) f64
in_out_circ returns the equivalent of https://easings.net/#easeInOutCirc .
fn in_out_cubic #
fn in_out_cubic(x f64) f64
in_out_cubic returns the equivalent of https://easings.net/#easeInOutCubic .
fn in_out_elastic #
fn in_out_elastic(x f64) f64
in_out_elastic returns the equivalent of https://easings.net/#easeInOutElastic .
fn in_out_expo #
fn in_out_expo(x f64) f64
in_out_expo returns the equivalent of https://easings.net/#easeInOutExpo .
fn in_out_quad #
fn in_out_quad(x f64) f64
in_out_quad returns the equivalent of https://easings.net/#easeInOutQuad .
fn in_out_quart #
fn in_out_quart(x f64) f64
in_out_quart returns the equivalent of https://easings.net/#easeInOutQuart .
fn in_out_quint #
fn in_out_quint(x f64) f64
in_out_quint returns the equivalent of https://easings.net/#easeInOutQuint .
fn in_out_sine #
fn in_out_sine(x f64) f64
in_out_sine returns the equivalent of https://easings.net/#easeInOutSine .
fn in_quad #
fn in_quad(x f64) f64
in_quad returns the equivalent of https://easings.net/#easeInQuad .
fn in_quart #
fn in_quart(x f64) f64
in_quart returns the equivalent of https://easings.net/#easeInQuart .
fn in_quint #
fn in_quint(x f64) f64
in_quint returns the equivalent of https://easings.net/#easeInQuint .
fn in_sine #
fn in_sine(x f64) f64
in_sine returns the equivalent of https://easings.net/#easeInSine .
fn linear #
fn linear(x f64) f64
linear just returns the parameter x, without changes .
fn out_back #
fn out_back(x f64) f64
out_back returns the equivalent of https://easings.net/#easeOutBack .
fn out_bounce #
fn out_bounce(x f64) f64
out_bounce returns the equivalent of https://easings.net/#easeOutBounce .
fn out_circ #
fn out_circ(x f64) f64
out_circ returns the equivalent of https://easings.net/#easeOutCirc .
fn out_cubic #
fn out_cubic(x f64) f64
out_cubic returns the equivalent of https://easings.net/#easeOutCubic .
fn out_elastic #
fn out_elastic(x f64) f64
out_elastic returns the equivalent of https://easings.net/#easeOutElastic .
fn out_expo #
fn out_expo(x f64) f64
out_expo returns the equivalent of https://easings.net/#easeOutExpo .
fn out_quad #
fn out_quad(x f64) f64
out_quad returns the equivalent of https://easings.net/#easeOutQuad .
fn out_quart #
fn out_quart(x f64) f64
out_quart returns the equivalent of https://easings.net/#easeOutQuart .
fn out_quint #
fn out_quint(x f64) f64
out_quint returns the equivalent of https://easings.net/#easeOutQuint .
fn out_sine #
fn out_sine(x f64) f64
out_sine returns the equivalent of https://easings.net/#easeOutSine .
type EasingFN #
type EasingFN = fn (x f64) f64
EasingFN defines the common shape of an easing function, so that you can define your own, and pass them everywhere, that expects easing.EasingFN . It is just a function that accepts a floating point number and returns one too.
- fn in_back
- fn in_bounce
- fn in_circ
- fn in_cubic
- fn in_elastic
- fn in_expo
- fn in_out_back
- fn in_out_bounce
- fn in_out_circ
- fn in_out_cubic
- fn in_out_elastic
- fn in_out_expo
- fn in_out_quad
- fn in_out_quart
- fn in_out_quint
- fn in_out_sine
- fn in_quad
- fn in_quart
- fn in_quint
- fn in_sine
- fn linear
- fn out_back
- fn out_bounce
- fn out_circ
- fn out_cubic
- fn out_elastic
- fn out_expo
- fn out_quad
- fn out_quart
- fn out_quint
- fn out_sine
- type EasingFN