git404hub

what is litert.js-mocap fr?

andrisgauracs/litert.js-mocap — explained in plain English

Analysis updated 2026-05-18

37JavaScriptAudience · developerComplexity · 3/5LicenseSetup · easy

tl;dr

A browser based motion capture app that uses your webcam and an AI pose model to animate a 3D character in real time, fully offline.

vibe map

mindmap
  root((LiteRT Mocap))
    What it does
      Webcam pose tracking
      Drives 3D character
      Runs fully in browser
      Records and exports motion
    Tech stack
      JavaScript
      LiteRT.js
      Three.js
      BlazePose
    Use cases
      Prototype motion capture
      Export BVH to Blender
      Animate a custom avatar
    Audience
      Developers
      3D artists

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Capture your own body motion through a webcam and drive a 3D character with it live.

VIBE 2

Record a motion session and export it as BVH to animate a character in Blender.

VIBE 3

Swap in a custom character model from Mixamo or Ready Player Me by mapping its bones.

VIBE 4

Prototype browser based motion capture without any server or cloud dependency.

what's the stack?

JavaScriptLiteRT.jsThree.jsWebGPUBlazePose

how it stacks up fr

andrisgauracs/litert.js-mocapangelsswordstudios/angelssword-adventurers-creatoravacocloud/avaco-railway
Stars373737
LanguageJavaScriptJavaScriptJavaScript
Setup difficultyeasyeasymoderate
Complexity3/52/53/5
Audiencedevelopergeneralops devops

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · easy time til it works · 5min

Works best in a WebGPU capable browser like recent Chrome, falls back to a slower CPU mode otherwise.

The pose model and runtime are Apache 2.0 licensed and the included character models are MIT licensed, both permissive and allowing commercial use.

in plain english

LiteRT Mocap turns your webcam into a motion capture rig that runs entirely inside your web browser. It watches your body through the camera, figures out the position of 33 points on your body using Google's BlazePose AI model, and uses that to drive a rigged 3D character on screen in real time. Everything happens locally after you install it, there is no server involved and no data sent to the cloud, and it even works offline. To try it, you install the project's dependencies and run one command, which starts a local website you open in your browser. The app works best in Chrome or another browser that supports WebGPU for faster processing, and it automatically falls back to running on the CPU with a visible notice if WebGPU is not available. A heads up display shows the frame rate and how long each prediction takes. The pose detection model ships with the project already, so nothing extra needs to be downloaded to get started. Two ready made 3D characters are included as well, one playful robot and one standard humanoid figure, both taken from a well known open source three.js example collection. You can also bring your own character model, such as one exported from Mixamo or Ready Player Me, by dropping in its file and adding a small entry that maps its bone names to the tracked body parts. At the core of the project is a piece of math called retargeting, which converts the raw body point positions the AI model detects into rotations for each bone of the 3D character, working from the body's center outward so the character's pose stays consistent. Extra touches include a mirror mode so the character moves like your reflection, smart handling for when only your upper body is visible in frame, and the ability to record a session and export it either as a JSON file or as a BVH file that can be imported into Blender for further animation work. The pose model comes from Google's MediaPipe project under the Apache 2.0 license, the runtime is Google's LiteRT.js also under Apache 2.0, and the included 3D characters come from the three.js examples project under the MIT license.

prompts (copy fr)

prompt 1
Walk me through running LiteRT Mocap locally with npm install and npm run dev.
prompt 2
Explain how LiteRT Mocap's retargeting math converts pose landmarks into bone rotations.
prompt 3
Show me how to add my own custom character to LiteRT Mocap's character dropdown.
prompt 4
How do I export a recorded motion capture session as BVH for use in Blender?
prompt 5
Why does LiteRT Mocap fall back to CPU when WebGPU isn't available, and how do I check which is active?

Frequently asked questions

what is litert.js-mocap fr?

A browser based motion capture app that uses your webcam and an AI pose model to animate a 3D character in real time, fully offline.

What language is litert.js-mocap written in?

Mainly JavaScript. The stack also includes JavaScript, LiteRT.js, Three.js.

What license does litert.js-mocap use?

The pose model and runtime are Apache 2.0 licensed and the included character models are MIT licensed, both permissive and allowing commercial use.

How hard is litert.js-mocap to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is litert.js-mocap for?

Mainly developer.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.