https://github.com/ThePurpleOne/julia_set/raw/master/imgs/julia_set_render1.gif

Julia set

A Julia set is a set of points in the complex plane (real, imaginary) that are obtained by repeatedly applying a mathematical function to each point. When visually representd, these sets can create really cool visual patterns.

Naive approach

I’m sure there is multiple ways of optimizing the computing of each pixels but i went for a really naive approach.

To compensate the intensity of computing that has to be done for each pixel, i decided to

Shaders

GLSL

Sources

Wikipedia
Video - Coding Train
Raylib - Graphics Library