Skip to content

Function: easeInCubic()

ts
function easeInCubic(t): number;

Ease-in using a cubic curve — stronger acceleration than quad.

Parameters

ParameterType
tnumber

Returns

number

Example

ts
easeInCubic(0.5) // => 0.125

Since

1.0.0

Released under the MIT License.