Observe the interactions of simulated people.
The blue squares represent people. Each person starts out in a good mood. Interactions with the other people in the grid can elevate or lower the person's mood, depending on the nature of the other person encountered. If a person gets into a bad mood, the person turns black and refuses to move until the person gets back into a good mood.