This project has been created as part of the 42 curriculum by moabed
A program named fract'ol designed to render two complex numbers equations, which are Julia and Mandlebrot sets , using minilibx library.
On the same project repository, open the terminal and prompt
- make
it will compile the project files and libraries into an executable named fractol
Then to test if mandlebrot set works prompt
- ./fractol mandlebrot
Or if you choose to test julia set
- ./fractol julia "real" "imaginary"
-
fractol: render beautiful fractals in C (mandelbrot and julia set): https://youtu.be/ANLW1zYbLcs?si=Z_muin9mc6VFOOHg
-
Full guide to MiniLibX: https://harm-smits.github.io/42docs/libsminilibx/introduction.html
-
Mandlebrot Evil Twin: https://youtu.be/Ed1gsyxxwM0?si=0RRDOWV5eYrEr-Tu
-
Decoding Math’s Famed Fractal: The Mandelbrot Set : https://youtu.be/u9GAnW8xFJY?si=iV2nk4jJSfBB3qne
In this project, AI was used wisely in error handling to check every case of failure, beside finding the optimal color equations to paint the sets , also explained for me the scaling method.
Final result to Mandlebrot in purple
Fire Orange |
Cyan |
Fire Orange |
Yellow |
Final result in Julia
ٌRose Void |
Red Rose |
Fire |
Vein |









