I will start with a disclaimer: this post might be of interest to only two other people, neither of which read my blog (as far as I know). But it's my blog, and I don't care. I find it interesting. Anyway, on with the post.
I was playing around with an old program [1] that plots a chaotic attractor. I won't pretent to know what the chaotic attractor is supposed to represent, but I find it fun to poke around the program from time to time. It revolves around two equations that interact with each other:
x = (Ay + B) x (1 - x) y = (Cx + D) y (1 - y)
with the resulting image x and y values plotted on the graph between 0,0 and 1,1:
[Graph of output where A=2.4376, B=1.5624, C=0.8659 and D=4.0] Yup, still looks like an alien French horn. [2]
But then I got wondering—why the unit square? Thirty years ago I never questioned that. It should be easy enough to find out—just change the output range a bit:
[Same output as before, except ¼ the size due to the extended range] And I can just hear Grover, way off in the distance, yelling “Far!” [3]
Cool! I now have the range from -1,-1 to 1,1 working. So whereas before, I would have seen:
[For those curious, this is A=-0.4369, B=-1.6109, C=-3.1058 and D=-1.5358] Crashing waves? Overlapping mountains? Just a bunch of white dots in a black background? [4]
I can now see the full extent of this particular result:
[Same as above, only from -1,-1 to 1,1] Perhaps a transdimensional tri-cornered hat? I don't know, it's a Rorshach test on acid! [5]
And otherwise dull plots in the 0,0 to 1,1 range are now full of detail:
[I don't have correct values for this plot—it's too chatoc to reproduce.] When I came across this image, I recorded the values of A, B, C and D. But at the time, I was running with the output and control windows as large as they could get, but the values I recorded were only to four decimal places. Upon trying to revisit this shape, it wasn't what I originally saw. That means I didn't record the values correctly, or more likely, due to the chaotic nature of these things, the results are so dependent upon upon the actual values that four decimal places aren't enough. It was such a result in the 60s from scientist Edward Lorenz that lead to the creation of Chaos Theory. [6]
I am now left to wonder if this would have affected the research this program supported?
[2] /boston/2021/09/06/horn-attractor.gif
[3] /boston/2021/09/06/ex-horn-attractor.gif
[4] /boston/2021/09/06/truncated-attractor.gif
[5] /boston/2021/09/06/full-attractor.gif