EasyLive2D/relive2d
Live2D Library for Python (C++ impl): Supports model loading, lip-sync, basic face rigging, and precise click test.
What it solves
This project provides a way to load and operate Live2D models directly within Python, bypassing the need for Web Engines or indirect rendering methods. It allows developers to integrate high-quality 2D animated characters into Python-based applications using OpenGL.
How it works
The library is built as a Python C Extension that wraps the Live2D Native SDK (C++). By configuring an OpenGL context, the models can be rendered in any OpenGL-compatible window. It supports multiple versions of the Cubism SDK, providing separate modules for Cubism 2.1 (via pure Python or C++ ports) and Cubism 3.0+ (via C Extension).
Who it’s for
Developers creating virtual avatars, interactive 2D characters, or applications that require Live2D animations integrated into a Python environment (e.g., using Pygame, PyQt, or GLFW).
Highlights
- Broad Compatibility: Supports Cubism 2.1 and 3.0+ models.
- Direct Rendering: Uses OpenGL for high-performance rendering without a web browser wrapper.
- Interactive Features: Includes support for gaze tracking, click interaction, lip-syncing, and precise part-based click detection.
- UI Library Integration: Compatible with various UI libraries including Pygame, PyQt5, PySide, and GLFW.
- Fine-grained Control: Allows control over model parameters, part transparency, and motion playback callbacks.
Related
- Project
- Project
- Project
- Project