This project is about simulating and visualizing mathematical fractals, including the Mandelbrot set, the Julia set and the Newton fractal. Developed in C, the program uses the MiniLibX graphical library, an internal tool created at Campus 42 to help students better understand graphical programming and event handling in graphical environments.
- Renders complex fractals with an interactive graphical interface.
- Allows exploration and zooming into specific areas of the fractals.
- Implements controls to adjust parameters and visualize variations.
Below are some snapshots of the fractal rendering process:
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
- Make: Used to compile the project.
- gcc: C compiler.
- MiniLibX: Graphics library used to render the fractals.
- Clone the repository:
git clone https://github.com/tu_usuario/fractol.git cd fractol
- Compile the Minilibx:
cd include/minilibx-linux make
- Compile the project and run it:
cd ../../ make ./fractol
- Flechas and w/a/s/d: Move the view.
- 'm' and 'n': Increase and decrease sharpness.
- c: Change colors.
- '+' y '-' or scroll: Zoom in and out.