Choose number of colors (either 2 or 3). Click the flag. Colors are randomly placed. Each individual circle changes color to match the majority of its neighbors. Clustering results.
I use pen to get around the limitation in the number of clones. See my several peer pressure and group rock-paper-scissors models that use clones instead of a pen.