Keshin2D turns a single character illustration into a browser-based 2D avatar
Keshin2D animates layered 2D avatars offline in WebGL2 browsers and includes an AI-assisted pipeline to rig a model from one illustration.

Developer rotejin open-sourced Keshin2D on GitHub, a free web-based 2D character avatar system that runs in the browser and includes tools to build an animated avatar model starting from a single 2D character illustration.
Why it mattersGives VTubers and 2D creators a lightweight browser rig workflow starting from one finished drawing.
How the browser viewer works
Keshin2D deforms layered PNG character parts using WebGL2 meshes every frame for head turns, eye gaze, blinking, 22 facial expressions, vowel-aware mouth shapes, and hair or accessory physics. Users can drive an avatar by mouse pointer, webcam face tracking, or a 14-second scripted idle loop.
Webcam tracking uses a bundled offline copy of Google MediaPipe and microphone lip sync runs in the browser, so no video or audio leaves the device. A transparent background option and URL copy button target OBS browser sources, though OBS compatibility itself is untested by the author.
Running locally and building characters
To run the bundled models, kurage02 and chiwa, users only need Python 3.8 or later and a WebGL2 browser such as Chrome or Edge. Launching start.bat on Windows or start.sh on macOS and Linux starts a local server on port 8770, because opening index.html directly fails browser security checks.
- Creating a new avatar from one illustration requires Windows, Python 3.10+, and Node.js 22+
- The partsgen pipeline uses OpenAI Codex CLI for image redraws, Real-ESRGAN on a Vulkan GPU, and an agent such as Claude Code
- Control panel labels and character-creation guides are in Japanese, with an English README
- Uses its own model.json format and does not load Live2D files
Licence and status
Code, docs, and both bundled avatars ship under the MIT licence, allowing streaming and commercial use; bundled MediaPipe files use Apache 2.0. The author notes that webcam and mic tracking were verified only with test clips so far.



