Registry / utility / colorgrad

colorgrad

JSON →
library0.8.0rscratesunverified

Color scales library for data visualization, charts, games, generative art and others.

# Cargo.toml [dependencies] colorgrad = "0.8.0"
INSTALL
IMPORT
SIG · COLORGRAD
C
colorgrad
utilityrustv0.8.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Gradient
✓ use colorgrad::Gradient;

Creates a rainbow gradient and samples a color at 50%.

use colorgrad::Gradient; fn main() { let grad = colorgrad::rainbow(); let color = grad.at(0.5); println!("Color at 0.5: {:?}", color); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.8.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
14
Resources
colorgrad — cargo add colorgrad · libregistry