Class Interpolation
java.lang.Object
ua.mcchickenstudio.opencreative.utils.millennium.math.Interpolation
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic doublebackInterpolation(double from, double to, double percent, Interpolation.Ease ease) static doublebounceInterpolation(double from, double to, double percent, Interpolation.Ease ease) static doublecircInterpolation(double from, double to, double percent, Interpolation.Ease ease) static doublecubicInterpolation(double from, double to, double percent, Interpolation.Ease ease) static doubleelasticInterpolation(double from, double to, double percent, Interpolation.Ease ease) static doubleexpoInterpolation(double from, double to, double percent, Interpolation.Ease ease) static doubleinterpolate(double from, double to, double percent, Interpolation.Type type, Interpolation.Ease ease) static doublelinearInterpolation(double from, double to, double percent) static doublequadInterpolation(double from, double to, double percent, Interpolation.Ease ease) static doublequartInterpolation(double from, double to, double percent, Interpolation.Ease ease) static doublequintInterpolation(double from, double to, double percent, Interpolation.Ease ease) static doublesineInterpolation(double from, double to, double percent, Interpolation.Ease ease)
-
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)
-