Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌌 fract-ol

The fract-ol project from the 42 School is one of the three graphical projects of the cursus. It teaches you about manipulating a low-level graphic library, advanced math, and more.

📌 Features

  • Multiple fractals: Mandelbrot, Julia, BurningShip
  • Increase and decrease max iteration for shape calculation
  • Zoom and unzoom
  • Move around with the arrow keys or W, A, S, D
  • Different color patterns
  • 🚀 Usage

    Clone the repository, cd into it, then run make. This will generate the fractol executable.

    Run the program with one of the available fractals:

    ./fractol mandelbrot
    
    ./fractol julia
    
    ./fractol burningship
    

    For the Julia set, you can specify custom parameters:

    ./fractol julia <real_part> <imaginary_part>

    Example:

    ./fractol julia -0.8 0.156

    🎮 Controls

    Action Key
    Move Up W /
    Move Down S /
    Move Left A /
    Move Right D /
    Zoom In Scroll Up / +
    Zoom Out Scroll Down / -
    Increase Iterations I
    Decrease Iterations K
    Change Color Scheme C
    Reset View R
    Quit ESC

    About

    A 2D graphical project exploring the psychedelic universe of fractals, using MLX42

    Resources

    Stars

    1 star

    Watchers

    1 watching

    Forks

    Releases

    Packages

    Contributors

    Languages