Skip to content

Documentation / DynamicDuration / InterpWithDuration

InterpWithDuration()

ts
type InterpWithDuration = (duration, ...params) => Interp;

Defined in: ../../extensions/src/dynamicDuration.ts:30

The most generic interpolation function that can be used with dynamic speed. It only requires a duration parameter as the first argument to the construction function of the interpolation.

Parameters

duration

number

params

...unknown[]

Returns

Interp