> [中文](README.md) · **English** · [한국어](README.ko.md) · [日本語](README.ja.md)

# PSD2Live
**Open-source 2D character rigging and animation editor**
Automatically build a playable first pass from a layered PSD, then refine shapes, rig skeletons, run physics and simulation, and animate in the same workspace,
before exporting to Cubism, VTube Studio, the bundled runtime, web, game engines, or video.
[](https://github.com/tsunehimatoi/psd2live/releases/latest)
[](#license)
[](#download)
[](#export-and-playback)
[](#connect-an-agent-mcp)
[Download](https://github.com/tsunehimatoi/psd2live/releases/latest) · [Quick Start](#quick-start) · [Documentation](docs/en/README.md) · [Changelog](docs/en/CHANGELOG.md) · [Roadmap](docs/en/ROADMAP.md)
PSD2Live is a complete 2D character rigging toolchain. It generates meshes, deformers, parameters, motions, and physics from a layered PSD, lets you refine everything in a desktop editor, and compiles to Cubism, its own `p2lrt` runtime, and other common formats. It ships with an independent evaluation engine, project format, and branching history. One-click generation is only the starting point: every manual edit is stored as a replayable operation and stays intact when you regenerate.
> [!NOTE]
> Cubism is the primary export target, not the ceiling of what PSD2Live can do. Features Cubism lacks—skeletons, 2D simulation, non-destructive modifiers—are baked on export into native deformers, parameters, keyforms, and pendulums. Delivered models do not depend on PSD2Live.
## Who It Is For
| If you are | What PSD2Live can do |
| --- | --- |
| **A beginner who just wants a moving model** | Name and split your layers by convention, import, pick a preset, and get a model with idle, blink, nod, and hair physics in minutes—ready to export to VTube Studio or the web |
| **Unfamiliar with rigging and want AI to help** | The local MCP server lets agents like Claude Code and Codex inspect and edit the project directly; every step enters the same undo history so you can review and revert in the UI |
| **Experienced and tired of repetitive setup** | Generate meshes, deformer chains, facial parameters, shadows, and physics in one click, then refine on the canvas; manual edits are saved as replayable operations and survive regeneration |
| **Looking for an open-source alternative** | Editor, engine, and project format are all open source; edit, preview, and export `.moc3` / `.cmo3` without relying on the official SDK |
| **Wanting capabilities beyond Cubism** | Skeletons and IK, 2D cloth and hair simulation, world lighting and shadows, modifiers, and custom algorithm plugins—all baked into native structures on export |
| **Embedding characters in your own app** | Open-source Rust runtime `p2lrt` for C / C++, .NET, Android, web, and Godot with a built-in software renderer; also exports video, image sequences, and Spine, glTF, and Unity (experimental) |
## Core Capabilities
| Area | Capabilities |
| --- | --- |
| **Auto-generation** | Recognizes Chinese, English, Japanese, and Korean layer names; generates adaptive meshes, head/body deformer chains, facial parameters, idle/blink/nod/head-shake motions, hair physics, and cloth simulation |
| **World Lighting & Shadows** | World light sphere (azimuth, elevation, style, and automatic skin tint), auto-generated cast and form shadows with manual adjustment and baking, and consistent soft-edge shadow masks across preview, raster export, and runtime |
| **Canvas Editing** | Seven modes: Select, Deform, Edit, Simulation, Skeleton, Paint, and Preview; deform brush, mesh topology editing, depth split, Warp / Rotation, and Glue; Paint supports selections, solid contour fill, edge stroke, and mesh rebuild on apply |
| **Modifiers & Plugins** | Non-destructive modifier stack (including geometric bend `geometry.bend` and built-in algorithm modules), standalone algorithm plugin development, declarative parameters, hot-swapping without restart, and shareable packaging |
| **Skeleton & Simulation** | Auto-skeleton, FK / IK, and preset motions; XPBD cloth and hair simulation with canvas capsule obstacles and painted cloth texture directions; all baked to native Cubism structures |
| **Animation & Physics** | Timeline, keyframes, and curves; parameter controller recording and motion template remapping; bake model physics and local WAV audio lip sync into editable tracks; visual pendulum editing aligned with Cubism Native Framework |
| **Textures** | Texture atlas packing, per-layer texture density, and optional 2× / 4× upscaling |
| **Compilation & Export** | All targets compile from the same neutral rig IR and emit a loss report on every export |
| **p2lrt Runtime** | Open-source Rust runtime: C ABI, software renderer, WebAssembly web player, Godot 4 node, and .NET / Android builds; matches editor evaluation pose-for-pose |
| **Agent (MCP)** | Local MCP server sharing the same edit commands and history as the UI, with atomic batch commits and dry-run previews |
## Visual Showcase
The images below use two PSDs from the [examples repository](https://github.com/tsunehimatoi/psd2live-examples) (the knee test and body-motion clips use a separate long-legged character project). Both examples were imported with the **Full** preset without manual edits; hair and skirt motion come from baked simulation. Test strips are rendered from CLI exports, and UI screenshots are captured from live editor frames.
### Editor