Revision Complex
Lousy Ants
These are not good ants! Lousy. They don't work together at all. Very selfish. But also pretty. Darn you, devilish beauty.
It seems like this technique does not work at all on Firefox. Try Chrome or Edge for now.
The "ants" leave behind pheramone trails as they move. There are red squares which could represent food, present when the page loads. When an ant gets near a red food, the ant turns yellow and starts leaving behind a teal colored trail instead of the normal purple/pink one. The square in front of the ant is their "vision". The color of the square changes depending on what type of pheramone they are detecting in their vision.
The ants do not follow the trails at all, that's the next step. But the little detection squares look neat.
This is not a very efficient application. The ants have no awareness of the paths on a global level. They need to look at the color of the pixels in their vision range. As a result, the code is quite inefficient - reading chunks of pixels (even relatively small ones like the squares above) is a memory and processing intensive function.