This is a (slightly convoluted) mandelbrot set generator. The algrithm is implemented iteratively. At the top of the source file, you can find the parameters used to defined the plot bounds, maximum iterations, etc...
An example render in a large terminal can be found at example_render.png
.
gcc mandelbrot.c -o mandelbrot -lm
./mandelbrot