This CUDA project is an implementation of a fractal viewer, specifically, a Mandelbrot set viewer. Each pixel represents a point in the 2D complex plane, making a CUDA implementation straightforward. Each CUDA thread determines if each pixel is contained within the Mandelbrot set, and colors it according to how far it is from the cutoff. The viewer allows you to pan in the x and y direction, and, of course, as with all good viewers, zoom in and out.

Below are some images taken with my viewer, starting with the familiar unzoomed Mandelbrot set. My personal favorites are the ones with the lighting-like branches and spiral patterns.


And no fractal is complete without the obligatory fractal zoom.