/Mandelbrot

I had never visualised the mandelbrot set before so decided to experiment with visualisations using C. The iterations can be incremented with the space bar.

Primary LanguageC

C_Mandelbrot

Visualisation of the mandelbrot set using C, uses the unoptimised escape time algorithm.

Simple graphics library utilised: https://www3.nd.edu/~dthain/courses/cse20211/fall2013/gfx/

Dependencies

X11/Xlib.h

Install with (Ubuntu): sudo apt install libx11-dev

Compilation

gcc mandelbrot.c gfx.c -o mandelbrot -lX11 -lm

./mandebrot

Controls

  • Space: Increases the iteration count of the visualisation

Produced visualisation