Multibrot Set
Drag a slider to change the power d of the Multibrot set, the fractal of z → z^d + c, from 2 to 8, and see its symmetry change. Edit the equation.
A Multibrot set uses the iteration of the Mandelbrot set with another power: the map is z \to z^d + c , and c is in the set when the iteration does not escape to infinity. Change d to go from the Mandelbrot set at d = 2 to a set with more parts at d = 8 . At a whole number d , the set has a rotational symmetry of order d - 1 : d = 3 gives two parts and d = 5 gives four.
The power is a real number, so the function M of the document's prelude uses the polar form on real numbers. With s = a^2 + b^2 , it calculates r = s^{d/2} and w = d\arctan(b, a) , and then a \to r\cos(w) + p and b \to r\sin(w) + q . Between two whole numbers, the angle w has a jump where z crosses the negative real axis, so the picture has straight cuts that are not in the sets of whole powers.
JavaScript is required to view the interactive plot.