fractol is an interactive fractal explorer built in C as part of the 42 curriculum. It renders the Mandelbrot set, Julia sets, and other fractals in real-time with infinite zoom capability.
The project teaches complex number mathematics, color theory, optimization techniques, and event-driven programming. Each pixel's color is determined by how quickly the iterative formula z = z² + c diverges, creating infinitely complex patterns from simple mathematics.
C
Complex Numbers
MiniLibX
Color Theory
Center: -0.5 + 0i | Zoom: 1x
Scroll to zoom, click and drag to pan
On mobile: pinch to zoom, touch and drag to pan