BoneDry

Headless rigging, kinematics, and RL.

Closed-loop 4-bar XPBD, SDLS/FABRIK IK, CoR skinning, swept CCD, and a 3.9M steps/sec PufferLib C-ABI bridge in a single 1.0 MB binary.

1.03 MB native 865 KB wasm 3.4 MB rss 283 tok mcp 3.90M RL steps/sec on CPU
60 fps real-time demo rendered by BoneDry --strict PASS
BoneDry headless rigging and kinematics engine
BoneDry headless rigging and kinematics engine BoneDry-Pipe

Interactive Examples

Switch between runnable BoneDry-Pipe workflows.

BoneDry-Pipe — 2:1 Gearbox + CCD
load("gearbox.glb")
  | rig_from_parts(root="housing")
  | joint("drive", type="hinge", axis=(0, 1, 0), motor=2.0)
  | gear_couple("drive", "driven", ratio=2.0)
  | animate(duration=2.0, fps=30)
  | lint(strict=true, swept_ccd=true)
CLI Invocation
npx -y bonedry-3d eval --strict --out gear_8f.png --out gear.glb --out gear.urdf gearbox.bd
Outputs gear_8f.png (8-frame sheet) · gear.glb · gear.urdf
Verified 20.8 ms cold-start · 0 quaternion flips · exact Blow & Binstock inertia

Benchmarks

External Python oracle (bench/oracle.py) and 24-trial blind multi-model LLM ablation.

Incumbent BoneDry
Cold-start (2:1 gearbox + URDF)
824.4 ms (Blender) 20.8 ms native 39.6× faster
Peak RSS
235.9 MB (Blender) 3.4 MB native 69× less RAM
Mean cumulative LLM tokens
5,458 tok (Python/bpy) 608 tok (BoneDry-Pipe) 9.0× fewer
Blind LLM Pass@1 (24 trials)
33.3% (Python/bpy) 75.0% (BoneDry-Pipe) +41.7 pp
Median LLM execution time
697 ms 9.2 ms 75.5× faster
Metric Incumbent BoneDry Delta
Cold-start (2:1 gearbox + URDF) 824.4 ms (Blender) 20.8 ms native 39.6× faster
Peak RSS 235.9 MB (Blender) 3.4 MB native 69× less RAM
Mean cumulative LLM tokens 5,458 tok (Python/bpy) 608 tok (BoneDry-Pipe) 9.0× fewer
Blind LLM Pass@1 (24 trials) 33.3% (Python/bpy) 75.0% (BoneDry-Pipe) +41.7 pp
Median LLM execution time 697 ms 9.2 ms 75.5× faster

Architecture

Exports: .glb (skins + UCX_*) · .mjcf · .urdf · .usda · .puffer.py · UE5 / Godot / Unity

Closed-loop mechanics & IK

Exact Blow & Binstock inertia, Müller XPBD constraints (hinges, pistons, gears, tendons, 4-bar loops < 1.6e-5 m), plus Analytic, SDLS, and FABRIK IK.

CoR skinning & procedural motion

Geodesic Voxel Binding with Le & Hodgins CoR skinning, swing-twist baking, Holden critically damped springs, and Bollo quintic inertialization.

Swept CCD & track lint

Checks quaternion flips, loop seams, LDLJ jerk spikes, foot slide, skin collapse, and exact Rotational Conservative Advancement swept collisions.

PufferLib RL + policy blending

Compiles any BoneDry or Forma rig into a 1.0–3.9M SPS Rust RL environment and blends live PPO policies into procedural clips with zero pose pop.

Outputs

Rendered directly by BoneDry.