diff --git a/src/main.rs b/src/main.rs index 41bb397..82c8bdb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2,7 +2,7 @@ use image::{ImageBuffer, Rgb}; use rayon::prelude::*; // Number of frames to generate. -const FRAMES = 20; +const FRAMES: u32 = 20; // Frame size. const IMGW: u32 = 1024; @@ -14,8 +14,8 @@ const MAXITER_F64: f64 = MAXITER as f64; const ESCRAD: f64 = 2.4; // Target coordinates (what to "zoom in on" with each new frame.) -const TARGX = -0.4638686756; -const TARGX = 0.0723647; +const TARGX: f64 = -0.4638686756; +const TARGX: f64 = 0.0723647; fn main() { let w = IMGW as f64;