Skip to content

@aninest/extensions / DynamicDuration / InterpWithDuration

InterpWithDuration()

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

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

Defined in

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