Class Quart

java.lang.Object
doodlepad.easing.Quart

public class Quart extends Object
Robert Penner's easing functions in Java (See https://github.com/jesusgollonet/processing-penner-easing)
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static double
    easeIn(double t, double b, double c, double d)
    A function to compute a quartic easing-in
    static double
    easeInOut(double t, double b, double c, double d)
    A function to compute a quartic easing-in and easing-out
    static double
    easeOut(double t, double b, double c, double d)
    A function to compute a quartic easing-out

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Quart

      public Quart()
  • Method Details

    • easeIn

      public static double easeIn(double t, double b, double c, double d)
      A function to compute a quartic easing-in
      Parameters:
      t - Current time
      b - Minimum value
      c - Change in value
      d - Maximum time
      Returns:
      Easing value
    • easeOut

      public static double easeOut(double t, double b, double c, double d)
      A function to compute a quartic easing-out
      Parameters:
      t - Current time
      b - Minimum value
      c - Change in value
      d - Maximum time
      Returns:
      Easing value
    • easeInOut

      public static double easeInOut(double t, double b, double c, double d)
      A function to compute a quartic easing-in and easing-out
      Parameters:
      t - Current time
      b - Minimum value
      c - Change in value
      d - Maximum time
      Returns:
      Easing value