Dance · Full body
Box step
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 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.
- Right foot forward0.9s · flow Step forward onto the right foot with an easy contralateral arm swing
- Left foot side0.85s · flow Transfer left to the side, keeping the torso lifted
- Right foot back0.9s · flow Step back onto the right foot to trace the third side of the box
- Left foot closes home0.85s · settle Close the left foot and settle over both feet, completing the square
The .posecode source
This is the exact text used by the linked playground animation: phases and joint angles, not 3D transforms.
posecode exercise "Box step"
rig humanoid
pose start = standing
step "Right foot forward" 0.9s flow:
hip_right: flex 30
knee_right: flex 32
ankle_right: plantarflex 24
shoulder_left: flex 22
shoulder_right: extend 12
travel: 0 0.32
pin: foot_left floor
cue "Step forward onto the right foot with an easy contralateral arm swing"
step "Left foot side" 0.85s flow:
hip_right: flex 0
knee_right: flex 0
ankle_right: plantarflex 0
hip_left: abduct 24
knee_left: flex 22
ankle_left: plantarflex 20
shoulder_left: flex 0
shoulder_right: flex 20
travel: -0.32 0.32
pin: foot_right floor
cue "Transfer left to the side, keeping the torso lifted"
step "Right foot back" 0.9s flow:
hip_left: abduct 0
knee_left: flex 0
ankle_left: plantarflex 0
hip_right: extend 18
knee_right: flex 30
ankle_right: plantarflex 24
shoulder_right: flex 0
shoulder_left: flex 22
travel: -0.32 0
pin: foot_left floor
cue "Step back onto the right foot to trace the third side of the box"
step "Left foot closes home" 0.85s settle:
hip_right: extend 0
knee_right: flex 0
ankle_right: plantarflex 0
shoulders: flex 0
travel: 0 0
reach: foot_left floor
reach: foot_right floor
cue "Close the left foot and settle over both feet, completing the square"
repeat 4