Docs / Shaping functions

Glossary: ElasticEaseIn

The curve of ElasticEaseIn and its constructor.

Color legend plain property method

Swings about the start, more each time, then snaps to the end: a spring winding up.

A class in the category ShapingFunctionCategory.Elastic. It derives from BaseShapingFunction and has its members too: CalculateOutput gives the curve. The curves page shows it in context, with the rest of its family.

Names are colored by what they are: a property or a method; values and fields keep the plain color.

The curve

The curve of ElasticEaseIn: swings about the start, more each time, then snaps to the end: a spring winding up.
Input across, output up. The dashed line is Linear. The dots mark how far the curve overshoots.
Property Value
Id ShapingFunctionId.ElasticEaseIn, number 13
Category ShapingFunctionCategory.Elastic
Name "Elastic EaseIn"
Order null
ParameterCount 0
HasVariableOrder false

For an input x from 0 to 1, the output is −210x − 10 sin((10x − 10.75)·2π/3), and exactly 0 at x = 0 and 1 at x = 1.

Each swing is nearly three times the last, down to −0.37 at x = 0.87, and the curve snaps up to 1 from there. It is ElasticEaseOut played backwards.

Methods

ElasticEaseIn() →

ElasticEaseIn() · Creates the curve. ShapingFunctionFactory.Create creates the same from ShapingFunctionId.ElasticEaseIn.