Fract'ol is a project developed as part of the 42 school curriculum, aiming to introduce students to 2D programming and the world of fractals. This project showcases a range of fractals, rendered with MinilibX in C.
- Mandelbrot Set
- Julia Set
- Tricorn Fractal
- Burning Ship Fractal
- Interactive Controls: Zoom in/out, move around, shift colors.
- MinilibX Integration: Leveraging the lightweight minilibX library for creating graphical interfaces on Linux.
+
: zoom in-
: zoom out- keyboard arrows : move view (left/right/up/down)
- mouse wheel up : zoom on mouse pointer
- mouse wheel down : zoom out (center wise)
tab
: switch setsshift
: shift colors
- Program needs an argument (the set name) to start:
./fract-ol mandelbrot
./fract-ol julia
./fract-ol tricorn
./fract-ol burn
- The Julia set can take 2 values to modify its shape, this values must lands between [-2.0;2.0]
- Inputing no values will result in the default Julia shape
make
in directory (require gcc)