|
|
|
|
|
by fh
5931 days ago
|
|
Not to disagree, but I'd like to mention that you don't actually need full complex number arithmetic to draw a Mandelbrot set. If you translate the Mandelbrot update rule into pairs of numbers, you get the following recursive equations: x_{n+1} = x_n^2 - y_n^2 + x_0
y_{n+1} = 2 x_n y_n + y_0
(Not 100% sure I got this right, but it's late.) The Mandelbrot set is then the set of points x_0, y_0 for which these values don't escape to infinity, or even more simply, escape the circle of radius 2 around (0, 0). |
|