This is the Schelling model. Please contact the developers for more information.