Skip to content

Function: easeInSine() ​

ts
function easeInSine(t): number;

Ease-in using a sine curve — starts slow, accelerates toward the end.

Parameters ​

ParameterType
tnumber

Returns ​

number

Example ​

ts
easeInSine(0.5) // ~0.293

Since ​

1.0.0

Released under the MIT License.