Skip to main content

Browser-based MuJoCo simulation with real-time policy control

Project description

muwanx

Real-time Interactive AI Robot Simulation in Your Browser

deploy test pypi version npm version

muwanx is a powerful framework for creating interactive MuJoCo simulations with real-time policy control, running entirely in the browser. Built on top of MUjoco WAsm, onNX runtime, and three.js, it enables easy sharing of AI robot simulation demos as static sites, perfect for GitHub Pages hosting.

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 'muwanx[dev]', 'muwanx[examples]'

or with npm:

npm install muwanx

You can run the demo using the uv command with the python package muwanx[examples]:

uv run full

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

muwanx-0.0.8.tar.gz (12.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

muwanx-0.0.8-py3-none-any.whl (13.0 MB view details)

Uploaded Python 3

File details

Details for the file muwanx-0.0.8.tar.gz.

File metadata

  • Download URL: muwanx-0.0.8.tar.gz
  • Upload date:
  • Size: 12.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for muwanx-0.0.8.tar.gz
Algorithm Hash digest
SHA256 ece546afb41137b0be724966f2baa9c23b8bc32a6bf44c5ca5e3f9b5c85016c7
MD5 5839be4e3b1267952c85432181bdefc9
BLAKE2b-256 dc47ccbbfb55bec77ab8230ebed8b185562631e5a80f0801f8d4f3cdab8cbafe

See more details on using hashes here.

File details

Details for the file muwanx-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: muwanx-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 13.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for muwanx-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 78d7ef5b0322a0f07f92c2fa452a0398274b03607e26ac8deee041b715958553
MD5 4c181a054e8a27757afb057cb591364b
BLAKE2b-256 7b4f5c948acc1fb30d4fc2aab582990ed3e84222df5671ebe1df365b2f568a96

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page