THE EXPERIMENT GUIDE · EDGAR ORTIZ LLC

Small changes. Different crowds.

Caught in a Mosh turns a concert floor into an experiment you can control. Each dot represents a person with mass, velocity, and a preferred direction. The motion comes from a combination of active steering, contact, and damping. Use the experiments below to see which rules create a pattern and which disrupt it.

BY EDGAR ORTIZ LLC · UPDATED OCTOBER 23, 2026

You do not need an account or a physics background. Open the simulator, let the default crowd move for 10–15 seconds, then change one thing and watch what follows.

Set up a fair comparison

Pause freezes the action so you can inspect forces. 0.25× Slow motion gives you more time to see contacts develop. Reset restores the same starting arrangement with your current settings; New crowd changes the random seed. Both preserve whether you were playing or paused. Devices that request reduced motion start paused.

The A/B links below load a complete experiment, paused, with seed 12 and the relevant overlay. On the simulator, choose Run 15 s from start (10 s for energy) to stop at the exact checkpoint. Load the other version and run it to compare. Each button restores the same initial crowd. Ordinary sliders and presets return to free exploration. The energy experiment first computes a shared 15 s warm-up before applying either treatment.

For a manual comparison, pause, choose a scenario, set the value you want to test, and press Reset. Run it for a fixed amount of simulation time, shown below the floor. Repeat with one setting changed, using Reset again. For a second trial, use New crowd and repeat both versions with that new seed. A single run is an example, not evidence that every crowd will behave the same way.

Changing crowd size restarts positions. Speed, intensity, personal space, alignment, and mode update immediately. Scenario presets change several settings at once, so they are useful starting points but are not controlled comparisons on their own.

Four experiments to try

01 · COORDINATION

Can neighbors organize without a circle route?

  1. Pause and select Beautiful disorder. Keep Random mosh mode and turn on Velocity arrows.
  2. Set Directional alignment to 0%, press Reset, then run for 15 simulation seconds. Watch whether nearby arrows point in similar directions.
  3. Pause, set alignment to 90%, and press Reset. Run for the same amount of time, leaving everything else unchanged.

Look for: patches of people moving together. Alignment makes a person respond to the average velocity of neighbors within 1.8 meters. Random heading changes compete with that tendency, so groups can split or turn. Higher alignment does not guarantee a single, stable vortex.

Why this comparison matters: Random mosh mode has no circle-route force. If you see local coordination here, it comes from the remaining rules. In Circle pit mode, the model explicitly supplies a route and turning preference.

02 · AVOIDANCE AND CONTACT

Is keeping your distance the same as a collision?

  1. Pause and select Room to move. Enable Contact forces and inspect one person.
  2. Set Personal space to 0.00 m, Reset, and run for 15 seconds. Pause occasionally to compare the Personal space / avoidance and Body contact rows.
  3. Repeat with Personal space at 0.80 m. Keep crowd size and speed the same.

Look for: steering before bodies touch. Personal space is an extra desired gap between body edges; it does not change the dots’ radii. Body contact activates when the model’s discs overlap. At zero personal space, the short look-ahead rule can still steer people away from a predicted encounter.

Read it carefully: a larger desired gap need not eliminate all contact. Walls, competing headings, and the available space can still bring people together. Contact pairs is an instantaneous count, so observe several moments instead of comparing two isolated numbers.

03 · ENERGY

What keeps a pit moving?

  1. Select Find the flow and let it run for 15 seconds. Pause and note the Kinetic energy reading.
  2. Switch Self-propulsion off, then resume. Watch Mean speed and Kinetic energy over the next 10 seconds.
  3. Reload Find the flow and repeat the first step. This time set Preferred speed to 0.0 m/s, keeping Self-propulsion on.

Look for: motion fading after active forces are removed. Turning propulsion off disables drive, alignment, avoidance, and circle-route steering. Contact and damping remain. Contacts can transfer motion between people, while damping removes it; a temporary exchange of spring energy means every individual reading need not decrease smoothly.

The distinction: a zero target speed is still an active setting. Avoidance can reposition people while propulsion remains on. The Take the energy away preset is another way to begin with moving people and all active behavior already disabled.

04 · DIRECTION

Does a circle choose its own direction?

  1. Select Find the flow. Run for 15 seconds with the Counterclockwise preference and read Circulation.
  2. Pause, select Clockwise, then resume without resetting. Watch the transition as existing motion and the new preference compete.
  3. For a comparison from the same initial state, Reset and run each preference separately for 15 seconds.

Look for: circulation changing sign. Negative values indicate counterclockwise motion; positive values indicate clockwise motion. Around zero, particles may be moving radially, moving in mixed directions, or barely moving.

What this does not show: the model is given a turning preference. It cannot establish why a real audience chooses a particular direction. A visual resemblance to a concert clip is not a test of that explanation.

What happened in our runs?

MODEL RUNS · OCTOBER 18, 2026 · THREE SEEDS PER TREATMENT

These are runs of this site's own solver, using the same recipes as the A/B buttons. They describe this model and these starting arrangements, not people at a real concert. The sample is small and is not a confidence interval or a claim about every possible seed.

Energy remaining after active behavior changesSeed 12. Both treatments start with identical motion. The solid green line shows propulsion off; the dashed purple line shows target speed zero with avoidance still active. Exact data is in the downloadable CSV.8.8 kJ00 s5 s10 sA: propulsion off (solid)B: target zero (dashed)
Kinetic energy, seed 12. Time starts when the treatment changes, after the shared 15 s warm-up. Lines connect 5 s samples.

Following your neighbors

15 s observation. Each row is the arithmetic mean of three paired runs (seeds 12, 37, 91).

Following your neighbors: model outputs at the checkpoint
TreatmentMean speed (m/s)CirculationEnergy (kJ)Mean contact pairs over time
A · 0% alignment0.926-0.0026.2543.871
B · 90% alignment0.572-0.0372.3280.549

Reproduce A, seed 12 · Reproduce B, seed 12

Avoidance before contact

15 s observation. Each row is the arithmetic mean of three paired runs (seeds 12, 37, 91).

Avoidance before contact: model outputs at the checkpoint
TreatmentMean speed (m/s)CirculationEnergy (kJ)Mean contact pairs over time
A · 0.00 m gap0.5200.0830.8614.643
B · 0.80 m gap0.4750.0690.7410.000

Reproduce A, seed 12 · Reproduce B, seed 12

Where the energy goes

Shared 15 s warm-up, then 10 s observation. Each row is the arithmetic mean of three paired runs (seeds 12, 37, 91).

Where the energy goes: model outputs at the checkpoint
TreatmentMean speed (m/s)CirculationEnergy (kJ)Mean contact pairs over time
A · Propulsion off0.042-0.2350.0123.707
B · Target speed zero0.0190.0000.0030.022

Reproduce A, seed 12 · Reproduce B, seed 12

A direction we supply

15 s observation. Each row is the arithmetic mean of three paired runs (seeds 12, 37, 91).

A direction we supply: model outputs at the checkpoint
TreatmentMean speed (m/s)CirculationEnergy (kJ)Mean contact pairs over time
A · Counterclockwise1.186-0.9928.8080.843
B · Clockwise1.1710.9928.5900.611

Reproduce A, seed 12 · Reproduce B, seed 12

Download all sampled results (CSV) · Download settings and full result record (JSON)

Reproduce the published run set with npm run results in the downloadable experiment source (Node.js 24 or newer, no dependencies). Solver SHA-256: b51bff5180a8df0b9ea8dbfd1e1e0c36853979447a5018f85916790a99a6ef0b. Measurements use 1/120 s steps; displayed results are rounded. Contact-pair means count every observation step rather than only the final frame.

How to interpret the comparisons

Alignment: the average checkpoint speed fell from 0.926 to 0.572 m/s when alignment increased from 0% to 90%. Matching a neighbor's velocity includes its speed. Neighbors moving in opposing directions can pull the local average toward zero. A slower crowd can be a result of stronger alignment; more alignment is not a promise of a stronger vortex.

Personal space: the mean contact-pair count over time fell from 4.643 to zero in these three low-density trials when the desired gap increased to 0.80 m. This does not establish a contact-free result at other densities or seeds. Compare the time-averaged contact pairs, not only the final frame. Avoidance competes with other steering rules, and the three seeds need not all respond identically. An empty contact count does not mean the avoidance force is absent.

Energy: both treatments left little kinetic energy after 10 s. The zero-target treatment ended lower (0.003 kJ versus 0.012 kJ on average), because the drive term actively brakes existing velocity while avoidance remains enabled. With propulsion off, that active braking is removed and damping does the work. A zero speed target still leaves active avoidance, which can add small movements. The model also has spring energy that is not included in the kinetic-energy readout.

Direction: mean circulation was −0.992 for the counterclockwise preference and +0.992 for clockwise. The sign of circulation follows the supplied preference in these trials. That is a consequence of how this model is built. It does not explain why concertgoers choose a direction.

Use the downloadable record to inspect individual seeds. A mean can hide differences between runs, and none of these readings measures injury, real crowd pressure, or a safe attendance level.

Read the measurements without overreading them

Mean speed · meters per second
The average magnitude of individual velocities. A crowd can have high mean speed while its members move in opposite directions. The Preferred speed slider sets a target, not a measured result.
Circulation · a score from −1 to +1
The mean signed tangential fraction of velocity around the floor’s center. It describes how coherently the crowd circles, not how quickly it rotates. Very slow particles contribute zero.
Contact pairs · count
Pairs whose discs overlap in the current force calculation. It is not the number of injured people, accumulated collisions, or a pressure measurement.
Kinetic energy · kilojoules
The sum of ½mv² across all particles, divided by 1,000. Doubling one person’s speed at the same mass quadruples that person’s kinetic energy. The total also depends on crowd size.
Crowd density · people per square meter
The overlay counts particle centers in each 1 m² cell. Changing the grid or particle positions changes that local count. The colors are not safety ratings.

Follow a force, one person at a time

Click or tap a dot to select it, use the person selector below the floor, or focus the floor and press the left or right arrow key. The inspector shows each force component and the resultant. All arrows in its diagram share the same scale. Right is +x; down is +y, matching the screen.

For an illustrative calculation, a person with mass 80 kg under a net horizontal force of 160 N has a horizontal acceleration of 2 m/s², because acceleration equals force divided by mass. That is a worked example, not a measurement from a real pit. Several large forces can partly cancel, leaving a much smaller net force. Velocity also need not point in the direction of acceleration.

A useful model has visible limits

The simulation uses soft discs on a 20 × 10 meter floor. Each physics step is 1/120 second. Masses, steering strengths, body sizes, and spring constants are illustrative choices. A numerical speed ceiling and boundary corrections keep extreme settings stable; they do not represent biological limits.

This model omits falls, fatigue, fear, limbs, exits, obstacles, consent, and decisions about participation. It has not been calibrated to predict injuries or safe crowd capacities. Do not use it to plan venue layouts or crowd-safety measures.

The related 2013 paper by Silverberg and colleagues, Collective Motion of Moshers at Heavy Metal Concerts, describes gas-like and vortex-like crowd motion and explores it with flocking simulations. Caught in a Mosh is an original educational model, not a reproduction or validation of that study. Read about the project and its inspiration, or expand “Under the hood” on the simulator for its equations and parameter choices.

Run your first experiment →