Package arc.math
Interface Interp
- All Known Implementing Classes:
Interp.Bounce
,Interp.BounceIn
,Interp.BounceOut
,Interp.Elastic
,Interp.ElasticIn
,Interp.ElasticOut
,Interp.Exp
,Interp.ExpIn
,Interp.ExpOut
,Interp.Pow
,Interp.PowIn
,Interp.PowOut
,Interp.Swing
,Interp.SwingIn
,Interp.SwingOut
public interface Interp
Takes a Linear value in the range of 0-1 and outputs a (usually) non-Linear, interpolated value.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic 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 Interp.Bounce
static final Interp.BounceIn
static final Interp.BounceOut
static final Interp
static final Interp
static final Interp
static final Interp.Elastic
static final Interp.ElasticIn
static final Interp.ElasticOut
static final Interp.Exp
static final Interp.ExpIn
static final Interp.ExpOut
static final Interp.Exp
static final Interp.ExpIn
static final Interp.ExpOut
static final Interp
static final Interp.PowOut
static final Interp
static final Interp
static final Interp.PowIn
static final Interp.PowOut
static final Interp.Pow
static final Interp.PowIn
Slow, then fast.static final Interp
static final Interp.PowOut
Fast, then slow.static final Interp
static final Interp.Pow
static final Interp.PowIn
static final Interp
static final Interp.PowOut
static final Interp
static final Interp.Pow
static final Interp.PowIn
static final Interp.PowOut
static final Interp.Pow
static final Interp.PowIn
static final Interp.PowOut
static final Interp
static final Interp
static final Interp
static final Interp
static final Interp
static final Interp.PowIn
static final Interp
Aka "smoothstep".static final Interp
static final Interp
By Ken Perlin.static final Interp.Swing
static final Interp.SwingIn
static final Interp.SwingOut
static final Interp
-
Method Summary
-
Field Details
-
linear
-
reverse
-
smooth
Aka "smoothstep". -
smooth2
-
one
-
zero
-
slope
-
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
-
pow10In
-
pow10Out
-
pow5Out
-
sine
-
sineIn
-
sineOut
-
exp10
-
exp10In
-
exp10Out
-
exp5
-
exp5In
-
exp5Out
-
circle
-
circleIn
-
circleOut
-
elastic
-
elasticIn
-
elasticOut
-
swing
-
swingIn
-
swingOut
-
bounce
-
bounceIn
-
bounceOut
-
-
Method Details
-
apply
float apply(float a) - Parameters:
a
- Alpha value between 0 and 1.
-
apply
default float apply(float start, float end, float a) - Parameters:
a
- Alpha value between 0 and 1.
-