Black Trigram (흑괘) - Korean Martial Arts Combat Simulator API - v0.7.0
    Preparing search index...

    Function transitionBetweenStances

    • Generate trigram stance-to-stance transition animation.

      Korean: 팔괘 자세 전환 애니메이션 생성

      Creates a complete skeletal animation transitioning from one trigram stance to another, including:

      • Footwork keyframes (weight transfer, pivot, step)
      • Guard pose blending (arms transition smoothly)
      • Laterality support (left/right stance)
      • Korean martial arts principles (proper weight transfer, footwork sequencing)
      1. Weight Transfer (0-40% of duration): Shift weight off moving foot
      2. Pivot/Step (40-70% of duration): Reposition feet to target stance width
      3. Guard Blend (0-100% of duration): Smoothly transition guard poses
      4. Settle (70-100% of duration): Complete transition, stabilize in new stance

      Parameters

      Returns SkeletalAnimation

      Transition animation with footwork and guard blending

      // Adjacent stance transition (200ms)
      const transition = transitionBetweenStances(
      TrigramStance.GEON,
      TrigramStance.TAE,
      "left"
      );

      // Opposite stance transition (400ms)
      const longTransition = transitionBetweenStances(
      TrigramStance.GEON,
      TrigramStance.GON,
      "right"
      );

      팔괘자세전환