Dance · Full body
Waltz box step
Waltz box step is a beginner-level dance movement targeting the full body, written in Posecode, a small open-source language that capable language models can use to describe human movement as text. Authored joint targets and reach-IK solves are constrained to Posecode's configured per-axis bounds. Those bounds constrain the visualization, but they do not certify that a complete movement is safe or clinically correct. This page documents a code example; it is not exercise instruction.
▶ Open Waltz box step in the playground →Movement phases
Phase cues are display-only coaching text. The executable joint and contact directives in the source below determine the animation.
- 1 - right foot forward0.95s · flow Step forward onto the right foot and begin the waltz rise
- 2 - left foot side0.95s · flow Step left to the side and continue rising through count two
- 3 - close and lower1.05s · flow Close the right foot to the left and lower softly through count three
- 4 - left foot back0.95s · flow Step back onto the left foot and begin the second rise
- 5 - right foot side0.95s · flow Step right to the side, staying buoyant through count five
- 6 - close and lower1.05s · settle Close the left foot and lower with control to complete the six-count box
The .posecode source
This is the exact text used by the linked playground animation: phases and joint angles, not 3D transforms.
posecode stretch "Waltz box step"
rig humanoid
pose start = standing
step "1 - right foot forward" 0.95s flow:
hip_right: flex 24
knee_right: flex 24
ankle_right: plantarflex 18
shoulders: abduct 55
elbows: flex 20
travel: 0 0.2
pin: foot_left floor
cue "Step forward onto the right foot and begin the waltz rise"
step "2 - left foot side" 0.95s flow:
hip_right: flex 0
knee_right: flex 0
ankle_right: plantarflex 0
hip_left: abduct 22
knee_left: flex 16
ankles: plantarflex 22
travel: -0.2 0.2
pin: foot_right floor
cue "Step left to the side and continue rising through count two"
step "3 - close and lower" 1.05s flow:
hip_left: abduct 0
knee_left: flex 0
ankles: plantarflex 0
travel: -0.2 0.2
ground-lock: feet
cue "Close the right foot to the left and lower softly through count three"
step "4 - left foot back" 0.95s flow:
hip_left: extend 18
knee_left: flex 24
ankle_left: plantarflex 18
travel: -0.2 0
pin: foot_right floor
cue "Step back onto the left foot and begin the second rise"
step "5 - right foot side" 0.95s flow:
hip_left: extend 0
knee_left: flex 0
ankle_left: plantarflex 0
hip_right: abduct 22
knee_right: flex 16
ankles: plantarflex 22
travel: 0 0
pin: foot_left floor
cue "Step right to the side, staying buoyant through count five"
step "6 - close and lower" 1.05s settle:
hip_right: abduct 0
knee_right: flex 0
ankles: plantarflex 0
shoulders: abduct 0
elbows: flex 0
travel: 0 0
ground-lock: feet
cue "Close the left foot and lower with control to complete the six-count box"
repeat 3