Skip to content

Commit 8858513

Browse files
committed
increased series approximation terms at low zoom levels to avoid rare issue
1 parent c7434d9 commit 8858513

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

high.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
1+
image_width = 2000
2+
image_height = 2000
33
rotate = 0
4-
approximation_order = 64
4+
approximation_order = 32
55
glitch_tolerance = 0.001
66
frames = 1
77
frame_offset = 0
@@ -10,4 +10,4 @@ display_glitches = false
1010
auto_adjust_iterations = true
1111
probe_sampling = 3
1212
remove_centre = true
13-
export = "png"
13+
export = "both"

src/renderer.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,9 +254,9 @@ impl FractalRenderer {
254254

255255
if self.zoom.to_float() < 1e10 {
256256
// SA has some problems with precision with lots of terms at lot zoom levels
257-
if self.series_approximation.order > 3 {
257+
if self.series_approximation.order > 8 {
258258
// Overwrite the series approximation order
259-
self.series_approximation.order = 3;
259+
self.series_approximation.order = 8;
260260
self.series_approximation.maximum_iteration = self.center_reference.current_iteration;
261261
self.series_approximation.generate_approximation(&self.center_reference);
262262
}

0 commit comments

Comments
 (0)