Version bump rand

This commit is contained in:
2021-05-31 10:10:45 -07:00
parent 9dcb36612d
commit bf8b533b15
13 changed files with 1179 additions and 1127 deletions

View File

@@ -33,7 +33,7 @@ fn hsv_to_rgb(h: f32, s: f32, v: f32) -> Vec3 {
fn generate_palette(num: usize) -> Vec<Vec3> {
let mut rng = rand::thread_rng();
let mut random = || rng.gen_range(0.0, 0.1);
let mut random = || rng.gen();
// use golden ratio
let golden_ratio_conjugate = 0.618_034;
let mut h = random();