This particle affinity simulation models emergent behavior in multi-agent systems. Each particle type has preferences (affinities) for being near certain other types while avoiding others. Key ...