Docs / Shaping functions

Glossary: BackEaseInOut

The curve of BackEaseInOut and its constructor.

Color legend plain property method

Pulls back 10% below the start, rushes through the middle and overshoots the end by 10% before settling.

A class in the category ShapingFunctionCategory.Back. 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 BackEaseInOut: pulls back 10% below the start, rushes through the middle and overshoots the end by 10% before settling.
Input across, output up. The dashed line is Linear. The dots mark how far the curve overshoots.
Property Value
Id ShapingFunctionId.BackEaseInOut, number 1
Category ShapingFunctionCategory.Back
Name "Back EaseInOut"
Order 3
ParameterCount 0
HasVariableOrder false

For an input x from 0 to 1, the output is (2x)²((c₂ + 1)·2x − c₂) / 2 for x below 0.5, and ((2x − 2)²((c₂ + 1)(2x − 2) + c₂) + 2) / 2 from 0.5, with c₂ = 1.70158 × 1.525.

It dips to −0.1 at x = 0.24, passes 0.5 at the middle and peaks at 1.1 at x = 0.76. Its constant is its own, so its halves are not BackEaseIn and BackEaseOut squeezed.

Methods

BackEaseInOut() →

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