Chain

The idea is that a color "eats" another color, thus turning that color into it's own color. In other words, black may eat white, white eats red, red eats blue, and finally blue eats black, thus making a 'Food' chain. The color array is randomized in the beginning and the chain algorithm applied repeatedly. The biggest purpose of the program is the effect. It looks cool. Sometimes all of one color takes over, sometimes a stable food chain evolves. Every now and then something else happens, can you find out??