Mandelbulb

The Mandelbulb is a three-dimensional analogue of the Mandelbrot set, constructed by Daniel White and Paul Nylander using spherical coordinates.[1]

A canonical 3-dimensional Mandelbrot set does not exist, since there is no 3-dimensional analogue of the 2-dimensional space of complex numbers. It is possible to construct Mandelbrot sets in 4 dimensions using quaternions. However, this set does not exhibit detail in all dimensions like the 2D Mandelbrot set.

White and Nylander's formula for the "nth power" of the 3D vector \langle x, y, z\rangle is

\langle x, y, z\rangle^n = r^n\langle\sin(n\theta)\cos(n\phi),\sin(n\theta)\sin(n\phi),\cos(n\theta)\rangle

where

\begin{align}r&=\sqrt{x^2%2By^2%2Bz^2} \\
 \phi&=\arctan(y/x)=\arg (x%2Byi) \\
 {\rm and\ } \theta&=\arctan(\sqrt{x^2%2By^2}/z)=\arccos(z/r).\end{align}

They use the iteration z\mapsto z^n%2Bc where z^n is defined as above and a+b is a vector addition.[2] For n > 3, the result is a 3-dimensional bulb-like structure with fractal surface detail and a number of "lobes" controlled by the parameter n. Many of their graphic renderings use n = 8.

Contents

Quadratic formula

Other forumulae come from identities which parametrise the sum of squares to give a power of the sum of squares such as:


(x^2-y^2-z^2)^2%2B(2 x z)^2%2B(2xy)^2 = (x^2%2By^2%2Bz^2)^2

which we can think of as a way to square a triplet of numbers so that the modulus is squared. So this gives, for example:


x\rightarrow  x^2-y^2-z^2%2Bx_0

y\rightarrow  2 x z%2By_0

z\rightarrow  2 x y %2Bz_0

or various other permutations. This 'quadratic' formula can be applied several times to get many power-2 formula.

Cubic formula

Other forumulae come from identities which parametrise the sum of squares to give a power of the sum of squares such as:


(x^3-3xy^2-3xz^2)^2%2B(y^3 - 3 y x^2 %2B y z^2)^2%2B(z^3 - 3 z x^2 %2B z y^2)^2 = (x^2%2By^2%2Bz^2)^3

which we can think of as a way to cube a triplet of numbers so that the modulus is cubed. So this gives:


x\rightarrow  x^3 - 3 x (y^2 %2B z^2) %2B x_0

or other permutations.


y\rightarrow 
-y^3 %2B 3 y x^2 - y z^2  %2B y_0

z\rightarrow  
z^3 - 3 z x^2 %2B z y^2 %2B z_0

for example. Which reduces to the complex fractal w\rightarrow w^3%2Bw_0 when z=0 and w\rightarrow \overline{w}^3%2Bw_0 when y=0.

There are several ways to combine two such `cubic` transforms to get a power-9 transform which has slightly more structure.

Quintic formula

Another way to create Mandelbulbs with cubic symmetry is by taking the complex iteration formula z\rightarrow z^{4m%2B1} %2B z_0 for some integer m and adding terms to make it symmetrical in 3 dimensions but keeping the cross-sections to be the same 2 dimensional fractal. (The 4 comes from the fact that i^4=1.) For example, take the case of z\rightarrow z^5 %2B z_0. In two dimensions where z=x%2Biy this is:


x\rightarrow x^5-10 x^3 y^2 %2B 5 x y^4 %2B x_0

y\rightarrow y^5-10 y^3 x^2 %2B 5 y x^4 %2B y_0

This can be then extended to three dimensions to give:


x\rightarrow 
x^5 - 10 x^3 (y^2 %2B A y z %2B z^2) %2B 5 x (y^4 %2B B y^3 z %2B C y^2 z^2 %2B B y z^3 %2B z^4) %2B D x^2 y z (y%2Bz) %2B x_0

y\rightarrow 
y^5 - 10 y^3 (z^2 %2B A x z %2B x^2) %2B 5 y (z^4  %2B B z^3 x %2B  C z^2 x^2  %2B B z x^3 %2B x^4) %2B D y^2 z x (z%2Bx)%2B y_0

z\rightarrow  
z^5 - 10 z^3 (x^2 %2B A x y %2B y^2) %2B 5 z (x^4  %2B B x^3 y %2B C x^2 y^2  %2B B x y^3 %2B y^4) %2B D z^2 x y (x%2By) %2Bz_0

for arbitrary constants A,B,C and D which give different Mandelbulbs (usually set to 0). The case z \rightarrow z^9 gives a Mandelbulb most similar to the first example where n=9. An more pleasing result for the fifth power is got basing it on the formula: z\rightarrow -z^5 %2B z_0.

Power Nine formula

This fractal has cross-sections of the power 9 Mandelbrot fractal. It has 32 small bulbs sprouting from the main sphere. It is defined by, for example:


x\rightarrow 
x^9-36 x^7 (y^2%2Bz^2)%2B126 x^5 (y^2%2Bz^2)^2-84 x^3 (y^2%2Bz^2)^3%2B9 x (y^2%2Bz^2)^4 %2B x_0

y\rightarrow 
y^9-36 y^7 (z^2%2Bx^2)%2B126 y^5 (z^2%2Bx^2)^2-84 y^3 (z^2%2Bx^2)^3%2B9 y (z^2%2Bx^2)^4 %2B y_0

z\rightarrow 
z^9-36 z^7 (x^2%2By^2)%2B126 z^5 (x^2%2By^2)^2-84 z^3 (x^2%2By^2)^3%2B9 z (x^2%2By^2)^4 %2B z_0

These formula can be written in a shorter way:


x\rightarrow 
\frac{1}{2}(x%2Bi\sqrt{y^2%2Bz^2})^9%2B\frac{1}{2}(x-i\sqrt{y^2%2Bz^2})^9%2Bx_0

and equivalently for the other coordinates.

Spherical Formula

A perfect spherical formula can be defined as a formula:


(x,y,z)\rightarrow( f(x,y,z)%2Bx_0, g(x,y,z) %2B y_0, h(x,y,z) %2B z_0 )

where


(x^2%2By^2%2Bz^2)^n = f(x,y,z)^2%2B g(x,y,z)^2%2Bh(x,y,z)^2

where f,g and h are nth power rational trinomials and n is an integer. The cubic fractal above is an example.

Taffy

Shapes with long strands are commonly described as looking like taffy and are considered less appealing.

Idealised 3D Mandelbrot Fractal

In the fractal community an idealised 3D Mandelbrot is considered to resemble a hierarchy of spheres just as the 2D Mandelbrot resembles a hierarchy of circles. The branch like structures of the 2D Mandelbrot should become twig-like structures of the 3D Mandelbrot. Such a fractal is considered the 'Holy Grail' of 3D fractal art.

See also

References

External links