Examples
The case of : is the classic Mandelbrot set from which the name is derived. The sets for other values of ''d'' also show fractal images when they are plotted on the complex plane. Each of the examples of various powers ''d'' shown below is plotted to the same scale. Values of ''c'' belonging to the set are black. Values of ''c'' that have unbounded value under recursion, and thus do not belong in the set, are plotted in different colours, that show as contours, depending on the number of recursions that caused a value to exceed a fixed magnitude in the Escape Time algorithm.Positive powers
The example is the original Mandelbrot set. The examples for are often called ''multibrot sets''. These sets include the origin and have fractal perimeters, with rotational symmetry.Negative powers
When ''d'' is negative the set appears to surround but does not include the origin, However this is just an artifact of the fixed maximum radius allowed by the Escape Time algorithm, and is not a limit of the sets that actually have a shape in the middle with an no hole (You can see this by using theFractional powers
Rendering along the exponent
An alternative method is to render the exponent along the vertical axis. This requires either fixing the real or the imaginary value, and rendering the remaining value along the horizontal axis. The resulting set rises vertically from the origin in a narrow column to infinity. Magnification reveals increasing complexity. The first prominent bump or spike is seen at an exponent of 2, the location of the traditional Mandelbrot set at its cross-section. The third image here renders on a plane that is fixed at a 45-degree angle between the real and imaginary axes.Rendering images
All the above images are rendered using an Escape Time algorithm that identifies points outside the set in a simple way. Much greater fractal detail is revealed by plotting thePseudocode
ESCAPE TIME ALGORITHM = for each pixel on the screen do x = x0 = x co-ordinate of pixel y = y0 = y co-ordinate of pixel iteration := 0 max_iteration := 1000 while (x*x + y*y ≤ (2*2) and iteration < max_iteration do /* INSERT CODE(S)FOR Z^d FROM TABLE BELOW */ iteration := iteration + 1 if iteration = max_iteration then colour := black else colour := iteration plot(x0, y0, colour) The complex value ''z'' has coordinates (''x'',''y'') on the complex plane and is raised to various powers inside the iteration loop by codes shown in this table. Powers not shown in the table can be obtained by concatenating the codes shown.References
{{DEFAULTSORT:Multibrot Set Complex dynamics Fractals Articles containing video clips Articles with example pseudocode