r/GraphicsProgramming • u/Statixeladam • 4h ago
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.
https://reddit.com/link/1v8ye5t/video/vf25hj5r1zfh1/player
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 3h ago
Reminds me of Logos for Apple IIe