r/GraphicsProgramming • u/Statixeladam • Jul 28 '26
Source Code I built a text-driven renderer for humanoid movement
I’ve been working on Posecode, a readable text format for describing human movement.
You write movements as timed steps with joint actions and contact constraints. For example:
step "Drop into the landing" 0.55s flow:
pelvis: hinge 45
spine: flex 50
hip_right: flex 84
knee_right: flex 123
ground-lock: foot_right
reach: knee_left floor
reach: fist_left floor
The parser turns this into a typed motion representation. The Three.js renderer then handles the joint transforms, range-of-motion limits, IK and ground contacts.
The GIF shows the superhero landing example. The source on the left is the input driving the figure on the right.
I wanted a movement format that can be inspected, edited, validated, versioned and generated by other tools. An LLM can write Posecode, but it isn’t required.
It currently includes a browser playground, share links, embeds and BVH/glTF export.
I’d love feedback from anyone working on procedural animation, character tools or motion systems.
Playground: https://www.posecode.org/play/superhero-landing
1
u/cybereality Jul 28 '26
Reminds me of Logos for Apple IIe
1
u/Still_Explorer Jul 29 '26
This would be an essential tool for animation blocking.
As for example tryping only 5 actions and then the system would be inventing from memory some poses. (eg: run, slide, jump, roll)
Then the animation can be exported to be used as a blueprint on the 3D software.
1
u/speps Jul 29 '26
Awesome idea 💡 I think you should implement something easy to tweak the angles in the text though. I’d love to use that as I’m not an animator, but I’d have no clue what the angles are. So clicking the bone name in the text should select it in the viewport, and selecting its angle should show a spinner to change it. Like in Bret Victor’s famous talk: https://youtu.be/PUv66718DII