Skip to content

Expand movement library across domains + add hip-hinge primitive - #1

Merged
a-baran-orhan merged 2 commits into
mainfrom
claude/market-research-expansion-3xwm6w
Jun 26, 2026
Merged

a-baran-orhan merged 2 commits into
mainfrom
claude/market-research-expansion-3xwm6w

Conversation

@a-baran-orhan

Copy link
Copy Markdown
Member

Engine: add a hinge action on the pelvis (parser action + pelvis ROM,
max 120°). The renderer counter-rotates the hips against the pelvis tip so
the legs stay planted while the torso pivots over the hip line — a true hip
hinge instead of the faked spinal roll-down. Powers deadlift, bent-over-row,
good-morning, and bow.

Content: 26 new curated .movit examples across Education (single-joint ROM
demos), Physiotherapy, Desk & posture, Sports/Martial arts, and Dance (the
flagship, incl. an 8-count dance-phrase) plus hinge showcases. All render on
the v0.1 rig with zero ROM warnings. Registered in the playground presets
with domain tags so the gallery auto-groups them.

Tests: new examples.test.ts parses every example and asserts zero errors and
zero ROM warnings; hinge parse + ROM-clamp tests; a render test asserting the
hip counter-rotation keeps the thighs vertical under a pelvis hinge.

Docs: new docs/market-research.md (go-to-market + per-domain briefs, Dance as
flagship); SPEC.md and llm-authoring.md document hinge and add a
domain/dance authoring guide; ROADMAP marks the hinge unlock shipped.

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_018WCktDrKYZpJjCb2apbqWp

claude added 2 commits June 25, 2026 19:03
Engine: add a `hinge` action on the pelvis (parser action + pelvis ROM,
max 120°). The renderer counter-rotates the hips against the pelvis tip so
the legs stay planted while the torso pivots over the hip line — a true hip
hinge instead of the faked spinal roll-down. Powers deadlift, bent-over-row,
good-morning, and bow.

Content: 26 new curated .movit examples across Education (single-joint ROM
demos), Physiotherapy, Desk & posture, Sports/Martial arts, and Dance (the
flagship, incl. an 8-count dance-phrase) plus hinge showcases. All render on
the v0.1 rig with zero ROM warnings. Registered in the playground presets
with domain tags so the gallery auto-groups them.

Tests: new examples.test.ts parses every example and asserts zero errors and
zero ROM warnings; hinge parse + ROM-clamp tests; a render test asserting the
hip counter-rotation keeps the thighs vertical under a pelvis hinge.

Docs: new docs/market-research.md (go-to-market + per-domain briefs, Dance as
flagship); SPEC.md and llm-authoring.md document `hinge` and add a
domain/dance authoring guide; ROADMAP marks the hinge unlock shipped.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018WCktDrKYZpJjCb2apbqWp
Takes on the rest of the roadmap's engine unlocks (on top of the shipped
hip-hinge), each with a matching movement batch, tests, and docs.

Shared infra:
- Generalize grounding to a bounding-box drop (index.ts) so any pose rests on
  the floor — standing/plank on feet/hands, lying/seated on back/glutes.
- Plumb new IR fields through parser/schema/clamp/timeline: Phase.reaches and
  MovitIR.props, with `prop <type>` and `reach: <effector> <target>` syntax
  (no tokenizer change).

Reach-to-target IK: wire the existing-but-unused solveCCD into the viewer. A
hand/foot reaches a body landmark, the floor, or a prop anchor; runs after
ground-lock. Movements: touch-toes, cross-body-reach.

Lying & seated base poses: add supine/prone/seated to poses.ts (grounded by the
bbox drop). Movements: glute-bridge, dead-bug, cobra, seated-forward-fold.

Scene props + anchors: new props.ts builds chair/wall/bar meshes with named
anchors merged into reach-IK. Movements: chair-sit-to-stand, box-squat,
wall-sit, dead-hang, hanging-knee-raise.

Hand/finger rig: one curl bone per finger off each wrist (mannequin + joints +
rom + `fingers` group). Movements: make-a-fist, pinch-grip, finger-spell-demo,
hand-wave.

Tests: render.test covers reach-IK convergence, lying-pose orientation +
bbox-grounding, prop anchors + reach-to-anchor, and finger curl; examples.test
auto-validates all 15 new examples parse with zero ROM warnings (125 tests).

Docs: SPEC, llm-authoring, ROADMAP (unlocks marked shipped), market-research,
and README updated for the new syntax and capabilities.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018WCktDrKYZpJjCb2apbqWp
@a-baran-orhan
a-baran-orhan merged commit 04d5ee4 into main Jun 26, 2026
devkokooo pushed a commit to devkokooo/posecode that referenced this pull request Sep 1, 2026
…r-hardening

Harden avatar selection and loading for posecode#124
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants