Skip to content

This project is about computer graphics where i implemented mandelbrot fractal and julia fractal and some more fractals.

Notifications You must be signed in to change notification settings

AlmarzooqiH/Fractal

Repository files navigation

Fractal

- This project is about computer graphics where i implemented mandelbrot fractal and julia fractal and some more fractals.

Mandelbrot fractal

Disclaimer

This program only works on Mac and Linux machines.

Prerequisite

Make sure you have Minilibx installed on your machine before using it.

Installation

Compiling

  • In the terminal use make

How to start the program

  • ./fractol [fractal_name]
  • Available fractals
    • mandelbrot
    • burningship
    • tricon
    • julia (Real number between -2.0 to 2.0) (Imaginary number between -2.5 to 2.5)

Controls

  • R: Reset
  • ESC: Exits the program
  • M: Will switch to Mandelbrot fractal
  • B: Will switch to Burningship fractal
  • T: Will switch to Tricon fractal
  • -: Will reduce the iteration per pixels by a factor of 10; p->ipp -=10;
  • +: Will increase the iteration per pixels by a factor of 10; p->ipp +=10;
  • 1-5: Will change the colors of the fractals.

Optional

  • You can use doxygen test to generate a documentation webpage where you will be able to see how to function are related, which function call which. It will help you visualize the workflow of this project.

About

This project is about computer graphics where i implemented mandelbrot fractal and julia fractal and some more fractals.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published