Simple interactive visualization of 3D point clouds using Plotly.
- Interactive 3D scatter plots with pan, zoom, and rotation
- Support for categorical and continuous color mapping
- Combine multiple plots into subplot grids
- Easy-to-use API with sensible defaults
- Type hints for better IDE support
- Plot batched point clouds (B, N, 3)
pip install cloudglancerimport numpy as np
import cloudglancer as cg
# Generate random 3D points
points = np.random.randn(500, 3)
# Create and display the plot
cg.plot(points, title="My Point Cloud", size=2.0).show()More examples are in the examples folder.
Clone the repository and install in editable mode:
git clone https://github.com/yourusername/cloudglancer.git
cd cloudglancer
python -m venv venv
source venv/bin/activate
pip install -e .pip install -e ".[dev]"- Python >= 3.9
- plotly >= 5.0.0
- pandas >= 2.0.0
- numpy >= 1.24.0
pip install build
python -m buildThis will create both wheel and source distributions in the dist/ directory.
twine upload --verbose dist/*MIT License - see LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.