Top-rated recipes tagged "mandelbrot"http://code.activestate.com/recipes/tags/mandelbrot/top/2015-12-28T17:56:08-08:00ActiveState Code RecipesRecursive Mandelbrot Generation (Python)
2013-08-11T03:46:46-07:00Bill Picketthttp://code.activestate.com/recipes/users/4174028/http://code.activestate.com/recipes/578635-recursive-mandelbrot-generation/
<p style="color: grey">
Python
recipe 578635
by <a href="/recipes/users/4174028/">Bill Pickett</a>
(<a href="/recipes/tags/mandelbrot/">mandelbrot</a>, <a href="/recipes/tags/pygame/">pygame</a>, <a href="/recipes/tags/recursion/">recursion</a>).
Revision 12.
</p>
<p>This program recursively generates a Mandelbrot set using Python and PyGame. The size of the window must be a power of two or you will get rendering errors in the final image. It was written as an exercise in recursion, primarily to further my own understanding of that.</p>
Mandelbrot Set made simple (Python)
2015-12-28T17:56:08-08:00Jack Trainorhttp://code.activestate.com/recipes/users/4076953/http://code.activestate.com/recipes/579143-mandelbrot-set-made-simple/
<p style="color: grey">
Python
recipe 579143
by <a href="/recipes/users/4076953/">Jack Trainor</a>
(<a href="/recipes/tags/educational/">educational</a>, <a href="/recipes/tags/fractal/">fractal</a>, <a href="/recipes/tags/graphics/">graphics</a>, <a href="/recipes/tags/mandelbrot/">mandelbrot</a>, <a href="/recipes/tags/mathematics/">mathematics</a>).
Revision 2.
</p>
<p>This is a mini-framework for exploring the Mandelbrot Set.</p>
<p>It outputs to a Tkinter window or to a PNG file (Pillow package required). It includes a disk caching mechanism for saving and later retrieving Mandelbrot calculations to avoid recalculating the Set on each run.</p>
<p>See module documentation for further information. Compatible with Python 2 and 3.</p>