PathMorpher
Handles SVG path interpolation with automatic morph method selection.
Constructor
PathMorpher(args, kwargs)
Methods
interpolate
interpolate(
state: State,
start_path: SVGPath,
end_path: SVGPath,
eased_t: float
) -> SVGPath
Interpolate between two SVG paths using appropriate morphing method.
Parameters
-
state - State containing optional morph_method
-
start_path - Starting SVG path
-
end_path - Ending SVG path
-
eased_t - Eased interpolation parameter
Returns
Interpolated SVG path