Getting started
Vuer quick start and basic usage patterns for real-time 3D visualization in robotics and AI applications (plugin:vuer@vuer)From its SKILL.md
npx -y skills add vuer-ai/vuer-skill --skill getting-startedAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.0 KB, as published. Nobody here has run it
Vuer Quick Start
Vuer: Python async backend (aiohttp) <--WebSocket--> Browser client (Three.js)
Minimal Example
from vuer import Vuer, VuerSession
from vuer.schemas import DefaultScene, Box, Sphere
app = Vuer()
@app.spawn(start=True)
async def main(session: VuerSession):
session.set @ DefaultScene(
Box(key="box", args=[0.2, 0.2, 0.2]),
Sphere(key="sphere", args=[0.1], position=[0.5, 0, 0]),
)
await session.forever()
View at https://vuer.ai (connects to ws://localhost:8012).
Session APIs
| API | Purpose |
|---|---|
session.set @ Scene(...) | Initialize root scene (once) |
session.upsert @ Element(...) | Update or insert element |
session.update @ Element(...) | Update existing only |
session.add @ Element(...) | Add new element |
session.remove @ "key" | Remove by key |