Morph

Interpolates the geometry, appearance, and transform between multiple vector layers, producing a single morphed vector shape.

Progression morphs through all objects. Interpolation is linear unless Path geometry is provided to control the trajectory between key objects. The Origins to Polyline node may be used to create a path with anchor points corresponding to each object. Other nodes can modify its path segments.

Interface

Inputs

ParameterDetailsPossible Types
Content

The vector objects to interpolate between. Mixed graphic content is deeply flattened to keep only vector elements.

Primary Input

Table<Graphic>
Table<Vector>
Progression

The fractional part [0, 1) traverses the morph uniformly along the path. If the control path has multiple subpaths, each added integer selects the next subpath.

Default: 0

f64
Reverse

Swap the direction of the progression between objects or along the control path.

Default: false

bool
Distribution

The parameter of change that influences the interpolation speed between each object. Equal slices in this parameter correspond to the rate of progression through the morph. This must be set to a parameter that changes.

"Objects" morphs through each group element at an equal rate. "Distances" keeps constant speed with time between objects proportional to their distances. "Angles" keeps constant rotational speed. "Sizes" keeps constant shrink/growth speed. "Slants" keeps constant shearing angle speed.

Default: Objects

InterpolationDistribution
Path

An optional control path whose anchor points correspond to each object. Curved segments between points will shape the morph trajectory instead of traveling straight. If there is a break between path segments, the separate subpaths are selected by index from the integer part of the progression value. For example, [1, 2) morphs along the segments of the second subpath, and so on.

Default: Table { element: [], transform: [], alpha_blending: [], source_node_id: [] }

Table<Vector>

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

Table<Vector>