A variation of the Mandelbrot fractal, it creates a fractal pattern that resembles a buning ship.
The equation for the mandelbrot fractal is as follows
f(z) = z 2 + c
where,z
andc
are complex numbers
The only change we make here is to z
by taking it's absolute value
f(z) = | z | 2 + c
Such a small change is enought to change the pattern entirely from that of a bean(Mandelbrot) to what it is now.
We plot points on the screen such that the function above is recursively iterated to see that it does not diverge to infinity. The boundary that demarcates this diversion is a parameter that must be set so that we can stop iterating once it crosses it and is effectively the cicumference of a cirle drawn from the center of the pattern. Here, we are setting it to 16
.
Left Click
to zoom in
Right Click
to zoom out