/fracto-l

This project is to create a small fractal exploration program. Start by seeing what a fractal is. This project includes a realization of Mandelbrot and Julia set and a Ships fractal.

Primary LanguageC

fracto-l

This project is to create a small fractal exploration program. Start by seeing what a fractal is.

This project includes a realization of Mandelbrot and Julia set and a Ships fractal.

  • It is possible to vary the mouse (without clicking) the parameter of the Julia set.
  • The mouse wheel zooms in and out on the current mouse position, and this in a quasi infinite way (modulo the limits of the machine). This is the same principle of fractals.
  • There must be a minimum play of color to feel the depth of each fractal.
  • A parameter is passed on the command line to define what type of fractal is to view. If there is no parameter provided, or if the parameter is invalid, the program displays a list of available parameters and exits.
  • Multithreading is used to improve the performance of the program.

How to compile: gcc *.c -lmlx -lXext -lX11 -L ./libmlx/ -I ./libmlx/ -lm -pthread

Usage: ./a.out Mandelbrot Usage: ./a.out Julia Usage: ./a.out Ships

Mandelbrot set:

mandelbrot

mandel_zoom

mande_zoom_2

Julia set:

julia

julia_2

julia_3

Ships

ships

ships_2