Mandrian's Musical Mandelbrot
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. We also use the iteration count to select an audio frequency and play a note. Colours are either tied to the iteration count, or are random. The squares may be bordered. The effect is a little similar to Mondrian's paintings. The program's name is a portmanteau of Mandelbrot and Mondrian. See http://fractalart.gallery/mandrians-mandelbrot-music/ for pictures, more information, and a YouTube video where you can hear the 'music' (sound quality not great).