From 0d90fc70c96e96e59573e033560879110315f8e2 Mon Sep 17 00:00:00 2001 From: Unbewohnte Date: Sun, 6 Feb 2022 17:36:40 +0300 Subject: [PATCH] Fixed stretchiness on the X-axis --- .gitignore | 3 ++- src/main.rs | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index f949d1f..a38d34b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /target /.idea -/release \ No newline at end of file +/release +mandelplot diff --git a/src/main.rs b/src/main.rs index c447922..3c596d0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -41,8 +41,8 @@ fn mandelbrot(c: num::Complex, iterations: u32) -> Option { } fn main() { - const RE_START: f64 = -2.0; - const RE_END: f64 = 1.0; + const RE_START: f64 = -2.5; + const RE_END: f64 = 1.5; const IM_START: f64 = -2.0; const IM_END: f64 = 2.0;