@studiokeywi/banjo - v0.0.1
    Preparing search index...

    Module math/easing

    Easing or shaping functions that modify values between [0-1] in predictable ways

    studioKeywi

    Functions

    easeInBack

    Eases a linear value [0, 1] by blending the beginning with a backwards facing curve

    easeInBounce

    Eases a linear value [0, 1] by blending the beginning with increasing parabolic curves

    easeInCircular

    Eases a linear value [0, 1] by blending the beginning with a circle

    easeInCubic

    Eases a linear value [0, 1] by blending the beginning with a 3rd degree polynomial

    easeInElastic

    Eases a linear value [0, 1] by blending the beginning with increasing jerking motions and the ending with decreasing jerking motions

    easeInExponential

    Eases a linear value [0, 1] by blending the beginning with an exponential curve

    easeInNthPolynomial

    Creates an ease-in function based on an n-th degree polynomial

    easeInOutBack

    Eases a linear value [0, 1] by blending the beginning and ending with a backwards facing curve

    easeInOutBounce

    Eases a linear value [0, 1] by blending the beginning with increasing parabolic curves and the ending with decreasing parabolic curves

    easeInOutCircular

    Eases a linear value [0, 1] by blending the beginning and ending with a circle

    easeInOutCubic

    Eases a linear value [0, 1] by blending the beginning and ending with a 3rd degree polynomial

    easeInOutElastic

    Eases a linear value [0, 1] by blending the ending with increasing jerking motions

    easeInOutExponential

    Eases a linear value [0, 1] by blending the beginning and ending with an exponential curve

    easeInOutNthPolynomial

    Creates an ease-in-out function based on an n-th degree polynomial

    easeInOutQuad

    Eases a linear value [0, 1] by blending the beginning and ending with a 2nd degree polynomial

    easeInOutQuart

    Eases a linear value [0, 1] by blending the beginning and ending with a 4th degree polynomial

    easeInOutQuint

    Eases a linear value [0, 1] by blending the beginning and ending with a 5th degree polynomial

    easeInOutSine

    Eases a linear value [0, 1] by blending the beginning and ending with a sine wave

    easeInQuad

    Eases a linear value [0, 1] by blending the beginning with a 2nd degree polynomial

    easeInQuart

    Eases a linear value [0, 1] by blending the beginning with a 4th degree polynomial

    easeInQuint

    Eases a linear value [0, 1] by blending the beginning with a 5th degree polynomial

    easeInSine

    Eases a linear value [0, 1] by blending the beginning with a sine wave

    easeOutBack

    Eases a linear value [0, 1] by blending the ending with a backwards facing curve

    easeOutBounce

    Eases a linear value [0, 1] by blending the ending with decreasing parabolic curves

    easeOutCircular

    Eases a linear value [0, 1] by blending the ending with a circle

    easeOutCubic

    Eases a linear value [0, 1] by blending the ending with a 3rd degree polynomial

    easeOutElastic

    Eases a linear value [0, 1] by blending the ending with decreasing jerking motions

    easeOutExponential

    Eases a linear value [0, 1] by blending the ending with an exponential curve

    easeOutNthPolynomial

    Creates an ease-out function based on an n-th degree polynomial

    easeOutQuad

    Eases a linear value [0, 1] by blending the ending with a 2nd degree polynomial

    easeOutQuart

    Eases a linear value [0, 1] by blending the ending with a 4th degree polynomial

    easeOutQuint

    Eases a linear value [0, 1] by blending the ending with a 5th degree polynomial

    easeOutSine

    Eases a linear value [0, 1] by blending the ending with a sine wave

    inverseLerp

    Calculates the transition point (t) of a linearly interpolated value

    inverseSmoothstep

    Calculates the of a smoothstep value

    lerp

    Calculates a linear interpolation between two values based on some "transition point" t. Will clamp the value of t to [0, 1]:

    lerpUnclamped

    Calculates a linear interpolation between two values based on some "transition point" t:

    smootherstep
    smoothstep