Skip to content

Commit f0bd46f

Browse files
committed
changed default for automatic iteration adjustment to false
1 parent afe23fc commit f0bd46f

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

default.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
image_width = 1920
2-
image_height = 1080
3-
frames = 9999
4-
export = "colour"
1+
image_width = 2000
2+
image_height = 2000
3+
frames = 1
4+
export = "raw"
55
rotate = 0
66
glitch_tolerance = 0.000001
77
zoom_scale = 2.0

src/renderer.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ impl FractalRenderer {
4040
let remaining_frames = settings.get_int("frames").unwrap_or(1) as usize;
4141
let zoom_scale_factor = settings.get_float("zoom_scale").unwrap_or(2.0);
4242
let display_glitches = settings.get_bool("display_glitches").unwrap_or(false);
43-
let auto_adjust_iterations = settings.get_bool("auto_adjust_iterations").unwrap_or(true);
43+
let auto_adjust_iterations = settings.get_bool("auto_adjust_iterations").unwrap_or(false);
4444
let data_type = match settings.get_str("export").unwrap_or(String::from("COLOUR")).to_ascii_uppercase().as_ref() {
4545
"RAW" => DataType::RAW,
4646
"COLOUR" => DataType::COLOUR,
@@ -173,6 +173,7 @@ impl FractalRenderer {
173173

174174
// This one has no offset because it is not a glitch resolving reference
175175
Perturbation::iterate(&mut pixel_data, &self.center_reference);
176+
176177
self.data_export.export_pixels(&pixel_data, self.maximum_iteration, &self.center_reference);
177178
print!("| {:<15}", iteration_time.elapsed().as_millis());
178179
std::io::stdout().flush().unwrap();

0 commit comments

Comments
 (0)