Social Physics Simulator

Where human behavior meets the laws of physics

Explore how concepts from physics—like gravitational attraction, magnetic repulsion, and network dynamics—can help us understand social behaviors, crowd movements, and the formation of communities.

Adjust the parameters below to see how small changes in individual preferences lead to large-scale social patterns.

Strength: 0.70
Tolerance: 0.50
Mobility: 0.30
Randomness: 0.20

Community Metrics

Communities Detected: 3
Average Connections: 4.2
Social Cohesion: 0.65
Isolation Index: 0.12

The Physics of Social Behavior

🌌 Social Gravity

Similar to gravitational attraction in physics, people are drawn to others with shared interests, backgrounds, or beliefs. This "social gravity" explains why communities form and why we tend to associate with similar individuals.

In this simulation, agents with similar traits experience stronger attraction forces.

🧲 Diversity & Repulsion

Just as magnetic poles repel, differences between individuals can create social distance. However, diversity tolerance determines whether these differences lead to segregation or integration.

Higher tolerance allows diverse groups to coexist, while lower tolerance leads to clustering of similar agents.

🕸️ Network Effects

Social connections form complex networks that follow mathematical patterns seen in physical systems. These networks exhibit properties like "six degrees of separation" and small-world phenomena.

In the simulation, lines between agents represent social connections that form and break based on proximity and similarity.

🌀 Emergent Behavior

Complex social patterns emerge from simple individual interactions, much like flocking birds or swirling fluids. These emergent properties cannot be predicted by examining individuals alone.

Watch how macro-level community structures form from micro-level social rules.

Data Science Connection

Social physics uses mathematical models and data analysis to understand human behavior. By applying algorithms from network science and statistical physics, we can predict how information spreads, how communities form, and how social movements emerge.