Package gaiasky.util.math
Class InterpolationDouble
java.lang.Object
gaiasky.util.math.InterpolationDouble
- Direct Known Subclasses:
InterpolationDouble.BounceOut
,InterpolationDouble.Elastic
,InterpolationDouble.Exp
,InterpolationDouble.Pow
,InterpolationDouble.Swing
,InterpolationDouble.SwingIn
,InterpolationDouble.SwingOut
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final InterpolationDouble.Bounce
static final InterpolationDouble.BounceIn
static final InterpolationDouble.BounceOut
static final InterpolationDouble
static final InterpolationDouble
static final InterpolationDouble
static final InterpolationDouble.Elastic
static final InterpolationDouble.ElasticIn
static final InterpolationDouble.ElasticOut
static final InterpolationDouble.Exp
static final InterpolationDouble.ExpIn
static final InterpolationDouble.ExpOut
static final InterpolationDouble.Exp
static final InterpolationDouble.ExpIn
static final InterpolationDouble.ExpOut
static final InterpolationDouble
static final InterpolationDouble.PowOut
static final InterpolationDouble
static final InterpolationDouble.Pow
static final InterpolationDouble.PowIn
Slow, then fast.static final InterpolationDouble
static final InterpolationDouble.PowOut
Fast, then slow.static final InterpolationDouble
static final InterpolationDouble.Pow
static final InterpolationDouble.PowIn
static final InterpolationDouble
static final InterpolationDouble.PowOut
static final InterpolationDouble
static final InterpolationDouble.Pow
static final InterpolationDouble.PowIn
static final InterpolationDouble.PowOut
static final InterpolationDouble.Pow
static final InterpolationDouble.PowIn
static final InterpolationDouble.PowOut
static final InterpolationDouble
static final InterpolationDouble
static final InterpolationDouble
static final InterpolationDouble.PowIn
static final InterpolationDouble
Aka "smoothstep".static final InterpolationDouble
static final InterpolationDouble
By Ken Perlin.static final InterpolationDouble.Swing
static final InterpolationDouble.SwingIn
static final InterpolationDouble.SwingOut
-
Constructor Summary
-
Method Summary
-
Field Details
-
linear
-
smooth
Aka "smoothstep". -
smooth2
-
smoother
By Ken Perlin. -
fade
-
pow2
-
pow2In
Slow, then fast. -
slowFast
-
pow2Out
Fast, then slow. -
fastSlow
-
pow2InInverse
-
pow2OutInverse
-
pow3
-
pow3In
-
pow3Out
-
pow3InInverse
-
pow3OutInverse
-
pow4
-
pow4In
-
pow4Out
-
pow5
-
pow5In
-
pow5Out
-
sine
-
sineIn
-
sineOut
-
exp10
-
exp10In
-
exp10Out
-
exp5
-
exp5In
-
exp5Out
-
circle
-
circleIn
-
circleOut
-
elastic
-
elasticIn
-
elasticOut
-
swing
-
swingIn
-
swingOut
-
bounce
-
bounceIn
-
bounceOut
-
-
Constructor Details
-
InterpolationDouble
public InterpolationDouble()
-
-
Method Details
-
apply
public abstract double apply(double a) - Parameters:
a
- Alpha value between 0 and 1.
-
apply
public double apply(double start, double end, double a) - Parameters:
a
- Alpha value between 0 and 1.
-