Education · Upper legs
Hip flexion
Hip flexion is a beginner-level education movement targeting the hip flexors, written in Posecode, a small open-source language that LLMs like ChatGPT, Claude, and Gemini can write to describe human movement as text. Every joint angle below is hard-clamped to a safe range of motion.
▶ Open Hip flexion in the playground →How to do it
- Lift2.5s · ease-in-out Raise the straight right leg forward: sagittal-plane hip flexion
- Lower2.5s · ease-in-out Lower the leg back under the hip
The .posecode source
This is the exact text an LLM writes to produce the animation above: phases and joint angles, not 3D transforms.
posecode stretch "Hip flexion (ROM demo)"
rig humanoid
pose start = standing
step "Lift" 2.5s ease-in-out:
hip_right: flex 90
cue "Raise the straight right leg forward: sagittal-plane hip flexion"
step "Lower" 2.5s ease-in-out:
hip_right: flex 0
cue "Lower the leg back under the hip"
repeat 4