The fract-ol project from the 42 School is one of the three graphical projects of the cursus. It teaches you about manipulating a low-level graphic library, advanced math, and more.
Clone the repository, cd into it, then run make.
This will generate the fractol executable.
Run the program with one of the available fractals:
./fractol mandelbrot
./fractol julia
./fractol burningship
For the Julia set, you can specify custom parameters:
./fractol julia <real_part> <imaginary_part>
Example:
./fractol julia -0.8 0.156
| Action | Key |
|---|---|
| Move Up | W / ↑ |
| Move Down | S / ↓ |
| Move Left | A / ← |
| Move Right | D / → |
| Zoom In | Scroll Up / + |
| Zoom Out | Scroll Down / - |
| Increase Iterations | I |
| Decrease Iterations | K |
| Change Color Scheme | C |
| Reset View | R |
| Quit | ESC |
