Apparently computerized ants bring out the arts student in me |
I do though have to admit that I have rather cheated with this image. This is not pure output from the ants. When running my new code I quickly realised that the ants had a tendency to get into a temporary loop where they ran over a subset of cells for a period of time. This meant that the colour of these cells was very stark compared to the general blending which otherwise occurred. I solved this by applying a blender which compared each cell to its neighbours and if their difference was greater than some user-defined blur constant then it averaged the colour of the two cells and set both to that average. The blurring runs again and again until it carries out no more averaging. I have created a GIF to illustrate what effect this has:
At least it's a well blended murky grey... |
As you can see, the blurring works but also tends to make the colour darker. I have listed the help of some computer scientists, and I will hopefully have a better blurring algorithm sorted out fairly soon. On the other hand the blurring tool has given me some ideas for other tools, like something to brighten up the image by adding a number to each RGB value of every cell or a contraster which increases the difference between coloured and non-coloured cells.
589793,
mathmo
mathmo