📊 Vote Distribution Over Time

About This Simulation

This is a modern web-based voting simulation that replaces the old NetLogo model. The simulation shows how agents with different voting preferences influence each other through social interaction. Red agents vote for one option, blue agents vote for another, and gray agents are undecided. Agents move randomly and influence nearby agents based on the persuasion rate and influence radius parameters.

How it works: Agents move around the canvas and when they come within the influence radius of other agents, they have a chance to persuade undecided agents or even change the minds of agents with different preferences. The simulation continues until equilibrium is reached or you stop it manually.

New Features: Agents now bounce off each other like balls when they collide! You can toggle between continuous movement and cellular automaton modes, control initial vote probabilities, and see opinion change statistics in real-time.