MathWorld: Mandelbrot Set.
Thanks to Greg Buchholz for suggesting this task.
How to implement
We ask that contributed programs not only give the correct result, but also use the same algorithm to calculate that result.
Each program should:
- plot the Mandelbrot set [-1.5-i,0.5+i] on an N-by-N bitmap. Write output byte-by-byte in portable bitmap format.
cmp program output N = 200 with this 5KB output file to check your program output has the correct format, before you contribute your program.
Use a larger command line argument (16000) to check program performance.