How Can Math Help Resolve Racial Segregation? Schelling's Game.

How Can Math Help Resolve Racial Segregation? This video and coding project is based on Segregation Solitaire by Thomas Schelling, an American mathematician and economist who was awarded the 2005 Nobel Memorial Prize in Economic Sciences for "having enhanced our understanding of conflict and cooperation through game-theory analysis." I don't like the name 'Segregation Solitaire', so I call it Schelling's Game. This is also inspired by the famous Parable of the Polygons playable essay on the shape of society by Vi Hart and Nicky Case: https://ncase.me/polygons/

Play with my version: https://editor.p5js.org/simontiger/present/mWwl1GsTe

My code: https://editor.p5js.org/simontiger/sketches/mWwl1GsTe