Agent-based modeling in JavaScript in the browser or on the server. [v0.5.19]


Based on the model described by Rudy Rucker in “Artificial Life Lab” and implemented in NetLogo, this model simulates a voting process and the emergence of polarized opinions. Each agent samples its neighbors within RADIUS and, if there’s a clear super-majority with a different vote from the agent, it will change its vote (i.e. bowing to social pressure).
By expanding the RADIUS parameter, regions of agents with the same opinion become larger and more defined.