Julia Set - Distance Estimation

Distance Estimation

As a Julia set is infinitely thin we cannot draw it effectively by backwards iteration from the pixels. It will appear fragmented because of the impracticality of examining infinitely many startpoints. Since the iteration count changes vigorously near the Julia set, a partial solution is to imply the outline of the set from the nearest color contours, but the set will tend to look muddy.

A better way to draw the Julia set in black and white is to estimate the distance of pixels from the set and to color every pixel whose center is close to the set. The formula for the distance estimation is derived from the formula for the potential function . When the equipotential lines for lie close, the number is large, and conversely, therefore the equipotential lines for the function should lie approximately regularly. It has been proven that the value found by this formula (up to a constant factor) converges towards the true distance for z converging towards the Julia set.

We assume that is rational, that is, where and are complex polynomials of degrees m and n, respectively, and we have to find the derivative of the above expressions for . And as it is only that varies, we must calculate the derivative of with respect to z. But as (the k-fold composition), is the product of the numbers, and this sequence can be calculated recursively by, starting with (before the calculation of the next iteration ).

For iteration towards ∞ (more precisely when mn + 2, so that ∞ is a super-attracting fixed point), we have

(d = mn) and consequently:

For iteration towards a finite attracting cycle (that is not super-attracting) containing the point z* and having order r, we have

and consequently:

For a super-attracting cycle, the formula is:

We calculate this number when the iteration stops. Note that the distance estimation is independent of the attraction of the cycle. This means that it has meaning for transcendental functions of "degree infinity" (e.g. sin(z) and tan(z)).

Besides drawing of the boundary, the distance function can be introduced as a 3rd dimension to create a solid fractal landscape.

Read more about this topic:  Julia Set

Famous quotes containing the words distance and/or estimation:

    I am considered a misanthropist now and then, because I do not socialize with many people. But it’s only my mind that avoids you, my heart is still with you, and seeks the distance so that it can keep on loving you.
    Franz Grillparzer (1791–1872)

    No man ever stood lower in my estimation for having a patch in his clothes; yet I am sure that there is greater anxiety, commonly, to have fashionable, or at least clean and unpatched clothes, than to have a sound conscience.
    Henry David Thoreau (1817–1862)