- CUDA
- CUDA-capable GPU
- Linux-based OS (probably)
- (optional) ImageMagick (used to combine PPM images into an animated GIF)
Download or clone the repository, extract it if necessary, then build and run the code:
nvcc -std=c++11 mandelbrot.cu -o mandelbrot
./mandelbrot 16 240 1
For information about the command-line arguments, run:
./mandelbrot
To combine the output PPM files into an animated GIF, run:
convert -delay 10 mandelbrot*ppm mandelbrot.gif
- This great resource
- This list of coordinates
- Wikipedia
- Mandelbrot Viewer
- Wolfram
- Dr. Burtscher for giving me a working understanding of CUDA