2 个版本
0.1.1 | 2019 年 2 月 20 日 |
---|---|
0.1.0 | 2019 年 2 月 10 日 |
451 在 可视化 中排名
每月 62 次下载
12KB
164 行
Dave Green 的 'cubehelix' 颜色方案。
请参阅 cubehelix 主页:
https://www.mrao.cam.ac.uk/~dag/CUBEHELIX/
计算来源:
http://astron-soc.in/bulletin/11June/289392011.pdf
示例
use cube_helix::CubeHelix;
// Get default values
let ch: CubeHelix = Default::default();
// Returns color white: (255,255,255)
let colors = ch.get_color(1.0);