|
Source code: Warping Mandelbrot
Built with Processing
By changing the rules for calculating with complex numbers, beautifully warped and deformed fractals can be generated
out of the basic Mandelbrot set.
Complex numbers consist of a real and an imaginary part, c = a + b*i, i being the square root of -1. Multiplication of complex numbers m = j*k is given by:
Warping Mandelbrot changes the equation for the real part a of the multiplication by placing a real exponent
n in the equation and calculating the Mandelbrot set with thusly modified complex numbers:
Using the mouse and keyboard, you can change this exponent and zoom into the modified Mandelbrot set. For best results,
try exponents between 0.2 and 2.5. An exponent of 1 will give you the standard M-set.
|
| |
| | |