cube_helix 0.1.1

Rust implementation of Dave Green's cubehelix colour scheme.
Documentation
  • Coverage
  • 100%
    10 out of 10 items documented4 out of 4 items with examples
  • Size
  • Source code size: 12.8 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.43 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Homepage
  • toenmppa/cube_helix
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • toenmppa

Dave Green's 'cubehelix' colour scheme.
See cubehelix homepage at:
https://www.mrao.cam.ac.uk/~dag/CUBEHELIX/
Calculation from:
http://astron-soc.in/bulletin/11June/289392011.pdf

Examples

use cube_helix::CubeHelix;
# fn main() {
// Get default values
let ch: CubeHelix = Default::default();
// Returns color white: (255,255,255)
let colors = ch.get_color(1.0);
# }