Docs / Shaping functions

Glossary: QuarticEaseInOut

The curve of QuarticEaseInOut and its constructor.

Color legend plain property method

Quartic in and out: long, slow ends and a quick middle.

A class in the category ShapingFunctionCategory.Quartic. 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 QuarticEaseInOut: quartic in and out: long, slow ends and a quick middle.
Input across, output up. The dashed line is Linear.
Property Value
Id ShapingFunctionId.QuarticEaseInOut, number 33
Category ShapingFunctionCategory.Quartic
Name "Quartic EaseInOut"
Order 4
ParameterCount 0
HasVariableOrder false

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

It crosses the middle at four times the speed of Linear. It stays within 0 to 1 and never goes back.

Methods

QuarticEaseInOut() →

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