@motion-script/core / lerpFilter
Function: lerpFilter()
lerpFilter(
from,to,t):AnyFilter
Defined in: attributes/shape/filters/registry.ts:76
Interpolate between two individual filters at progress t.
Falls back to a hard cut at t = 0.5 when the types differ or are unregistered.
A type with no dedicated FilterData is an EffectFilter, so it is
handed to lerpEffect — one interpolation per effect, whether it is animated
on a node or inside a fill.
Parameters
from
to
t
number