diff options
| author | Andreas Grois <andi@grois.info> | 2018-03-08 08:54:19 +0100 |
|---|---|---|
| committer | Andreas Grois <andi@grois.info> | 2018-03-08 08:54:19 +0100 |
| commit | a5be0db4cee80dd39705a467ebb5eb70c276e6f5 (patch) | |
| tree | 8e07bf502a33ae6395c4c5a57512d92f31dbb5ac /src/main.rs | |
| parent | 1576f7d888a6ec17e1431598700b7a270b7c7fcc (diff) | |
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 9596896..2ad54ef 100644 --- a/src/main.rs +++ b/src/main.rs @@ -134,7 +134,7 @@ fn buddhabrot(x : usize, y : usize, path_length : usize, bailout : f64, returner } let x_range = Range::new(-2.5,1.0); - let y_range = Range::new(-1.0,1.0); + let y_range = Range::new(-1.55,1.55); //set to 1.55 instead of 1 (which is the image crop range), because lower values than 1.55 cause a visible brightness border on the background for iteration 2 let mut rng = rand::thread_rng(); //println!("Worker initialized, starting calculation"); |
