← Home

Mandelbrot on GPU

Repository on GitHub

In this small project I made visualisations using a CUDA kernel in Python via CuPy. Visualisations are rendered with datashader, a library that allows for fast rendering of large datasets.

The visualisation is of the Mandelbrot set. This famous set follows from a simple but interesting equation: the set of complex numberscfor which the function f(z) = z² + c remains bounded. In this case, visualisations speak louder than words.

Visualisations

Mandelbrot black & yellow

Mandelbrot spiral

Mandelbrot detail 'tapijt'

Mandelbrot elephant valley (red)

Mandelbrot zoom (red)

Mandelbrot full zoom (black & white)

Stack

Python, CuPy, CUDA, ffmpeg, datashader.