A C++ program that aims to generate the Mandelbrot Set and other fractals based on a recurence of type Zn = Zn-1^2 + c.
In order to run this you need g++.
# Windows
g++ -std=c++11 src/*.cpp -Iinclude -Ilib/boost -Ilib/SDL2/x86/include -lmingw32 -lSDL2main -lSDL2 -Llib/SDL2/x86/lib -o fractal
# Linux
g++ src/*.cpp -Iinclude -Ilib/boost `sdl2-config --libs` -o fractal && ./fractal
- Scroll Up - zoom in
- Scroll Down - zoom out
- R - reset zoom and prerendering
- P - toggle prerendering on or off
Prerendering will precompute the first 50 (default) zooms on the location of the cursor at the moment of turning it on. When turned off it will simply redraw the fractal in the initial position.