Summary: This project is meant to create graphically beautiful fractals.
This C project is about two-dimensional graphical modeling of mathematical fractal shapes. The final program should be capable of producing infinitely recurring fractal shapes with the parameter applied. This C program is tagged with my school's "42" user account "aviholai".
MiniLibraryX (MLX) is a 42School graphical library used in the graphics branch projects, such as this one. For more information regarding MLX and understanding it, I recommend checking out this guide by @harm-smits: 42 Docs: MiniLibX
- Compile the binary in the repository with command make
- Apply argument as parameter when launching the program, representing a number (1 to 3) to a different fractal pattern. ./fractol <number>
- If your command is viable the graphical window should launch, otherwise you should get an error message in the standard output.
Controls for Mac and Linux:
• Moving the mouse pans the fractal image. This also further progresses the symmetry of the Julia fractal.
• Clicking the mouse switches between the different fractal patterns.
• Scrolling the mouse wheel zooms in and out in the fractal, applying further iterations.
• PressESC
to quit the program.
As the program was initially planned for school computer use, the keyboard controls may not be hooked properly to other than MacOS.
• Compatibility with different OS (with MiniLibraryX and keyboard controls).
• Further optimisation, to make the heavy mathematical iterations refresh more smoothly.
• Possibility to lock the aspect and position of the fractal, while, for example, zooming into it.
• Motion hooked to keyboard arrow keys (this is a bonus feature in the school subject file).
• Etc.