File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1- image_width = 8192
2- image_height = 8192
1+ image_width = 1920
2+ image_height = 1080
33rotate = 0
44approximation_order = 64
55glitch_percentage = 0.001
@@ -12,9 +12,12 @@ probe_sampling = 12
1212remove_centre = false
1313export = " png"
1414
15+ # By default this is squared tolerance. 1e-6 works normally, 1.4e-6 is low tolerance.
16+ glitch_tolerance = 1.4e-6
17+
1518# These are experimental options
1619experimental = true
1720high_precision_data_interval = 100
1821valid_iteration_frame_multiplier = 0.75
1922valid_iteration_probe_multiplier = 0.98
20- glitch_tolerance = 1.25e-6
23+
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ impl FractalRenderer {
5151 let iteration_division = settings. get_float ( "iteration_division" ) . unwrap_or ( 0.1 ) as f32 ;
5252 let valid_iteration_frame_multiplier = settings. get_float ( "valid_iteration_frame_multiplier" ) . unwrap_or ( 0.75 ) as f32 ;
5353 let valid_iteration_probe_multiplier = settings. get_float ( "valid_iteration_probe_multiplier" ) . unwrap_or ( 0.98 ) as f32 ;
54- let glitch_tolerance = settings. get_float ( "glitch_tolerance" ) . unwrap_or ( 1e -6) as f64 ;
54+ let glitch_tolerance = settings. get_float ( "glitch_tolerance" ) . unwrap_or ( 1.4e -6) as f64 ;
5555 let high_precision_data_interval = settings. get_int ( "high_precision_data_interval" ) . unwrap_or ( 100 ) as usize ;
5656
5757 let data_type = match settings. get_str ( "export" ) . unwrap_or ( String :: from ( "COLOUR" ) ) . to_ascii_uppercase ( ) . as_ref ( ) {
@@ -292,7 +292,6 @@ impl FractalRenderer {
292292 pixel. delta_reference = pixel. delta_centre - glitch_reference_pixel. delta_centre ;
293293 } ) ;
294294
295-
296295 Perturbation :: iterate ( & mut pixel_data, & glitch_reference) ;
297296 self . data_export . export_pixels ( & pixel_data, self . maximum_iteration , & glitch_reference) ;
298297
You can’t perform that action at this time.
0 commit comments