Posecode
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
Kinematic motion as text.
An inspectable, editable movement format for animation tools, LLMs, and web products.
Like Mermaid for movement: small text documents for describing, validating, and rendering
deterministic human motion without hiding the source inside a black box.
Live Playground ·
Movement Library ·
Language Specification (SPEC.md) ·
LLM Authoring Guide ·
Examples ·
MCP Server
---
Why Posecode?
Animation clips and generated trajectories can show movement, but they often hide the semantic decisions that produced it.
Posecode keeps those decisions in readable source. A human can write the document, an animation tool can emit it, or an LLM can draft it. Parsing, validation, editing, and rendering do not require an AI model.
One .posecode document —
shoulders: abduct 160 ,
hips: abduct 30 ,
repeat 12 —
rendered live in the browser.
For example:
> Bend your knees, move your hips backward, and keep your chest upright.
A human may understand that instruction, but a renderer cannot reliably determine:
- which joints should move,
- by how many degrees,
- in which coordinate frame,
- over what duration,
- in what sequence,
- or within which physical limits.
Humans, tools, and language models all need a shared syntax for expressing movement in a renderable and testable form.
Posecode provides that missing representation.
See Posecode in 28 seconds
From readable movement source to validated 3D rendering, MCP tools, and a
one-script web embed.
▶ Watch the 28-second builder demo
Plain text in. Smooth, programmable 3D motion out.
Movement examples
pelvis: hinge — deadlift
knees: flex 95 — squat
shoulders: abduct 90 — lateral raise
---
Why Not Diffusion Text-to-Motion?
Neural text-to-motion systems can generate impressive movement, but they introduce problems for lightweight, programmable applications.
Resource intensive
Many systems require large models and GPU-backed inference, making real-time consumer deployment expensive.
Difficult to control
They usually produce coordinate trajectories rather than editable semantic instructions.
It is difficult to request a precise change such as:
> Reduce knee flexion by 10 degrees during the second phase.
Hard to validate
Black-box trajectories do not naturally expose readable joint rules, phase definitions, or range-of-motion limits.
Hard to debug
When a movement looks wrong, developers may not know which semantic instruction caused the problem.
---
The Posecode Approach
Posecode uses a lightweight, text-driven pipeline.
- **Readable:** movements are stored as small .posecode documents.
- **Structured:** joints, actions, angles, timings, and constraints are explicit.
- **Editable:** developers and models can modify individual movement properties.
- **Fast:** parsing and rendering happen client-side.
- **Deterministic:** the same Posecode input produces the same validated representation.
- **Inspectable:** parser warnings and fidelity checks explain problems.
- **Agent-friendly:** the MCP server exposes generation, validation, critique, and sharing tools.
- **Safety-aware:** authored and IK-generated angles are constrained by configured range-of-motion limits.
---
The Idea in 30 Seconds
A .posecode file describes movement as timed phases with targeted joint actions.
| 1. Write .posecode | 2. Render the movement |
| :--- | :--- |
| **posecode** exercise "Body-weight squat" **rig** humanoid **pose** start = standing **step** "Descend" 1.6s settle: hips: flex 80 knees: flex 95 ankles: dorsiflex 14 ground-lock: feet cue "Sit the hips back" **step** "Drive up" 1.2s drive: hips: flex 0 knees: flex 0 ankles: dorsiflex 0 ground-lock: feet **repeat** 8 | |
---
> **OpenAI Build Week 2026:** Posecode existed before the hackathon. During Build Week, the project was extended using **Codex** — running on **GPT-5.6** — as the primary engineering tool for a real batch of shipped work: motion/grounding quality, language contract diagnostics, licensing restructuring, release automation, and product-facing pages. The sections below distinguish previous work from Build Week work using actual commit history, not a roadmap.
---
OpenAI Build Week Extension
What existed before Build Week
Before Build Week, Posecode already included:
- the core .posecode domain-specific language,
- a parser and intermediate motion representation,
- basic range-of-motion validation,
- a Three.js/WebGL renderer,