Skip to content

Function: easeInOutCubic()

ts
function easeInOutCubic(t): number;

Ease-in-out using a cubic curve — very slow start and end.

Parameters

ParameterType
tnumber

Returns

number

Example

ts
easeInOutCubic(0.5) // => 0.5

Since

1.0.0

Released under the MIT License.