Mandelbrot/Phoenix — Fantastic Fractals

Mandelbrot set

The Mandelbrot set is one of the most famous fractals, known for its intricate boundary. It is a set of complex numbers, which are numbers that can be written in the form , where and are real numbers and is the imaginary unit, with the property that .

The set is defined by a simple iterative formula. For each complex number , we generate a sequence of complex numbers starting with . Each next number in the sequence is calculated using the previous one:

If this sequence remains "bounded" (meaning the numbers in the sequence do not escape to infinity), then the complex number is part of the Mandelbrot set. In practice, we check if the magnitude of (its distance from the origin, ) exceeds a certain value, typically 2. If it stays within this boundary after many iterations, we consider to be in the set.

The colors in the visualization of the fractal usually represent how quickly the sequence for a given escapes to infinity. Points inside the set are often colored black.

Phoenix Fractal

The Phoenix fractal is a variation of the Mandelbrot set. The iteration formula introduces a "memory" effect, as the next state depends on the previous two states:

In this implementation, we are generating a Mandelbrot-like set. The point is the coordinate on the complex plane being tested, while is a fixed parameter that can be changed. The initial values are and . When , this is the standard Mandelbrot set.

For different values of the parameter , we get different Phoenix sets.

Parameters

GUI Parameters

Complex Parameters (Control Points)