Open kinematic-motion protocol

Human movement,
written as text.

Posecode is a tiny language an LLM can write — for physiotherapy, mobility, posture, yoga, and training — that renders to an animated 3D figure in the browser. Every joint is clamped to a safe range of motion, so the result is always anatomically plausible.

Open the playground →

Open source · MIT  •  60 fps in the browser  •  no GPU, no diffusion

Descend

Semantic, not matrices

Models write phases and joint angles — knees: flex 95 — not 3D transforms. It's the biomechanics an LLM already knows, given a syntax.

Anatomically safe

Every angle is hard-clamped to a clinical range of motion. A hallucinated “knee flex 200°” can't produce an impossible joint — it's pinned to 144°.

Cheap & client-side

Generation is a fraction of a cent of text. Rendering is forward kinematics in Three.js — 60fps on a phone, no diffusion model, no GPU farm.

See it move

One language, many practices

From physiotherapy and posture to yoga, dance, and sign language — a taste of the library. Every movement opens in the playground, editable and shareable.

How it works

From a sentence to a moving figure

  1. 1

    An LLM writes .posecode

    Paste the Posecode prompt into any model and ask for a movement. It replies with a small, readable document.

  2. 2

    The parser validates & clamps

    A pure-TypeScript parser turns the text into a typed IR and pins every angle to its safe range of motion.

  3. 3

    Three.js renders it

    Forward kinematics plus ground-lock IK animate a low-poly figure — live, in the browser, at 60fps.

For developers

An open core you can build on

Playground →

Live editor, 3D viewport, syntax highlighting, inline range-of-motion diagnostics.

MCP server

Let any agent validate a movement and get back a render link, natively.

npx tsx posecode-mcp

VS Code extension

Highlighting, completion, hover docs, and ROM diagnostics for .posecode files.

MIT libraries

posecode-parser, posecode-render, posecode-share — framework-agnostic, on GitHub.