Package schule.ngb.zm.anim
Class Easing
java.lang.Object
schule.ngb.zm.anim.Easing
- See Also:
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic final DoubleUnaryOperator
backIn()
static final double
backIn
(double t) static final DoubleUnaryOperator
static final double
backInOut
(double t) static final DoubleUnaryOperator
backOut()
static final double
backOut
(double t) static final DoubleUnaryOperator
bounceIn()
static final double
bounceIn
(double t) static final DoubleUnaryOperator
static final double
bounceInOut
(double t) static final DoubleUnaryOperator
static final double
bounceOut
(double t) static final DoubleUnaryOperator
cubicIn()
static final double
cubicIn
(double t) static final DoubleUnaryOperator
static final double
cubicInOut
(double t) static final DoubleUnaryOperator
cubicOut()
static final double
cubicOut
(double t) static final double
doubleSmooth
(double t) static final DoubleUnaryOperator
static final double
elasticIn
(double t) static final DoubleUnaryOperator
static final double
elasticInOut
(double t) static final DoubleUnaryOperator
static final double
elasticOut
(double t) static final double
halfAndHalf
(double t, DoubleUnaryOperator firstEasing, DoubleUnaryOperator secondEasing) static final double
halfAndHalf
(double t, DoubleUnaryOperator firstEasing, DoubleUnaryOperator secondEasing, double split) static final DoubleUnaryOperator
halfAndHalf
(DoubleUnaryOperator firstEasing, DoubleUnaryOperator secondEasing) static final DoubleUnaryOperator
halfAndHalf
(DoubleUnaryOperator firstEasing, DoubleUnaryOperator secondEasing, double split) static final double
hobbit
(double t) static final DoubleUnaryOperator
linear()
static final double
linear
(double t) static final DoubleUnaryOperator
quadIn()
static final double
quadIn
(double t) static final DoubleUnaryOperator
static final double
quadInOut
(double t) static final DoubleUnaryOperator
quadOut()
static final double
quadOut
(double t) static final double
rushIn
(double t) static final double
rushOut
(double t) static final double
sigmoid
(double x) static final DoubleUnaryOperator
sineIn()
static final double
sineIn
(double t) static final DoubleUnaryOperator
static final double
sineInOut
(double t) static final DoubleUnaryOperator
sineOut()
static final double
sineOut
(double t) static final DoubleUnaryOperator
smooth()
static final double
smooth
(double t) static final DoubleUnaryOperator
static final double
thereAndBack
(double t) static final double
thereAndBack
(double t, DoubleUnaryOperator baseEasing) static final DoubleUnaryOperator
thereAndBack
(DoubleUnaryOperator baseEasing) static final DoubleUnaryOperator
wiggle()
static final double
wiggle
(double t) static final double
wiggle
(double t, int wiggles) static final DoubleUnaryOperator
wiggle
(int wiggles)
-
Field Details
-
DEFAULT_EASING
-
INFLECTION
public static double INFLECTION
-
-
Method Details
-
thereAndBack
-
thereAndBack
-
thereAndBack
public static final double thereAndBack(double t) -
thereAndBack
-
halfAndHalf
public static final DoubleUnaryOperator halfAndHalf(DoubleUnaryOperator firstEasing, DoubleUnaryOperator secondEasing) -
halfAndHalf
public static final DoubleUnaryOperator halfAndHalf(DoubleUnaryOperator firstEasing, DoubleUnaryOperator secondEasing, double split) -
halfAndHalf
public static final double halfAndHalf(double t, DoubleUnaryOperator firstEasing, DoubleUnaryOperator secondEasing) -
halfAndHalf
public static final double halfAndHalf(double t, DoubleUnaryOperator firstEasing, DoubleUnaryOperator secondEasing, double split) -
linear
-
linear
public static final double linear(double t) -
quadIn
-
quadIn
public static final double quadIn(double t) -
quadOut
-
quadOut
public static final double quadOut(double t) -
quadInOut
-
quadInOut
public static final double quadInOut(double t) -
cubicIn
-
cubicIn
public static final double cubicIn(double t) -
cubicOut
-
cubicOut
public static final double cubicOut(double t) -
cubicInOut
-
cubicInOut
public static final double cubicInOut(double t) -
sineIn
-
sineIn
public static final double sineIn(double t) -
sineOut
-
sineOut
public static final double sineOut(double t) -
sineInOut
-
sineInOut
public static final double sineInOut(double t) -
elasticIn
-
elasticIn
public static final double elasticIn(double t) -
elasticOut
-
elasticOut
public static final double elasticOut(double t) -
elasticInOut
-
elasticInOut
public static final double elasticInOut(double t) -
bounceIn
-
bounceIn
public static final double bounceIn(double t) -
bounceOut
-
bounceOut
public static final double bounceOut(double t) -
bounceInOut
-
bounceInOut
public static final double bounceInOut(double t) -
backIn
-
backIn
public static final double backIn(double t) -
backOut
-
backOut
public static final double backOut(double t) -
backInOut
-
backInOut
public static final double backInOut(double t) -
smooth
-
smooth
public static final double smooth(double t) -
rushIn
public static final double rushIn(double t) -
rushOut
public static final double rushOut(double t) -
doubleSmooth
public static final double doubleSmooth(double t) -
hobbit
public static final double hobbit(double t) -
wiggle
-
wiggle
-
wiggle
public static final double wiggle(double t) -
wiggle
public static final double wiggle(double t, int wiggles) -
sigmoid
public static final double sigmoid(double x)
-