3D visualization helper
Project description
viser
[ API Reference ] • pip install viser
viser
is a library for interactive 3D visualization + Python, inspired by
our favorite bits of the
Nerfstudio viewer,
Pangolin,
rviz, and
meshcat.
Core features:
- Web interface for easy use on remote machines.
- Pure-Python API for sending 3D primitives to the browser.
- Python-configurable inputs: buttons, checkboxes, text inputs, sliders, dropdowns, gizmos.
- Support for multiple panels and view-synchronized connections.
Running examples
# Clone the repository.
git clone https://github.com/brentyi/viser.git
# Install the package.
# You can also install via pip: `pip install viser`.
cd ./viser
pip install -e .
# Run an example.
pip install -r ./examples/requirements.txt
python ./examples/4_gui.py
After an example script is running, you can connect by navigating to the printed
URL (default: http://localhost:8080
).
Setup (client development)
This is only needed for client-side development. The automatically hosted viewer should be sufficient otherwise.
cd ./viser/viser/client
yarn
yarn start
Interactive SMPL-X Example
https://user-images.githubusercontent.com/6992947/228734499-87d8a12a-df1a-4511-a4e0-0a46bd8532fd.mov
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-0.0.2.tar.gz
.
File metadata
- Download URL: viser-0.0.2.tar.gz
- Upload date:
- Size: 2.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.8.16 Linux/5.15.0-1035-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca9d094e9ac383ab47ea4511b6e72f220b23f5068b73b7b9ccf2d13bd8ad54f0 |
|
MD5 | 9cad3e88ed96b6b73c89b903212d8900 |
|
BLAKE2b-256 | 44977faa52abe80605f0f491129afeeb3a9b31c32f166520f121dff44d7dac3d |
File details
Details for the file viser-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: viser-0.0.2-py3-none-any.whl
- Upload date:
- Size: 2.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.8.16 Linux/5.15.0-1035-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18c57ea4b1ecc114ef5116deab2d20099faba2ae01f99bf1ddc4c70eca66dbef |
|
MD5 | e37fc178ab07faf9399e7c8ab804e7ce |
|
BLAKE2b-256 | b2e99385ef4e99786cab5f55bba25d2d58360492de1798730f083ed3ed483071 |