The original model was basically that pieces were moved when the ratio of neighbors of the different color to neighbors who are the same color exceeds 1. This simple rule results in a highly segregated layout at the end. I implemented this using a difference of the counts instead of a ratio. The result is largely the same. The board is a grey board with colored pieces on it.
Pieces have a color around the outside which indicates their type.
The bit of color in the center show their current state of contentness. Red is unhappy, blue is happy, and white is content. You can change the number of types in the game by using the scroll-bar on the left edge of the applet. The initial density is controlled by the scroll-bar on the right edge of the applet. The board size can be entered in the text field on the top edge.