Mola (named after the Mola mola) is a work-in-progress realtime 3D motion-capture for vtubers.
This repository contains native display code and a web frontend for capturing and visualizing motion data.
The project aims to provide low-latency capture, simple tooling for facial/hand/pose tracking, and realtime rendering for prototyping and demos.
- Rust realtime rendering with wgpu in
display/ - Web motion capture in
mocap/web/
Prerequisites
- Rust toolchain with cargo, and all the dependencies of Bevy.
- Node.js (v16+) and npm or pnpm for the web frontend
Run the native display client (local development)
Change into the display folder and build:
cd display
cargo buildcargo run --releaseAlternatively, you can run make to debug it with hot reload.
Run the web frontend (mocap capture + UI)
Change into the web folder and install dependencies:
cd mocap/web
npm installStart the dev server:
npm run devOpen the app in your browser (usually http://localhost:3000/).
If the web motion capture client isn't run on the same host as the display client, you may need to use some proxy to enable HTTPS.
-
display/— Rust realtime renderer and pluginssrc/— main application code (camera, scene, character control, materials, api)shaders/,assets/— shaders, fonts, models and other assetsCargo.toml— Rust crate manifest
-
mocap/web/— web frontendsrc/— web app sourcepackage.json— frontend scripts and dependencies
-
top-level files:
README.md,package.json(workspace helper), project metadata
- Realtime 3D display using wgpu (in
display/) - Web UI for capture/demo (in
mocap/web/)
This project will not likely to be actively worked on.
This project is licensed under the MIT License.