The programm renders Mandelbrot and Julia fractols using mlx library.
The program was written as part of a 42 programming school project, in particular 42 Abu Dhabi school.
git clone https://github.com/sabdulki/fractol_42.gitcd fractol_42
make reFor Mandelbrot farctol please use:
./fractol mandelbrotFor the Julia:
./fractol julia x yInstaed of x and y please type any numbers betwen 2 and -2 for both paramenetrs. For the most beautiful and fascinating renderings I suggest you to try these:
- -0.800000 0.172308
- -0.781538 0.166154
- -0.800000 0.184615
- 0.375385 0.369213
- -0.553846 -0.516923
- -0.800000 -0.190769
- And whatether you want from 2 to -2.
make re && make bonus```
```bash
./fractol julia 1 1The feature is that the fractol is changing by mouse movement. Hover the mouse over the programm window and you'll see a kind of magic ✨
Don't hesitate to press some buttons:
-
'W': the body of fractol becomes white
-
'B': the body of fractol becomes black
-
1 - 4: the fractol chages the colours 1️⃣ 2️⃣ 3️⃣ 4️⃣
-
Don't forget about the arrows: press up, down, left, right - the image will be shifting ⬆️ ⬇️ ⬅️ ➡️
-
And the most important - the mouse wheel. Try to zoom in and zoom out - you'd like it! 🌀
The programm suppoused to zoom infinetely, so try it out 😉
Disclamer
It's not recomended to use features described above while rendering Julia fractol with mouse movement. It could crash the programm or make it a bit slowly.



