| Crates.io | colorimetry-plot |
| lib.rs | colorimetry-plot |
| version | 0.0.8 |
| created_at | 2025-09-07 20:50:44.91138+00 |
| updated_at | 2025-09-07 20:50:44.91138+00 |
| description | SVG plots for the colorimetry crate |
| homepage | |
| repository | https://github.com/harbik/colorimetry/plot |
| max_upload_size | |
| id | 1828516 |
| size | 151,842 |
This colormimetry library provides functionality for generating SVG-based color plots,
with both low-level and higher level API, based on top of the Rust-SVG library.
It includes generating basic 2D (x,y) charts composed of several layers, and more complex chromaticity diagrams with
the spectral locus, and gamut fills.
Here is an example of a XY Chromaticity Diagram for the DisplayP3 color space, using the CIE 2015 observer:
Plots are built up in
Layers using coordinate transformations between plot space and world coordinates.
chart: Chart composition and rendering.layer: Layered rendering support for compositing multiple plot elements.rendable: Traits and types for objects that can be rendered to SVG.spectrum: Spectrum data visualization and color representation.style_attr: SVG styling attributes and utilities.svgdoc: SVG document creation and manipulation.view: Viewport and plot area management.