Docs / Shaping functions

Glossary: ExponentialEaseInOut

The curve of ExponentialEaseInOut and its constructor.

Color legend plain property method

Exponential in and out: almost still at both ends, very fast at the middle.

A class in the category ShapingFunctionCategory.Exponential. 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 ExponentialEaseInOut: exponential in and out: almost still at both ends, very fast at the middle.
Input across, output up. The dashed line is Linear.
Property Value
Id ShapingFunctionId.ExponentialEaseInOut, number 20
Category ShapingFunctionCategory.Exponential
Name "Exponential EaseInOut"
Order null
ParameterCount 0
HasVariableOrder false

For an input x from 0 to 1, the output is 220x − 10 / 2 for x below 0.5, and (2 − 210 − 20x) / 2 from 0.5, and exactly 0 and 1 at the ends.

It steps by 0.0005 just after the start and just before the end, where the formula misses 0 and 1. It stays within 0 to 1 and never goes back.

Methods

ExponentialEaseInOut() →

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