Package arc.math
Class Interp.ElasticIn
java.lang.Object
arc.math.Interp.Elastic
arc.math.Interp.ElasticIn
- All Implemented Interfaces:
Interp
- Enclosing interface:
- Interp
-
Nested Class Summary
Nested classes/interfaces inherited from interface arc.math.Interp
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
-
Field Summary
Fields inherited from interface arc.math.Interp
bounce, bounceIn, bounceOut, circle, circleIn, circleOut, elastic, elasticIn, elasticOut, exp10, exp10In, exp10Out, exp5, exp5In, exp5Out, fade, fastSlow, linear, one, pow10In, pow10Out, pow2, pow2In, pow2InInverse, pow2Out, pow2OutInverse, pow3, pow3In, pow3InInverse, pow3Out, pow3OutInverse, pow4, pow4In, pow4Out, pow5, pow5In, pow5Out, reverse, sine, sineIn, sineOut, slope, slowFast, smooth, smooth2, smoother, swing, swingIn, swingOut, zero
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ElasticIn
public ElasticIn(float value, float power, int bounces, float scale)
-
-
Method Details
-
apply
public float apply(float a) - Specified by:
apply
in interfaceInterp
- Overrides:
apply
in classInterp.Elastic
- Parameters:
a
- Alpha value between 0 and 1.
-