Skip to content

Fractal generator in C for Linux, made with comments for a better experience. Project for 42 School

Notifications You must be signed in to change notification settings

saragar2/fractol

Repository files navigation

🌀 F R A C T - O L 🌀

ezgif-3-76f2dace83


Fract-ol is one of the first graphic projects from the 42 School Common-Core. This is a fractal generator, all done in C code using MiniLibX, an own graphic library from the school. Includes Julia, Mandelbrot and Burning ship fractals. For the first one, you can edit the params so you get the fractal you want (they might be between -2 and 2, and they look better if they are between -1 and 1). You can navegate through the image, zoom, and change the iterations (so the color changes).

✨--- This project is done following 42 Norminette, so the code has the cleanest appearance possible.
🎈--- Includes Julia, Mandelbrot and Burning ship fractals, and some bonus functions as moving with the arrows and changing the colors.
🎯--- Approved by peers with the final mark 120.
🕑--- Finished: 30th October 2024
📜--- Includes comments so it is easier to understand the code
⚠️--- This program only works correctly in Linux


g e n e r a l     i n s t r u c t i o n s


~~ Use the wheel from the mouse to zoom in or zoom out
~~ Click with any part of the mouse to reset the fractal to the default config, as zoom, movement and colors.
~~ Navigate through the fractal using the arrows in your keyboard.
~~ Click on "+" and "-" in your keyboard to change the multiplyer of the iterations, which changes the final colors of the fractal.
~~ Use any of these options to run the project (after doing Make):


./fractol julia
./fractol mandelbrot
./fractol bs

i m a g e s


Julia set zoom in Mandelbrot set zoom in burning ship

About

Fractal generator in C for Linux, made with comments for a better experience. Project for 42 School

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published