vuer
An Event-Driven, Declarative Visualization Framework for Physical AI
Vuer is a light-weight visualization toolkit for interacting with dynamic 3D and robotics data. It is VR and AR ready, and can be run on mobile devices. To get started, just run:
pip install 'vuer==0.1.4'
Running Vuer from the Browser
Vuer can run directly in the browser via PyScript and Pyodide. Server dependencies are auto-excluded on Emscripten:
import micropip
await micropip.install("vuer")
from vuer.schemas import Scene, Box, Urdf
Note for Mac Users
If you encounter build issues with msgpack on older systems, you may need gcc@11:
brew install gcc@11
Modern versions of macOS should work with the pre-built wheels.
Here is an example that loads a URDF file and displays it in the browser. For a more comprehensive list of examples, please refer to the examples page.
from vuer import Vuer
from vuer.schemas import DefaultScene, Urdf, OrbitControls
app = Vuer()
@app.spawn(start=True)
async def main(sess):
sess.set @ DefaultScene(
Urdf(src="https://raw.githubusercontent.com/nasa-jpl/m2020-urdf-models/main/rover/m2020.urdf"),
up=[0, 0, -1], # Z-down coordinate system
bgChildren=[OrbitControls(key="OrbitControls")]
)
await sess.forever()
Vuer is built by researchers at MIT and UCSD in fields including robotics, computer vision, and computer graphics.
light-weight and performant
VR and AR ready
has a strong community support
Hackable and extensible
Open source, licensed under MIT
๐ค Using Vuer with Claude Codeยถ
Vuer includes a Claude Code skill that teaches Claude how to use the library effectively. To import, run in Claude Code:
/plugin marketplace add vuer-ai/vuer-skill
/plugin install vuer@vuer-ai-vuer-skill
See the full guide for more details.
To get a quick overview of what you can do with vuer, check out the following:
take a look at the basic tutorial or the tutorial for robotics:
browse the example gallery here
try the demo showing a Unitree Go1 robot in front of a staircase here
For more details:
A full list of visualization components: API documentation on Components.
A full list of data types: API documentation on Data Types.