The boid algorithm applied to a five-dimensional space: two spatial coordinates and three color coordinates. Play with the settings and watch some interesting pictures emerge.
Watch a cellular automaton create a pleasantly evoloving tapestry of color. The algorithm makes use of some ideas from a flocking algorithm. It is completely deterministic but the resulting color changes appear to be unpredictable.