Skip to content
/ Fractol Public

Fractol is an interactive fractal renderer, focusing on Mandelbrot set, Julia set and Newton fracal with real-time zoom and parameter adjustments for precise exploration of fractal geometries.

License

Notifications You must be signed in to change notification settings

S4nxez/Fractol

Repository files navigation

Fractol - Campus42

Description

This project is about simulating and visualizing mathematical fractals, including the Mandelbrot set, the Julia set and the Newton fractal. Developed in C, the program uses the MiniLibX graphical library, an internal tool created at Campus 42 to help students better understand graphical programming and event handling in graphical environments.

Features

  • Renders complex fractals with an interactive graphical interface.
  • Allows exploration and zooming into specific areas of the fractals.
  • Implements controls to adjust parameters and visualize variations.

Screenshots

Below are some snapshots of the fractal rendering process:

Mandelbrot Fractal Menger Sponge 3D
Julia Set Zoomed Fractal
Newton Fractal Mandelbrot Zoom

Requirements

  • Make: Used to compile the project.
  • gcc: C compiler.
  • MiniLibX: Graphics library used to render the fractals.

Instalation

  1. Clone the repository:
    git clone https://github.com/tu_usuario/fractol.git
    cd fractol
  2. Compile the Minilibx:
    cd include/minilibx-linux
    make
  3. Compile the project and run it:
    cd ../../
    make
    ./fractol
    

Controls

  • Flechas and w/a/s/d: Move the view.
  • 'm' and 'n': Increase and decrease sharpness.
  • c: Change colors.
  • '+' y '-' or scroll: Zoom in and out.

About

Fractol is an interactive fractal renderer, focusing on Mandelbrot set, Julia set and Newton fracal with real-time zoom and parameter adjustments for precise exploration of fractal geometries.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published