Class Circ

java.lang.Object
doodlepad.easing.Circ

public class Circ 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 circular easing-in
    static double
    easeInOut(double t, double b, double c, double d)
    A function to compute circular easing- and out
    static double
    easeOut(double t, double b, double c, double d)
    A function to compute circular easing-out

    Methods inherited from class java.lang.Object

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

    • Circ

      public Circ()
  • Method Details

    • easeIn

      public static double easeIn(double t, double b, double c, double d)
      A function to compute circular 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 circular 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 circular easing- and out
      Parameters:
      t - Current time
      b - Minimum value
      c - Change in value
      d - Maximum time
      Returns:
      Easing value