Fractal Python Programs

These fractals were generated by Python programs from the Active State website. They often make use of recursion.

Recursion is the process of repeating items in a self-similar way. For instance, when the surfaces of two mirrors are exactly parallel …

Mandrian’s Mandelbrot Music

Mandrian is a Python + Pygame program to render the Mandelbrot Set  by sub-dividing square areas into sub-squares. If the square’s corners all have the same iteration count from the escape function we assume there’s no internal detail to render. …

Spectral Harmonographs

Not fractals – but still, pretty math pictures… These were created with the following Python program (MIT license; download from GitHub):

You may need to install python and/or pygame, e.g. on Ubuntu/Debian style linuxes:

sudo apt-get install pygame
sudo apt-get …