Mandelbrot Set Viewer - 3.0.0

Zoom in forever...

Ian Mallett
(geometrian)

First of all, this is not another release of my other Mandelbrot Set program (http://www.pygame.org/project/675/). This program is not all about rendering huge images (although it does do that too), it is about zooming in indefinitely.

Starting with an image of the Mandelbrot Set, draw a rectangle with the mouse, and the program will zoom to fill that rectangle. This can go on indefinitely. If you choose a small enough screensize, (such as 300x200), the wait to see the zoomed image is only a few seconds. You can then zoom in on that image, and so on. Unfortunately, at a certain point, Python's float handling gets too imprecise, and you can actually see rounding errors as pixelated blocks. Though this is somewhat amusing, I may fix it later so that you can zoom in truly forever.

Once you have a nice view, you can take a picture of it, and have the computer render the current window at any resolution. (For example, the screenshot here is a 1200x800 render of a section of the Mandelbrot Set viewed on a 300x200 screen).

Changes

-Fixed the UI up a bit, and added some new features for rendering
-Speeded up rendering a significant bit, but still haven't got shaders working, so it is not realtime.
-Made coordinates nicer
-Added Zoom Factor readout

Pygame.org account Comments

rtrwalker 2013-07-12 23:53:51

jp 2013-08-29 05:53:13

Ian Mallett 2013-08-29 14:36:26

Fixed. Thanks.

message

p 2014-11-02 02:55:13

thank you for putting this program together, it is helping me extend my (limited) python understanding to pygame. one question: when running this on python 2.7.6/64bit windows, mandelbrot image loads, but if i try "control+s", i get the following error. do i need to edit anything to adjust for my specific os/system, or is this some other issue? let me know if you need additional information.