Talk:Plotting algorithms for the Mandelbrot set

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Article needs "see also", "further reading" and "external links" sections[edit]

This article needs the above sections, but I'm not sure where to begin. Any help would be appreciated. Jdbtwo (talk) 18:00, 12 February 2020 (UTC)[reply]

Feedback from New Page Review process[edit]

I left the following feedback for the creator/future reviewers while reviewing this article: Most of the text is from the set]. In edit summary, I would add the attribution per policy..

scope_creepTalk 10:47, 3 June 2020 (UTC)[reply]

Missing section: e^(-|z|)-smoothing[edit]

I stumbled upon the following Mandelbrot animation:

https://rtricks.blogspot.com/2007/04/mandelbrot-set-with-r-animation.html

By chance I found out that there is a name for this coloring. The addition of the individual images is called e^(-|z|)-smoothing.

You can find the description here (https://eudml.org/doc/257038):

http://www.mi.sanu.ac.rs/vismath/javier/b3.htm (year: 1999)

http://math.unipa.it/~grim/Jbarrallo.PDF (year: 2002)

If you know the Julia programming language, you can try this out right away:

https://www.rosettacode.org/wiki/Mandelbrot_set#Mandelbrot_Set_with_Julia_Animation

https://www.rosettacode.org/wiki/Mandelbrot_set#Normalized_Iteration_Count.2C_Distance_Estimation_and_Mercator_Maps

Since I am not a native speaker, I cannot create this section myself.

Greetings --Majow (talk) 10:42, 7 July 2021 (UTC)[reply]

Primary Source for Mariani/Silver[edit]

I have written the following article: https://ricomariani.medium.com/the-mariani-silver-algorithm-for-drawing-the-mandelbrot-set-a71e31bc20b6

You may or may not want to use some of that information as a primary source in any future edits. It helps to support [13] if nothing else.

Mariani-Silver isn't really characterized very well in the main text. All versions of it used recursion to look for bigger regions and then divide as necessary even the very first one I wrote.

50.35.68.222 (talk) 05:37, 29 August 2021 (UTC)[reply]

Thank you for pointing this out. A Java-based implementation of the Mariani-Silver algorithm (Divide and Conquer) can be found here: https://en.wikibooks.org/wiki/Fractals/fractalzoomer#Greedy_Drawing_Algorithms and https://github.com/hrkalona/Fractal-Zoomer/tree/master/src/fractalzoomer/core/drawing_algorithms Majow (talk) 09:25, 25 September 2022 (UTC)[reply]

complex numbers[edit]

Hi. Pseudocode/code can use complex mumbers, not 2 double numbers. This makes code easier to read. --Adam majewski (talk) 08:47, 24 December 2021 (UTC)[reply]

Derivative Bailout or "derbail"[edit]

I'm not a specialist, but doesn't the derbail code always return 1024? And I also think the while loop never starts because: magn(x,y) > 4 is not true. — Preceding unsigned comment added by Philipsjps (talkcontribs) 16:23, 19 May 2022 (UTC)[reply]

A useful special case of the distance estimation formula[edit]

To understand the distance estimation formula more easily, one can consider the Julia set with as a special case: This set is simply the unit circle around the origin (cf. Julia set: Examples). Considering the associated sequence at the point , the first polynomials are , , and . The first derivatives are , , and . In general, the polynomial is obtained from the iteration rule and the result is . The derivation is obtained from the derivation rule and the result is .

If you now apply the distance estimation formula (without the factor 2), you get , and thus . This formula is a good approximation of the distance to the unit circle near the boundary: , and . The error only becomes large at greater distances from the boundary, e.g. , so here the real distance 4 is overestimated by a factor of 2.

In terms of the Mandelbrot set, this means that if the actual distance from point to the Mandelbrot set is , the distance estimation formula (without the factor of 2) returns the value . Of course, this formula only applies to points outside the Mandelbrot set.

The point can be used as a test case: its real distance from the Mandelbrot set is between 99 and 100 and can be assumed to be . Then, using the distance estimation formula, the value should be . If you now compare the reference value from Wolfram: Properties & Relations, the result is almost exactly twice the value, since the upper bound is used for this reference calculation: , so .

In fact, the real distance can now be determined from the distance estimate with the help of the Lambert W function: . For example, the distance estimate of point gives and so (cf. SymPy Gamma).

Therefore the factor 2 should not be used for the distance estimation formula, and for small distances we simply get . Majow (talk) 10:58, 5 January 2023 (UTC)[reply]

3rd pass useless[edit]

In the 3rd pass of the histogram coloring method, wouldn't total be width × height? We only need 3 passes. -sqrt(e^i pi): beep boop 13:00, 25 October 2023 (UTC)[reply]

Also, the second pass can be merged with the first one. -sqrt(e^i pi): beep boop 13:02, 25 October 2023 (UTC)[reply]