3D visualization + Python
Project description
viser
viser is a library for interactive 3D visualization in Python.
Features include:
- API for visualizing 3D primitives
- GUI building blocks: buttons, checkboxes, text inputs, sliders, etc.
- Scene interaction tools (clicks, selection, transform gizmos)
- Programmatic camera control and rendering
- An entirely web-based client, for easy use over SSH!
Docs and examples: https://viser.studio.
Installation
You can install viser
with pip
:
pip install viser
To include example dependencies:
pip install viser[examples]
After an example script is running, you can connect by navigating to the printed
URL (default: http://localhost:8080
).
See also: our development docs.
Acknowledgements
viser
is heavily inspired by packages like
Pangolin,
rviz,
meshcat, and
Gradio.
It's made possible by several open-source projects.
The web client is implemented using React, with:
- Vite / Rollup for bundling
- three.js via react-three-fiber and drei
- Mantine for UI components
- zustand for state management
- vanilla-extract for stylesheets
The Python API communicates via msgpack and websockets.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file viser-1.0.0.tar.gz
.
File metadata
- Download URL: viser-1.0.0.tar.gz
- Upload date:
- Size: 29.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
83dd814db11e5ca818b258ff71d527c6ddf5cdba883fba28230aec69c530bd51
|
|
MD5 |
ee1148d9a53a51c55b4b4d8f51af65fc
|
|
BLAKE2b-256 |
662131cd97b7f6dc50ea88d55039645acb9fb24a3ba1f9d15f37a17b2ebc9f1e
|
File details
Details for the file viser-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: viser-1.0.0-py3-none-any.whl
- Upload date:
- Size: 29.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
3be881a60f0295efd8a93df97646bbc04d070ccf8d16d8faf284eb3b70eda6eb
|
|
MD5 |
883031ec9431a30f0b2f65b5e049cba8
|
|
BLAKE2b-256 |
f5db12b285339515e61c372771909333c691e2f560b7f0047f46da41a0e33819
|