Mandelbrot in Excel

Mandelbrot Excel
Mandelbrot Excel

Here is the result. It took me only minutes to implement it and as you can see in the different sheets, I have also implemented the Julia set in the same workbook.

The sheets are for 3 different resolutions and you see that the range where both sets are visible is from -2.2 / -1.5 to 0.8 / 1.5 for the Mandelbrot set and from -1.8 / -1.5 to 1.8 / 1.5 for the Julia Set.

I realized the different colors with conditional formatting which is a nice feature of Microsoft Excel. Points which are part of the set are black, points which are not part of the set are colored. The color depends on the number of iterations necessary to decide that they are diverting and is going from red and yellow to white.

You can download the Excel workbook from here. You might have to allow the basic script!

Julia Set

Julier Set
Julier Set

I am a fan of the Mandelbrot set since I have seen it the first time. I developed a screen saver for windows which displays the Mandelbrot set and zooms in randomly.

I also tried to develop something similar for the iPhone but did not succeed for the time. When I was investigating possibilities to draw lines in HTML code, I saw that with HTML 5 there is a new tag <Canvas> which allows exactly what I need.

Here is the result. I have created a page which shows the Mandelbrot set and the same for the Julia set. Both are very impressive. You can zoom in by clicking somewhere in the graph and even move the graph with the mouse.

Here is the page with the Mandelbrot set and
here is the page with the Julia Set.