Fract-ol is a graphical application developed in C that visualizes complex fractals such as the Mandelbrot and Julia sets. This project is part of the 42 curriculum, designed to strengthen your skills in graphics rendering, mathematical algorithms, and low-level programming using the MiniLibX library.
Here are some of the fractal visualizations included in the project:
This image of the Mandelbrot set shows detailed patterns at 300 DPI.
This PNG image shows a detailed view of the Julia set fractal with parameters 0.285 and 0.01.
This image represents the Tricorn fractal, a variation of the Mandelbrot set with a unique transformation.
This is a GIF animation of the Julia set fractal, showcasing its dancing behavior.
- GNU/Linux
gcc
(or another C compiler)make
- X11 libraries:
libX11
,libXext
and optionallylibbsd
- MinilibX (included as submodule)
Make sure required libraries are installed:
sudo apt install libx11-dev libxext-dev libbsd-dev
To get started with the project, clone the repository to your local machine:
git clone --recurse-submodules https://github.com/droubarka/fract-ol.git
cd fract-ol
make mlx all
./fractol --help