Fractal Fashion

Rendering Julia sets in C and SDL

View the source code on my GitHub repo


This C+SDL based Julia set renderer procedurally generates complex fractals by iteratively evaluating z(n+1) = z(n)^2 + c over a discretized complex plane, where each pixel maps to a unique complex coordinate. The escape-time algorithm determines divergence (|z| > 2) to produce self-similar, topologically rich structures, while iteration counts are converted via a custom HSL-to-RGB pipeline in C to yield smooth, vivid gradients enhancing perceptual detail.


Click to see enlarged photos



Zoomed in views of statically generated Julias




Mouse interactions for dynamic Julia sets

Mouse-Controlled Julia Set Manipulation
Click-to-Zoom Julia Set Visualisation