Keshin2D

rotejin

A browser-based 2D avatar player and model builder that animates a single character illustration using WebGL2 and MediaPipe face tracking.

PythonCreated

What is rotejin/Keshin2D?

Keshin2D is a browser-based 2D character avatar player and model creation tool built with Python and WebGL2. It lets you animate a layered character illustration in real time from a single piece of artwork.

Using WebGL2 mesh deformation and MediaPipe face tracking, the player updates head tilt, gaze, blinking, expressions, lip sync, and secondary hair or accessory motion on every frame. It requires no dedicated VTuber modeling software—only Python and a modern browser—and includes sample models built with the repo's pipeline.

VTubers, streamers, and web developers looking for a lightweight, open-source 2D avatar system for OBS or browser overlays can run Keshin2D locally.

avatarcharactercodexface-trackingimage-generationlip-syncmediapipeobs