Challenge, try to create my IFS for yourself in C...
Fwiw, my pseudo-code IFS is in the comments:
https://youtu.be/XKhS_nklCkE
The comments:
____________________________________
A highly experimental #iterated function system of mine that creates
many #fractal #bifurcation diagrams locked in the unit square. Afaict,
the animation makes it appear as if everything is rotating around a
cylinder. Here is my #IFS that was used to create this animation:
______________
// px_mutation interpolates from -4...4 across each frame; 1440 here.
render frames:
_________
// angle interpolates from 0...pi2 across iterations
// px = py = 0
// Iteration:
px = sin(angle * px_mutation);
py = cos(angle * py);
______________
Plot every pixel in the ifs. Actually, I am adding color to each pixel
visited during iteration.
____________________________________