329
GitHub Stars
1
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill vuer-ai/vuer --skill examples- SKILL.md1.7 KB
Overview
This skill provides a compact set of Vuer examples demonstrating common 3D visualization patterns for robotics and VR workflows. It focuses on animation loops, URDF robot loading, point clouds, interactivity, batch updates, frame capture, and hierarchical scene composition. The examples are ready to adapt to Python-based Vuer sessions and show practical integration points for real-time rendering and user input.
How this skill works
Each example shows minimal code to create or update scene elements via a Vuer session: spawning animation loops, setting scenes with objects, and upserting many objects in batch. Examples include loading URDF robot descriptions, pushing point cloud data, attaching movable interactive items, and capturing rendered frames. Handlers are demonstrated for receiving interaction events and printing values to the host program.
When to use it
- Prototype real-time animations or motion trajectories in a 3D scene.
- Visualize robot models from URDF with initial joint configurations.
- Render large point clouds with per-vertex color for sensor data.
- Enable user-driven object movement and capture interaction events.
- Update many objects each frame using efficient batch upserts.
- Capture high-quality screenshots from the running scene.
Best practices
- Run continuous updates from an async spawn loop and sleep to control frame rate.
- Use batch upsert for many objects to minimize round trips and improve performance.
- Store heavy buffers (point cloud vertices/colors) as typed arrays to reduce memory overhead.
- Keep a clear object key naming pattern to support incremental upserts and replacements.
- Attach event handlers for interactive objects to separate UI events from simulation logic.
Example use cases
- Animate a box along a sinusoidal path to test update latency and motion smoothness.
- Load a manipulator URDF, set joint values, and visualize kinematic poses.
- Stream LIDAR or depth camera output as a colored point cloud for inspection.
- Create a movable gripper or tool and log OBJECT_MOVE events for teleoperation.
- Perform batch placement of many primitives for synthetic scene generation or stress testing.
- Grab a rendered frame after stabilization and save a screenshot for reports or debugging.
FAQ
Adjust the sleep duration inside the async loop and the increment applied to your time variable; shorter sleeps increase frame rate but use more CPU.
What is the recommended way to update many objects each frame?
Use a single session.upsert call with a list comprehension to submit all object updates in one batch, which reduces overhead compared to individual upserts.