🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

posecode-render

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

posecode-render

Render a Posecode IR as an animated low-poly mannequin with Three.js.

Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
25
-85.8%
Maintainers
1
Weekly downloads
 
Created
Source

posecode-render

Renders a posecode-parser IR as an animated low-poly mannequin with Three.js: forward kinematics plus ground-lock CCD IK, live in the browser at 60fps.

Part of Posecode: a kinematic-motion protocol LLMs can write, rendered as text-to-motion 3D animation.

Install

npm install posecode-render posecode-parser three

Usage

import { parse } from "posecode-parser";
import { createViewer } from "posecode-render";

const canvas = document.querySelector("canvas")!;
const viewer = createViewer(canvas, { autoRotate: false });

const { ir } = parse(myPosecodeSource);
if (ir) {
  viewer.load(ir);
  viewer.setLoop(true);
  viewer.play();
}

viewer.onPhase(({ phaseName, cue }) => {
  console.log(phaseName, cue);
});

No GPU, no diffusion model: generation is a fraction of a cent of text, and rendering is plain forward kinematics.

License

MIT

Keywords

posecode

FAQs

Package last updated on 08 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts