/Improved_Fractol

An improved version of the Fractol project within Codam's curriculum. Added multithreading and linux support and a couple of cool features!

Primary LanguageC

fract-ol

An improved version of my fractal exploration program for 42 Codam's project fract-ol which can be found here.

Includes:

  • Mandelbrot set
  • Julia set
  • Burning Ship set

Improvement Includes:

  • Linux support
  • Multithreading
  • Mouse tracking Julia set
  • Drag & drop the mouse to move around
  • .bmp file export

Installation and Usage:

Install the necessary packages for MLX

To create the executable:

make

To run the program:

./fractol mandelbrot
./fractol julia real part +/- imaginary part
./fractol vela
./fractol mouse

Features:

- Use the arrow keys to move around
- Zoom into and out of the mouse position with the scroll wheel
- Press 'B' to enter Black & White mode
- Press 'C' to change to a static color
- Press 'R' to change to rainbow mode (Multiple options)
- Press 'P' to export the current view as a .bmp file
- Press 'PAGE UP' or 'PAGE DOWN' to change the iteration count used in the calculation

Screenshots:

Screen Shot 2022-07-14 at 2 37 14 PM

Screen Shot 2022-07-31 at 2 32 05 PM

Screen Shot 2022-07-31 at 2 22 05 PM

Screen Shot 2022-07-31 at 2 23 17 PM