Skip to main content

Simple interactive visualization of 3D point clouds

Project description

PyPI version

cloudglancer

Simple interactive visualization of 3D point clouds using Plotly.

Features

  • 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)
  • Export a rotating turntable GIF of any figure

Installation

pip install cloudglancer

Quick Start

import 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()

Export a rotating GIF of the same figure:

fig = cg.plot(points, size=2.0)
cg.animate(fig, "rotation.gif", axis="z", n_frames=60)

More examples are in the examples folder.

Development Installation

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 .

Install with Development Dependencies

pip install -e ".[dev]"

Requirements

  • Python >= 3.9
  • plotly >= 5.0.0
  • pandas >= 2.0.0
  • numpy >= 1.24.0

Building the Package

pip install build
python -m build

This will create both wheel and source distributions in the dist/ directory.

Deploy to PyPi

twine upload --verbose dist/*

License

MIT License - see LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cloudglancer-0.1.5.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cloudglancer-0.1.5-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file cloudglancer-0.1.5.tar.gz.

File metadata

  • Download URL: cloudglancer-0.1.5.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for cloudglancer-0.1.5.tar.gz
Algorithm Hash digest
SHA256 54f1b2d5f968b9bcc20a92c8838d6379d3087e2526d44bbc2c42febdb8160f4a
MD5 36e66173477fa1190c34665f2b1e8010
BLAKE2b-256 e801359096c1bd74447f2d68e6f314882db613611724469261ef4f44ff2be657

See more details on using hashes here.

File details

Details for the file cloudglancer-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: cloudglancer-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for cloudglancer-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 873084d116a0760f16621f65d90719a8042a60f2a5bb6970643896d0c8569f43
MD5 e34c5436a3844aee9c4aed432ff336b4
BLAKE2b-256 c4992f9113ae819d9282a0cc8df7855cb68da55b1a7d311b2cd8a3c01e936662

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page