Skip to content

🎨 • First graphical project in 42 with fractal in 2D

License

Notifications You must be signed in to change notification settings

UgolinOlle/fract-ol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fract-ol

fract-ol 42 project badge

42 School Project Language: C

💻 Description

Fract-ol is a graphical project that explores fractals, mathematical sets that exhibit a repeating pattern displayed at every scale. This project allows users to visualize and interact with various fractals in real-time.

⌨️ Usage

Prerequisites

Before running the program, make sure you have the following dependencies installed:

  • MinilibX - A simple X-Window (X11R6) programming API in C, needed for graphics.

Compilation

To compile the Fract-ol program, use the provided Makefile:

make
make bonus

Execution

Run the program with the desired fractal type as an argument:

./fractol [fractal name] [option]
./fractol julia [1 | 2 | 3]

Supported fractal types:

  • Mandelbrot
  • Julia
  • Tricorn

Controls

  • Arrow keys: Move around the fractal
  • Scroll wheel: Zoom in and out
  • AWSD: Change Julia iteration

🧑‍🤝‍🧑・Contributing

To use Auto-Push in development, follow these steps:

  1. Fork the project.

  2. Install MLX library.

  3. Create a branch with conventionnal name.

    • fix: bugfix/the-bug-fixed
    • features: feature/the-amazing-feature
    • test: test/the-famous-test
    • hotfix hotfix/oh-my-god-bro
    • wip wip/the-work-name-in-progress
  4. Commit your change with conventional commit

  5. Push to the branch

  6. Open a pull request

Please make sure to test your changes thoroughly before submitting a pull request.

📑・Licence

This project is licensed under the MIT licence. For more information, please consult the file LICENSE.

📩・Contact

If you have any questions or would like to collaborate, please do not hesitate to contact me at email or LinkedIn