Inochi2D

Rig characters in your browserKeep the native model

Build meshes, Parameters, Bindings and animation on a lossless Inochi2D project, evaluated by the source-built WebAssembly runtime.

One authoring interface. One evaluated native document.

creator-core
import { InochiCreatorCore } from "@retalk-avatar/inochi2d-creator-core";

const core = new InochiCreatorCore({
  runtimeOptions: { wasmUrl: "/inochi2d/inochi2d.wasm" },
});

// Open the native Creator document through one source-built runtime seam.
await core.open(inxBytes, "character.inx");

// Dispatch a real Creator command; the same cursor reaches evaluated WASM state.
const update = core.dispatch({
  type: "parameter.set-cursor",
  parameterId: "Head: Yaw-Pitch",
  value: [0.35, -0.15],
});
await update.settled;

// Export the canonical native project entirely in the browser.
const exportedInx = core.export();

Create online. Keep the model native.