This is an OS X application which draws the mandelbrot set. I also wrote versions of this in C++ and Python, but they aren't on my github.
You also probably want to be looking at the Color branch because it's better than the master branch which is in black and white.