Skip to content

ttktjmt/muwanx

Repository files navigation

muwanx

Real-time Interactive AI Robot Simulation in Your Browser

deploy test pypi version npm version

Create your own interactive MuJoCo simulations with real-time policy control, all running directly in the browser. It is built on top of MUjoco WAsm, onNX runtime, and three.js. This enables easy sharing of AI robot simulation demos as static sites, perfect for GitHub Pages hosting and rapid visualization of custom MuJoCo scenes with policy control.

Check out the demo ― ttktjmt.github.io/muwanx

MyoSuite Demo   MuJoCo Menagerie Demo   MuJoCo Playground Demo


Features

  • Real-time: Run mujoco simulations and policy control in real time.
  • Interactive: Change the state of objects by applying forces.
  • Cross-platform: Works seamlessly on desktop and mobile devices.
  • VR Support: Native VR viewer support with WebXR.
  • Client-only: All computation runs in the browser. No server for simulation is required.
  • Easy Sharing: Host as a static site for effortless demo distribution (e.g., GitHub Pages).
  • Customizable: Visualize your mujoco models and onnx policies quickly.

Quick Start

Muwanx can be installed with pip:

pip install muwanx

or with npm:

npm install muwanx

For detailed installation instructions, visit the documentation.

Third-Party Assets

Muwanx incorporates mujoco models from the external sources in its demo. See the respective submodule for full details, including individual model licenses and copyrights. All models are used under their respective licenses. Please review and comply with those terms for any use or redistribution.

MyoSuite LicenseMuJoCo Menagerie LicenseMuJoCo Playground License

Acknowledgments

This project was greatly inspired by the Facet project demo from the research group at Tsinghua University.
It is also built upon the excellent work of zalo/mujoco_wasm, one of the earliest efforts to run MuJoCo simulations in a browser.

License

This project is licensed under the Apache-2.0 License. When using muwanx, please retain attribution notices in the app to help other users discover this project.