Skip to content

Function: easeInOutSine()

ts
function easeInOutSine(t): number;

Ease-in-out using a sine curve — slow at both ends, faster in the middle.

Parameters

ParameterType
tnumber

Returns

number

Example

ts
easeInOutSine(0.5) // => 0.5

Since

1.0.0

Released under the MIT License.