Skip to content

A simple, naive CUDA implementation of the "escape time" algorithm

Notifications You must be signed in to change notification settings

djl70/mandelbrot-cuda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mandelbrot Escape Time Algorithm in CUDA

Example Mandelbrot visualization

Requirements

  • CUDA
  • CUDA-capable GPU
  • Linux-based OS (probably)
  • (optional) ImageMagick (used to combine PPM images into an animated GIF)

Usage

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

Acknowledgments

About

A simple, naive CUDA implementation of the "escape time" algorithm

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published