Interactive Fractal Explorer (Mandelbrot & Julia Sets)
fract-ol is a lightweight C program that renders and explores the Mandelbrot and Julia fractal sets in real time.
It uses the MLX42 graphics library to provide smooth zooming, panning, and parameter tweaking.
- Mandelbrot set rendering
- Julia set rendering with user‐defined complex parameter
- Infinite zoom
- Color mapping based on iteration depth
- Responsive pan & reset
- Graceful exit via
ESCor window close
-
Clone the repository
git clone https://github.com/ilies1511/fract-ol.git cd fract-ol -
Install dependencies
-
Build
make
./fractol [mandelbrot] | [julia <real> <imag>]-
Mandelbrot
./fractol mandelbrot
Renders the classic Mandelbrot set.
-
Julia
./fractol julia <real-part> <imag-part>
Valid range:
-2.0 ≤ real-part ≤ 2.0 -2.0 ≤ imag-part ≤ 2.0
Invalid or missing arguments will print usage instructions.
| Action | Key / Mouse |
|---|---|
| Zoom In / Out | Mouse wheel |
| Pan View | Arrow keys |
| Exit | ESC or window close |
For a single image gallery, supply individual files in
./images/.


