Package org.jsignal.std
Interface TimingFunction
public interface TimingFunction
Functions copied from https://easings.net/
-
Method Summary
Modifier and TypeMethodDescriptiondefault float
apply
(float x, float start, float end) float
calculate
(float x) static float
easeInBack
(float x) static float
easeInBounce
(float x) static float
easeInCirc
(float x) static float
easeInCubic
(float x) static float
easeInElastic
(float x) static float
easeInExpo
(float x) static float
easeInOutBack
(float x) static float
easeInOutBounce
(float x) static float
easeInOutCirc
(float x) static float
easeInOutCubic
(float x) static float
easeInOutElastic
(float x) static float
easeInOutExpo
(float x) static float
easeInOutQuad
(float x) static float
easeInOutQuart
(float x) static float
easeInOutQuint
(float x) static float
easeInOutSine
(float x) static float
easeInQuad
(float x) static float
easeInQuart
(float x) static float
easeInQuint
(float x) static float
easeInSine
(float x) static float
easeOutBack
(float x) static float
easeOutBounce
(float x) static float
easeOutCirc
(float x) static float
easeOutCubic
(float x) static float
easeOutElastic
(float x) static float
easeOutExpo
(float x) static float
easeOutQuad
(float x) static float
easeOutQuart
(float x) static float
easeOutQuint
(float x) static float
easeOutSine
(float x) static float
linear
(float x)
-
Method Details
-
calculate
float calculate(float x) -
apply
default float apply(float x, float start, float end) -
linear
static float linear(float x) -
easeInSine
static float easeInSine(float x) -
easeOutSine
static float easeOutSine(float x) -
easeInOutSine
static float easeInOutSine(float x) -
easeInQuad
static float easeInQuad(float x) -
easeOutQuad
static float easeOutQuad(float x) -
easeInOutQuad
static float easeInOutQuad(float x) -
easeInCubic
static float easeInCubic(float x) -
easeOutCubic
static float easeOutCubic(float x) -
easeInOutCubic
static float easeInOutCubic(float x) -
easeInQuart
static float easeInQuart(float x) -
easeOutQuart
static float easeOutQuart(float x) -
easeInOutQuart
static float easeInOutQuart(float x) -
easeInQuint
static float easeInQuint(float x) -
easeOutQuint
static float easeOutQuint(float x) -
easeInOutQuint
static float easeInOutQuint(float x) -
easeInExpo
static float easeInExpo(float x) -
easeOutExpo
static float easeOutExpo(float x) -
easeInOutExpo
static float easeInOutExpo(float x) -
easeInCirc
static float easeInCirc(float x) -
easeOutCirc
static float easeOutCirc(float x) -
easeInOutCirc
static float easeInOutCirc(float x) -
easeInBack
static float easeInBack(float x) -
easeOutBack
static float easeOutBack(float x) -
easeInOutBack
static float easeInOutBack(float x) -
easeInElastic
static float easeInElastic(float x) -
easeOutElastic
static float easeOutElastic(float x) -
easeInOutElastic
static float easeInOutElastic(float x) -
easeInBounce
static float easeInBounce(float x) -
easeOutBounce
static float easeOutBounce(float x) -
easeInOutBounce
static float easeInOutBounce(float x)
-