Chasing the Hare in the Mandelbrot Set
Binary Grain and Numeric Precision
Images from the outer limits of numeric precision.
Take any numeric renderer which allows you to zoom in repeatedly. For instance a Mandelbrot set renderer, because, Mandelbrot sets are always fun. For instance this one (by yours truely). As you keep zooming in and zooming in, and, after a while, eventually, the rendered image will suddenly show pixelation. And as you are zooming in again, the pixels will just increase in size. However, this is not a fault of the visualization layer, it’s just that you hit the mathematical barrier of numeric precision. The grain in binary computers…
The Mandelbrot Set
Trying to educate anyone on the Mandelbrot set is quite a vain endeavor, nowadays. However, for completeness’ sake, here you are: The Mandelbrot set describes the limits of a growth function ( zn+1 = zn2 + x(r,i) ) of a set of complex numbers, usually visualized as a plane described by a real axis (r) and an imaginary axis (i). A test iterates over the numeric set, testing, if the growth function will stay inside a specific, absolute bound (m, usually set to 4) for a given maximum of iterations (c), or, if it will break the bound previously (tending towards infinity). If we break out, we visualize the number of iterations (n < c) this took as a color or a shade of gray in front of a black background where the growth function didn’t break the limit (m).
Since visualizations of the Mandelbrot set are well known for their fractal beauty and self-similarity, playing around with it by trying various ranges for r and i, and values for c is certainly fun. Even more so, if you can just click to zoom or select a new aspect in the rendered image, thus adding yourself to a virtually never ending loop of recursions.
Some Aspects of Beauty
Here are some of the sights which are to be found on the way…
Down the Rabbit Hole…
So what happens, if we keep zooming in?