MotionScript

@motion-script/core


@motion-script/core / lerpFilterArray

Function: lerpFilterArray()

lerpFilterArray(from, to, t): AnyFilter[]

Defined in: attributes/shape/filters/registry.ts:137

Interpolate between two filter arrays of potentially different lengths. Indices present in only one array are kept as-is; matched indices are lerped pairwise.

Parameters

from

AnyFilter[]

to

AnyFilter[]

t

number

Returns

AnyFilter[]