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:

    The distance that the dead have gone
    Does not at first appear—
    Their coming back seems possible
    For many an ardent year.
    Emily Dickinson (1830–1886)

    A higher class, in the estimation and love of this city- building, market-going race of mankind, are the poets, who, from the intellectual kingdom, feed the thought and imagination with ideas and pictures which raise men out of the world of corn and money, and console them for the short-comings of the day, and the meanness of labor and traffic.
    Ralph Waldo Emerson (1803–1882)