diff --git a/bench/programs_rust/hello-rust/src/main.rs b/bench/programs_rust/hello-rust/src/main.rs index 22a16a3..44e0df3 100644 --- a/bench/programs_rust/hello-rust/src/main.rs +++ b/bench/programs_rust/hello-rust/src/main.rs @@ -10,7 +10,7 @@ use fpga_lib::{ }; type Float = f32; -pub const ITERATIONS_SHOWN: usize = 100; +pub const ITERATIONS_SHOWN: usize = 300; pub const ASPECT_RATIO: f32 = WIDTH as f32 / HEIGHT as f32; #[derive(Clone, Copy)] @@ -42,7 +42,7 @@ panic_handler! {} #[unsafe(no_mangle)] pub extern "C" fn main() -> ! { - let mut iterations: usize = 100; + let mut iterations: usize = 300; let color_lut: [Color; ITERATIONS_SHOWN] = { let mut tab = [BLACK; _]; (0..(ITERATIONS_SHOWN - 1)).for_each(|i| { @@ -53,9 +53,9 @@ pub extern "C" fn main() -> ! { tab }; - let mut zoom_int = 2; + let mut zoom_int = 60; const DELTA: f64 = 0.1; - let mut current_pos = Complex(0.4, 0.); + let mut current_pos = Complex(1.002_674_971_219_186_5, 0.296_764_969_447_543_66); loop { let zoom = 1. / zoom_int as f64; diff --git a/bitstreams/mandelbrot-zoom.bit b/bitstreams/mandelbrot-zoom.bit new file mode 100644 index 0000000..2744de4 Binary files /dev/null and b/bitstreams/mandelbrot-zoom.bit differ