Mandelbrot Set Explorer 2.0

27,888
0
Published 2013-11-10
The buttons and text readouts are all done with sprites.

Every pixel on the rendered drawing is the result of a repeated calculation -- the number of times it is repeated (its Dwell value) determines the color of the pixel. Information about the Mandelbrot Set can be found on the Web. Good examples:
http://en.wikipedia.org/wiki/Mandelbrot_set
http://www.math.utah.edu/~pa/math/mandelbrot/

I save each pixel's Dwell value into memory. I found that one huge array became extremely slow to use. Instead, I use 8 smaller arrays.

Thanks to several Scratchers for the RGB (millions of colors) information.

Thanks to jpginn and Project: http://scratch.mit.edu/projects/10753622/
for the idea of rendering by rectangles.
Here's a web page that describes this:
http://www.mrob.com/pub/muency/marianisilveralgorithm.html

Thanks to the Scratchers of other Mandelbrot projects for inspiration.