Docs

rig-c is a set of small packages that hand files to each other: a painting split into layers goes in at one end, and a rig that plays in a browser, a game engine, or the Spine editor comes out at the other. These pages explain what each package is for and how it works. Flags, schemas, and every rule live in the package's own repository — each page links there.

Start here

Pick the row that matches what you already have. Each route starts there; you do not need every package. On narrow screens, scroll the table horizontally.

I want to…Have readyMinimum packagesWhat comes outNext step
Start a projectThe user's direction and a new or empty project folder; Bun 1.4.0+ and Git@rig-c/create (installs pinned rig-c dependencies at init)Project scaffold, interview and a plan for the user to signCreate: install — bunx rig-create init p1
Start from a painting and layersPainting, full-figure and head layers (See-through or layered PSD), joints and a corrected config@rig-c/parts + @rig-c/core to buildParts, rig/motion specs, a gated native model and Spine exportGetting Started — prepared inputs through a first build and browser playback
Play an existing compiled rigNative skeleton.model.json and its image pages; for a host, a PixiJS, Phaser or Three.js scene@rig-c/play; add only the matching @rig-c/pixi, @rig-c/phaser or @rig-c/three and host package for an engine sceneA rig playing in a page or host scenePlay: a minimal page; for a host, Adapters
Apply a pose sequenceBody-18 sequence (or COCO-17 converted by clean), target rig spec with its parts, explicit bone map; clean before retargeting@rig-c/pose + @rig-c/coreMotion spec, optional report and gated compiled buildPose: inputs and outputs
Give a painted head volume when the gaze movesAn assembled Parts build whose config declares turn.roles, and per-part depth maps from a depth model you run yourself (or See-through's own sheets)@rig-c/parts + @rig-c/corePer-part depth sheets, turn / tilt animations and yaw_dial / pitch_dial on a gated buildDepth-driven rigging — the effect, the two stages, how to pick a painting and judge the result
Add interactive head/gaze controlsCompiled native model and image pages with declared yaw/pitch slider dials; gaze needs its own declared dialsFor the adapter example: @rig-c/play + @rig-c/core (model reader; the pinned example retains its original import path) + one host adapter and host package; example-side pointer helperPointer-driven control of the rig's declared slidersAdapter controls guide — helper, required dials and refusal rules
Inspect, correct and review an agent's resultExisting output folder; references if available. Apply also needs original reproducible config and parts, plus source inputs for edits that use them@rig-c/review for inspection/feedback; Apply also needs the original producer installedLocal inspection, source-bound feedback; eligible Apply edits rebuild in scratchReview: inputs and outputs

Painting and layer generation happen before CPU-only rig-c processing. The walkthrough starts with prepared layers; image models and See-through have their own requirements. Compiled-model playback skips both input generation and rig authoring. If you have Spine data instead, use the Spine playback path, not Play's native-model loader. Keep the inputs' provenance and asset and playback licensing with the route you choose; the walkthrough's sample inputs are CC BY-NC 4.0.

For interactive work, compare 2D, depth-driven 2.5D and full 3D capabilities first. The adapter guide's current example uses its public slider fixture; it does not establish playback of a newly released depth producer. The standalone head-turn preview runs its own frozen scene format, separate from that integration.

Structural checks do not judge how a rig looks. A person still needs to inspect the result. Review can inspect without a producer handoff; Apply requires the original producer to reproduce the inspected build. Review authors no motion keys itself, and the source files stay unchanged.

  • Capabilities: Capability matrix: cut-out 2D, Core depth-driven rotation, the released Parts producer and the standalone preview, with inputs, controls, outputs, playback evidence and full-3D limits.
  • Getting Started: Pinned CPU-only, no-Python recipe from prepared example layers and hand-placed joints through idle, wave and hello with hair/skirt physics to browser playback. Historical 2026-10-21 Apple M4 durations cover steps 1-10 including 9b/9c; a separate Linux reproduction and the upstream rolling-latest CI have their own records.
  • Create — @rig-c/create: @rig-c/create scaffolds a rig-c project, records the user's direction and interview, and keeps its signed plan and approvals. A project moves through eleven stages: interview → plan-approved → parts → parts-review → rigging-interview → rigging → rig-review → post-interview → post → direction-review → accepted, with human acts made in Review and recorded by create's writers.
  • Parts — @rig-c/parts: @rig-c/parts is a Bun CLI that turns one character painting and its See-through layer decomposition into measured parts, a rig-c rig spec and an idle, gated and packed by rig-c into Spine 4.3 skeleton data.
  • Pose — @rig-c/pose: @rig-c/pose is a Bun CLI that cleans a body-18 joint-position sequence and retargets it onto a rig-c rig as gated, verified bone keys.
  • Core — @rig-c/core: @rig-c/core (convenience install name rig-c, CLI rigc) compiles a JSON rig spec and motion spec plus loose part PNGs into Spine 4.3 skeleton data, gated by named assertions so nothing invalid is written.
  • Review — @rig-c/review: @rig-c/review is a local, loopback-only CLI and browser workspace for a person to inspect a compiled rig, compare it with reference video, try setup edits that the installed producer rebuilds in scratch, and save structured, source-bound feedback for the producing agent.
  • Play — @rig-c/play: @rig-c/play is the browser runtime that loads rigc's compiled skeleton.model.json and plays it as plain DOM elements (CSS matrix per rigid slot, small canvases per mesh) or as one canvas per player.
  • Adapters — @rig-c/pixi, @rig-c/phaser, @rig-c/three: @rig-c/pixi, @rig-c/phaser and @rig-c/three play rigc's skeleton.model.json inside PixiJS, Phaser or Three.js scenes, posed through @rig-c/play and drawn with each host's native objects, without a Spine runtime.
  • Performance: Historical Play 1.17.1 versus 1.18.0 through the legacy Pixi snapshot adapter. M4 CPU gains and a separate RTX recapture retain their own decision rules; raptor/100 repeated positive costs and unresolved results remain explicit. No presentation/FPS or current-renderer claim.
  • Licensing: Licensing by path: rig-c code is MIT; rig-c's own model played by @rig-c/play or the adapters integrates no Spine Runtime; Spine data in a Spine Runtime or the Spine Editor falls under Esoteric Software's terms; sample assets carry their own licences (Getting Started's inputs are CC BY-NC 4.0).

How the pieces fit

  1. Create starts the project: it interviews you, and you sign the plan before any rigging.
  2. Parts turns the painting's layers into rig-space parts and authors a first rig over them.
  3. Pose turns a recorded body pose sequence into an animation on that rig.
  4. Core (rigc) compiles the rig and motion specs, gates them by named assertions, and writes only when every one passes.
  5. Review lets a person look at what an agent built and hand back feedback bound to a frame, bone, or slot.
  6. Play and the adapters run the compiled model in a page or a game engine with no Spine runtime.