Everyone can simply draw almost any part of Mandelbrot set by this code.
Just compile mandelbrot.cpp
and execute mandelbrot
.
$ g++ mandelbrot.cpp -o mandelbrot -std=c++11 -Wall -pthread
$ ./mandelbrot
You can convert image from *.ppm
to *.png
.
$ convert mandelbrot.ppm mandelbrot.png
$ sips -s format png mandelbrot.ppm --out mandelbrot.png