Docs / Shaping functions

Glossary: CircularEaseInOut

The curve of CircularEaseInOut and its constructor.

Color legend plain property method

Two quarter circles: flat at both ends and upright at the middle.

A class in the category ShapingFunctionCategory.Circular. 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 CircularEaseInOut: two quarter circles: flat at both ends and upright at the middle.
Input across, output up. The dashed line is Linear.
Property Value
Id ShapingFunctionId.CircularEaseInOut, number 11
Category ShapingFunctionCategory.Circular
Name "Circular EaseInOut"
Order null
ParameterCount 0
HasVariableOrder false

For an input x from 0 to 1, the output is (1 − √(1 − (2x)²)) / 2 for x below 0.5, and (1 + √(1 − (2 − 2x)²)) / 2 from 0.5.

It passes the middle straight up, at (0.5, 0.5). It stays within 0 to 1 and never goes back.

Methods

CircularEaseInOut() →

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