Fractol is a 42 Project designed to explore fractals. Several options are available (see Keyboard shortcuts and Mouse controls sections for more infos) :
- Zoom in and zoom out
- Change the number of iterations
- Navigate between the four fractals
- Edit the shape of the fractal with mouse motion (only available with the fractal Julia)
git clone https://github.com/jfortin42/fract-ol ~/fract-ol
cd ~/fract-ol && make && ./fractol mandelbrot
Launch the program with one of the following parameters: mandelbrot, julia, burning or mandelbis. Example :
Open the Julia fractal ⇣
./fractol julia
Description | Key(s) |
Close the program | esc |
Stop mouse motion (for Julia fractal only) | Space |
Increase/decrease the number of iterations | + - |
Reset the current fractal | 0 |
Change fractals | 1 2 3 4 |
Description | Control(s) |
Increase the global size of the fractal at the position of the cursor | left button |
Decrease the global size of the fractal at the position of the cursor | right button |