Interface TimingFunction


public interface TimingFunction
Functions copied from https://easings.net/
  • Method Details

    • calculate

      float calculate(float x)
    • apply

      default float apply(float x, float start, float end)
    • linear

      static float linear(float x)
    • easeInSine

      static float easeInSine(float x)
    • easeOutSine

      static float easeOutSine(float x)
    • easeInOutSine

      static float easeInOutSine(float x)
    • easeInQuad

      static float easeInQuad(float x)
    • easeOutQuad

      static float easeOutQuad(float x)
    • easeInOutQuad

      static float easeInOutQuad(float x)
    • easeInCubic

      static float easeInCubic(float x)
    • easeOutCubic

      static float easeOutCubic(float x)
    • easeInOutCubic

      static float easeInOutCubic(float x)
    • easeInQuart

      static float easeInQuart(float x)
    • easeOutQuart

      static float easeOutQuart(float x)
    • easeInOutQuart

      static float easeInOutQuart(float x)
    • easeInQuint

      static float easeInQuint(float x)
    • easeOutQuint

      static float easeOutQuint(float x)
    • easeInOutQuint

      static float easeInOutQuint(float x)
    • easeInExpo

      static float easeInExpo(float x)
    • easeOutExpo

      static float easeOutExpo(float x)
    • easeInOutExpo

      static float easeInOutExpo(float x)
    • easeInCirc

      static float easeInCirc(float x)
    • easeOutCirc

      static float easeOutCirc(float x)
    • easeInOutCirc

      static float easeInOutCirc(float x)
    • easeInBack

      static float easeInBack(float x)
    • easeOutBack

      static float easeOutBack(float x)
    • easeInOutBack

      static float easeInOutBack(float x)
    • easeInElastic

      static float easeInElastic(float x)
    • easeOutElastic

      static float easeOutElastic(float x)
    • easeInOutElastic

      static float easeInOutElastic(float x)
    • easeInBounce

      static float easeInBounce(float x)
    • easeOutBounce

      static float easeOutBounce(float x)
    • easeInOutBounce

      static float easeInOutBounce(float x)