2 个版本

0.1.1 2019 年 2 月 20 日
0.1.0 2019 年 2 月 10 日

451可视化 中排名

Download history 18/week @ 2024-03-29 7/week @ 2024-04-05

每月 62 次下载

MIT 许可证

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);

无运行时依赖