Browse Source

Fixed stretchiness on the X-axis

main
Unbewohnte 3 years ago
parent
commit
0d90fc70c9
  1. 1
      .gitignore
  2. 4
      src/main.rs

1
.gitignore vendored

@ -1,3 +1,4 @@
/target /target
/.idea /.idea
/release /release
mandelplot

4
src/main.rs

@ -41,8 +41,8 @@ fn mandelbrot(c: num::Complex<f64>, iterations: u32) -> Option<u32> {
} }
fn main() { fn main() {
const RE_START: f64 = -2.0; const RE_START: f64 = -2.5;
const RE_END: f64 = 1.0; const RE_END: f64 = 1.5;
const IM_START: f64 = -2.0; const IM_START: f64 = -2.0;
const IM_END: f64 = 2.0; const IM_END: f64 = 2.0;

Loading…
Cancel
Save