Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fractol

Mandelbrot & Julia fractal explorer written in C.


🧮 Overview

Fractol is a graphical program that lets you explore two classic fractals:

  • Mandelbrot set
  • Julia set

It uses complex number iterations and a low-level graphics library to render fractals in real time, allowing zooming, panning, and color interaction.


⚙️ Features

  • Real-time rendering of Mandelbrot and Julia sets
  • Zoom and pan using the mouse
  • Color scheme variation
  • Configurable parameters for Julia set
  • Keyboard / mouse event handling for interactive exploration

📥 Installation

  1. Clone the repository:

    git clone https://github.com/oadams38/Fractol.git
    cd Fractol
    
    
  2. Make sure you have a MiniLibX-compatible environment installed.

  3. Build the project with the command "make"

Running

###To display the Mandelbrot set:

./fractol Mandelbrot

###To display the Julia set (with custom seed):

./fractol Julia <real_part> <imaginary_part> Example: ./fractol Julia 0.285 -0.01

Controls

Mouse Wheel: Zoom in / out Arrow Keys: Pan the view ESC: Exit the program

[Optional] Space: Reset view s: Smoother gradient 1-2 keys: Change colour scheme

About

Mandelbrot & Julia fractal explorer

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages