To build the project, run:
Make allTo create a Julia set plot, run:
./julia.sh 0.0 0.0 2.0 1000 200 -0.4 0.6This will create an output png centered at (0.0,0.0) with a radius of 2, with a resolution of 1000x1000, run at 200 max iterations per pixel, and c = -0.4 + 0.6i.
To create a Mandelbrot set plot, run:
./mandelbrot.sh 0.0 0.0 2.0 1000 200This will create an output png centered at (0.0,0.0) with a radius of 2, with a resolution of 1000x1000, and run at 200 max iterations per pixel.
The output images are placed into the pics/ directory. The scripts julia.sh and mandelbrot.sh automatically open their output images in the default viewer with the open command. This command works for macOS, but will have to be changed for other operating systems.
You can change the color map in display.py.
To take advantage of multiple cores, you can change the number of threads to process the image on by redefining THREAD_COUNT at the top of mandelbrot.c and julia.c.
This project requires python3, numpy, and matplotlib.



