Colight
Colight is a Python library for creating interactive, JavaScript-based visuals. It provides a simple, composable way to generate plots, animations, and custom user interfaces from within a Python environment.
Key features:
- Seamless integration with Observable Plot, a layered grammar-of-graphics based library, for creating rich, interactive plots
- WebGPU-powered 3D scenes via Scene3D — point clouds, ellipsoids, cuboids, meshes, and more
- Compose plots, HTML elements, and interactive widgets using a simple, declarative syntax
- Animate plots with built-in support for sliders and frame-by-frame animations
- Embed visuals in Jupyter notebooks or standalone HTML files
- Customize every aspect of your visuals with JavaScript when needed
- A CLI for live-editing notebook-style
.pydocuments and publishing them to Markdown/HTML
Installation
To install Colight, run
pip install colight