Skip to content

Turn one illustration into an animated 2D mesh avatar with a coding agent and a local editor

Explain how to get a .mavatar file in the package README

shinshin86c30e3e8d3a84
diff --git a/.changeset/runtime-readme-export.md b/.changeset/runtime-readme-export.md
new file mode 100644
index 0000000..60f4267
--- /dev/null
+++ b/.changeset/runtime-readme-export.md
@@ -0,0 +1,5 @@
+---
+"mesh-avatar": patch
+---
+
+Explain in the package README how to get a `.mavatar` file from Mesh Avatar Studio.
diff --git a/packages/runtime/README.md b/packages/runtime/README.md
index ce125a6..a8ede26 100644
--- a/packages/runtime/README.md
+++ b/packages/runtime/README.md
@@ -10,6 +10,13 @@ npm install mesh-avatar
The package is ESM and includes TypeScript declarations. Rendering requires a browser with WebGL. It has no React dependency; the animation loop starts automatically after loading.
+## Get a `.mavatar` file
+
+Open your project in Mesh Avatar Studio and choose **Export .mavatar** in the editor header.
+The file holds the rig, the built layers, any drawn eye and mouth variants and a manifest,
+so it is all the runtime needs. You can also pack a project folder from the command line
+with `npm run pack-avatar -- projects/<name>` in the Studio repository.
+
## Load an avatar
Place an exported `.mavatar` file in your app's public assets and provide a canvas: