Continuing the story:
Given that I have now managed to capture the last location of the dot after it left its starting pixel, it becomes possible to use either the X or the Y value of that location as a substitute for the iteration number. That is to say, to use the X or the Y as a palette pointer.
I modified my machine-code programs as follows:
mov ax,[juliax2+offset+2] ; Upper 2 bytes describe pixel X
add ax,two/65536 ; when no longer negative
rcr eax,1 ; and halved (128 represents 1)
clc
rcr eax,1 ; halved again (0 to 255)
and ax,000ffh ; and masked.
mov cl,al
The result, created by
http://wehner.org/tools/fractals/position/lastpal.asm is
http://wehner.org/tools/fractals/position/lastpal.gif as follows:
Much the same can be done with Y as the palette.
The source is
http://wehner.org/tools/fractals/position/lastpaly.asm the result is
http://wehner.org/tools/fractals/position/lastpaly.gif and it looks like this:
It is time to dig deeper into the fractals to see what fine structure might be there. The standard I have fixed upon is
http://wehner.org/tools/fractals/man/man8.gif , modified by the various experiments. Here it is with a "last fling" X palette:
The source is
http://wehner.org/tools/fractals/position/lastpal8.asm the image is
http://wehner.org/tools/fractals/position/lastpal8.jpgAnd here is
man8.gif with a Y palette:
The source is
http://wehner.org/tools/fractals/position/lastpl8y.asm the image is
http://wehner.org/tools/fractals/position/lastpl8y.jpgThe specular image of the "last fling", with which I started this report, shows that each time the Mandelbrot iteration is carried out, the dots are flung into a more and more random pattern. Strictly, it is
pseudorandom, because everything is deterministic. However, it is so close to total randomness that the GIF compression process breaks down. The 250,000 bytes "compress" to 344,000 bytes - and I had to switch to JPEG.
Even with JPEG, compression is poor. I had to use quite a high level of compression just to reduce the file to half-size. This brightened the colours a little (the pink is a little more pink, the blue a little more blue) and sharpened the "grain". However, the images are a reasonable representation of what has happened.
Where there was just one, or a few like two or three, iterations, a patch of the smooth-palette background was swung round and pasted on top of that background. This produced interesting shapes. However, already at ten iterations or so the pattern has become pseudo-random. The "last-fling" analysis of an image is therefore unsuitable as a means of finding a fourth dimension for the topology of fractal "landscapes".
Charles