aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/hitomezashi.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hitomezashi.rs b/src/hitomezashi.rs
index e8d4a65..7b74998 100644
--- a/src/hitomezashi.rs
+++ b/src/hitomezashi.rs
@@ -34,8 +34,8 @@ pub fn hitomezashi(width: usize, height: usize, skew: Option<f64>) {
let mut rng = rand::thread_rng();
let brn = Bernoulli::new(skew).unwrap();
- // the first square (upper left corner) is always transparent
- let init_bit: bool = true;
+ // the first square (upper left corner) is always opaque
+ let init_bit: bool = false;
let mut row_bits: Vec<bool> = Vec::with_capacity(height - 1);