nested period doubling crises with coloured wiggles
I figured out the maths more properly: now the wiggles don't shrink as they approach crisis, instead they join smoothly to each next level.
I also chose less ugly colours: now shades of grey with eventually some red introduced.
Will be working on a soundtrack this week.
The key part of the algorithm's inner loop:
x = fract(-log2(1 - x));
Repeated `log2` does weird things to the timing curves and stops the layers aligning properly, adding some `exp2` inside the loop can regularize it:
x= (1 - exp2(-x)) * 2;
This makes the crises happen on a grid which should make writing a soundtrack much easier than the fluid tempo curves of the uncorrected version.
Welcome to post.lurk.org, an instance for discussions around cultural freedom, experimental, new media art, net and computational culture, and things like that.