Artemis Artemis
Artemis Artemis

Search Results for

    Class Easings

    Inheritance
    object
    Easings
    Namespace: Artemis.Core
    Assembly: Artemis.Core.dll
    Syntax
    public static class Easings

    Methods

    BackEaseIn(double)

    Modeled after the overshooting cubic y = x^3-xsin(xpi)

    Declaration
    public static double BackEaseIn(double p)
    Parameters
    Type Name Description
    double p
    Returns
    Type Description
    double

    BackEaseInOut(double)

    Modeled after the piecewise overshooting cubic function: y = (1/2)((2x)^3-(2x)sin(2xpi)) ; [0, 0.5) y = (1/2)*(1-((1-x)^3-(1-x)*sin((1-x)*pi))+1) ; [0.5, 1]

    Declaration
    public static double BackEaseInOut(double p)
    Parameters
    Type Name Description
    double p
    Returns
    Type Description
    double

    BackEaseOut(double)

    Modeled after overshooting cubic y = 1-((1-x)^3-(1-x)*sin((1-x)*pi))

    Declaration
    public static double BackEaseOut(double p)
    Parameters
    Type Name Description
    double p
    Returns
    Type Description
    double

    BounceEaseIn(double)

    Declaration
    public static double BounceEaseIn(double p)
    Parameters
    Type Name Description
    double p
    Returns
    Type Description
    double

    BounceEaseInOut(double)

    Declaration
    public static double BounceEaseInOut(double p)
    Parameters
    Type Name Description
    double p
    Returns
    Type Description
    double

    BounceEaseOut(double)

    Declaration
    public static double BounceEaseOut(double p)
    Parameters
    Type Name Description
    double p
    Returns
    Type Description
    double

    CircularEaseIn(double)

    Modeled after shifted quadrant IV of unit circle

    Declaration
    public static double CircularEaseIn(double p)
    Parameters
    Type Name Description
    double p
    Returns
    Type Description
    double

    CircularEaseInOut(double)

    Modeled after the piecewise circular function y = (1/2)(1 - Math.Sqrt(1 - 4x^2)) ; [0, 0.5) y = (1/2)(Math.Sqrt(-(2x - 3)*(2x - 1)) + 1) ; [0.5, 1]

    Declaration
    public static double CircularEaseInOut(double p)
    Parameters
    Type Name Description
    double p
    Returns
    Type Description
    double

    CircularEaseOut(double)

    Modeled after shifted quadrant II of unit circle

    Declaration
    public static double CircularEaseOut(double p)
    Parameters
    Type Name Description
    double p
    Returns
    Type Description
    double

    CubicEaseIn(double)

    Modeled after the cubic y = x^3

    Declaration
    public static double CubicEaseIn(double p)
    Parameters
    Type Name Description
    double p
    Returns
    Type Description
    double

    CubicEaseInOut(double)

    Modeled after the piecewise cubic y = (1/2)((2x)^3) ; [0, 0.5) y = (1/2)((2x-2)^3 + 2) ; [0.5, 1]

    Declaration
    public static double CubicEaseInOut(double p)
    Parameters
    Type Name Description
    double p
    Returns
    Type Description
    double

    CubicEaseOut(double)

    Modeled after the cubic y = (x - 1)^3 + 1

    Declaration
    public static double CubicEaseOut(double p)
    Parameters
    Type Name Description
    double p
    Returns
    Type Description
    double

    ElasticEaseIn(double)

    Modeled after the damped sine wave y = sin(13pi/2*x)*Math.Pow(2, 10 * (x - 1))

    Declaration
    public static double ElasticEaseIn(double p)
    Parameters
    Type Name Description
    double p
    Returns
    Type Description
    double

    ElasticEaseInOut(double)

    Modeled after the piecewise exponentially-damped sine wave: y = (1/2)sin(13pi/2(2x))Math.Pow(2, 10 * ((2x) - 1)) ; [0,0.5) y = (1/2)(sin(-13pi/2*((2x-1)+1))Math.Pow(2,-10(2x-1)) + 2) ; [0.5, 1]

    Declaration
    public static double ElasticEaseInOut(double p)
    Parameters
    Type Name Description
    double p
    Returns
    Type Description
    double

    ElasticEaseOut(double)

    Modeled after the damped sine wave y = sin(-13pi/2*(x + 1))*Math.Pow(2, -10x) + 1

    Declaration
    public static double ElasticEaseOut(double p)
    Parameters
    Type Name Description
    double p
    Returns
    Type Description
    double

    ExponentialEaseIn(double)

    Modeled after the exponential function y = 2^(10(x - 1))

    Declaration
    public static double ExponentialEaseIn(double p)
    Parameters
    Type Name Description
    double p
    Returns
    Type Description
    double

    ExponentialEaseInOut(double)

    Modeled after the piecewise exponential y = (1/2)2^(10(2x - 1)) ; [0,0.5) y = -(1/2)*2^(-10(2x - 1))) + 1 ; [0.5,1]

    Declaration
    public static double ExponentialEaseInOut(double p)
    Parameters
    Type Name Description
    double p
    Returns
    Type Description
    double

    ExponentialEaseOut(double)

    Modeled after the exponential function y = -2^(-10x) + 1

    Declaration
    public static double ExponentialEaseOut(double p)
    Parameters
    Type Name Description
    double p
    Returns
    Type Description
    double

    Interpolate(double, Functions)

    Interpolate using the specified function.

    Declaration
    public static double Interpolate(double p, Easings.Functions function)
    Parameters
    Type Name Description
    double p
    Easings.Functions function
    Returns
    Type Description
    double

    Linear(double)

    Modeled after the line y = x

    Declaration
    public static double Linear(double p)
    Parameters
    Type Name Description
    double p
    Returns
    Type Description
    double

    QuadraticEaseIn(double)

    Modeled after the parabola y = x^2

    Declaration
    public static double QuadraticEaseIn(double p)
    Parameters
    Type Name Description
    double p
    Returns
    Type Description
    double

    QuadraticEaseInOut(double)

    Modeled after the piecewise quadratic y = (1/2)((2x)^2) ; [0, 0.5) y = -(1/2)((2x-1)*(2x-3) - 1) ; [0.5, 1]

    Declaration
    public static double QuadraticEaseInOut(double p)
    Parameters
    Type Name Description
    double p
    Returns
    Type Description
    double

    QuadraticEaseOut(double)

    Modeled after the parabola y = -x^2 + 2x

    Declaration
    public static double QuadraticEaseOut(double p)
    Parameters
    Type Name Description
    double p
    Returns
    Type Description
    double

    QuarticEaseIn(double)

    Modeled after the quartic x^4

    Declaration
    public static double QuarticEaseIn(double p)
    Parameters
    Type Name Description
    double p
    Returns
    Type Description
    double

    QuarticEaseInOut(double)

    Modeled after the piecewise quartic y = (1/2)((2x)^4) ; [0, 0.5) y = -(1/2)((2x-2)^4 - 2) ; [0.5, 1]

    Declaration
    public static double QuarticEaseInOut(double p)
    Parameters
    Type Name Description
    double p
    Returns
    Type Description
    double

    QuarticEaseOut(double)

    Modeled after the quartic y = 1 - (x - 1)^4

    Declaration
    public static double QuarticEaseOut(double p)
    Parameters
    Type Name Description
    double p
    Returns
    Type Description
    double

    QuinticEaseIn(double)

    Modeled after the quintic y = x^5

    Declaration
    public static double QuinticEaseIn(double p)
    Parameters
    Type Name Description
    double p
    Returns
    Type Description
    double

    QuinticEaseInOut(double)

    Modeled after the piecewise quintic y = (1/2)((2x)^5) ; [0, 0.5) y = (1/2)((2x-2)^5 + 2) ; [0.5, 1]

    Declaration
    public static double QuinticEaseInOut(double p)
    Parameters
    Type Name Description
    double p
    Returns
    Type Description
    double

    QuinticEaseOut(double)

    Modeled after the quintic y = (x - 1)^5 + 1

    Declaration
    public static double QuinticEaseOut(double p)
    Parameters
    Type Name Description
    double p
    Returns
    Type Description
    double

    SineEaseIn(double)

    Modeled after quarter-cycle of sine wave

    Declaration
    public static double SineEaseIn(double p)
    Parameters
    Type Name Description
    double p
    Returns
    Type Description
    double

    SineEaseInOut(double)

    Modeled after half sine wave

    Declaration
    public static double SineEaseInOut(double p)
    Parameters
    Type Name Description
    double p
    Returns
    Type Description
    double

    SineEaseOut(double)

    Modeled after quarter-cycle of sine wave (different phase)

    Declaration
    public static double SineEaseOut(double p)
    Parameters
    Type Name Description
    double p
    Returns
    Type Description
    double

    Step(double)

    An snappy animation that moves instantly to the next destination on the next keyframe

    Declaration
    public static double Step(double p)
    Parameters
    Type Name Description
    double p
    Returns
    Type Description
    double
    Content is available under the PolyForm Noncommercial License, by Artemis RGB.