changed pixel size from 1-2 to 1

This commit is contained in:
AtHeartEngineer
2023-01-30 08:59:49 +00:00
parent 9f86717574
commit 06de9fc0dc
2 changed files with 3 additions and 2 deletions

Binary file not shown.

View File

@@ -131,12 +131,13 @@ impl Bit {
let x = random_range_f64(0.0, width as f64);
let y = random_range_f64(0.0, height as f64);
//log!("New Bit: {}x{}", x, y);
let max_size = random_range(1, MAX_SIZE);
let size = random_range(1, max_size);
//let max_size = random_range(1, MAX_SIZE);
//let size = random_range(1, max_size);
//log!("h: {}, {}", HUE_START, HUE_END);
// let hue = random_rgb();
// let lightness = random_range(MIN_LIGHT, MAX_LIGHT);
// let saturation = SATURATION;
let size = 1;
let (hue, saturation, lightness) = random_color();
let transparency = random_range(MIN_TRANSPARENCY, MAX_TRANSPARENCY);
let hsla = HSLA {