Function morph

    • Animate fromto, matching Parts by marker identity (same marker reference, or markers sharing a group root). Branches by cardinality of each identity:

      1↔1 same content → single rider, scaled to dest 1↔1 different → dual rider, source fades out, dest fades in 1↔N → N riders emerge from source, fan to dests N↔1 → N riders converge to dest, fade out N↔M → pair by index; extras parent-crossfade

      Unmatched parts cross-fade with the parent. Assumes both shapes share a parent and have translate-only transforms.

      Parameters

      • from: AnyTex
      • to: AnyTex
      • dt: number = 0.6
      • ease: Easing = easeInOut

      Returns Animator