Class Interpolation

java.lang.Object
ua.mcchickenstudio.opencreative.utils.millennium.math.Interpolation

public final class Interpolation extends Object
  • Constructor Details

    • Interpolation

      public Interpolation()
  • Method Details

    • interpolate

      public static double interpolate(double from, double to, double percent, Interpolation.Type type, Interpolation.Ease ease)
    • linearInterpolation

      public static double linearInterpolation(double from, double to, double percent)
    • sineInterpolation

      public static double sineInterpolation(double from, double to, double percent, Interpolation.Ease ease)
    • quadInterpolation

      public static double quadInterpolation(double from, double to, double percent, Interpolation.Ease ease)
    • cubicInterpolation

      public static double cubicInterpolation(double from, double to, double percent, Interpolation.Ease ease)
    • quartInterpolation

      public static double quartInterpolation(double from, double to, double percent, Interpolation.Ease ease)
    • quintInterpolation

      public static double quintInterpolation(double from, double to, double percent, Interpolation.Ease ease)
    • expoInterpolation

      public static double expoInterpolation(double from, double to, double percent, Interpolation.Ease ease)
    • circInterpolation

      public static double circInterpolation(double from, double to, double percent, Interpolation.Ease ease)
    • backInterpolation

      public static double backInterpolation(double from, double to, double percent, Interpolation.Ease ease)
    • bounceInterpolation

      public static double bounceInterpolation(double from, double to, double percent, Interpolation.Ease ease)
    • elasticInterpolation

      public static double elasticInterpolation(double from, double to, double percent, Interpolation.Ease ease)