← Back to the Boids experiment

A flock finds order: polarization from chaos

Completed
Seed
42
Steps
600 / 600
Created
26 July 2026 at 08:07
Finished
26 July 2026 at 08:07

Hypothesis

Three purely local, instantaneous rules, with no central coordination and no learning, are enough for ordered collective motion to emerge from random initial velocities

Vital signs

Order parameter0.67
-0.050.390.83step 10step 600 step 10 : 0.03 step 110 : 0.03 step 210 : 0.03 step 310 : 0.23 step 410 : 0.53 step 510 : 0.63 step 600 : 0.67
View data
Order parameter by step
StepOrder parameter
100.03
200.07
300.09
400.10
500.07
600.08
700.11
800.06
900.10
1000.08
1100.03
1200.04
1300.02
1400.02
1500.03
1600.02
1700.05
1800.03
1900.08
2000.05
2100.03
2200.06
2300.18
2400.17
2500.12
2600.08
2700.01
2800.08
2900.12
3000.23
3100.23
3200.27
3300.26
3400.36
3500.22
3600.41
3700.29
3800.33
3900.56
4000.50
4100.53
4200.70
4300.61
4400.61
4500.72
4600.62
4700.68
4800.71
4900.60
5000.77
5100.63
5200.64
5300.77
5400.57
5500.67
5600.70
5700.72
5800.67
5900.73
6000.67
Number of clusters6.00
0.285.5010.7step 10step 600 step 10 : 1.00 step 110 : 7.00 step 210 : 7.00 step 310 : 9.00 step 410 : 7.00 step 510 : 6.00 step 600 : 6.00
View data
Number of clusters by step
StepNumber of clusters
101.00
208.00
306.00
408.00
509.00
6010.0
709.00
806.00
905.00
1007.00
1107.00
1207.00
1306.00
1406.00
1505.00
1605.00
1706.00
1807.00
1907.00
2006.00
2107.00
2208.00
2307.00
2408.00
2507.00
2607.00
2707.00
2807.00
2905.00
3008.00
3109.00
3209.00
3307.00
3407.00
3506.00
3606.00
3706.00
3806.00
3907.00
4006.00
4107.00
4207.00
4308.00
4407.00
4507.00
4607.00
4707.00
4808.00
4908.00
5008.00
5106.00
5206.00
5306.00
5406.00
5505.00
5606.00
5706.00
5807.00
5907.00
6006.00
Mean speed1.60 u/step
0.981.361.74step 10step 600 step 10 : 1.59 u/step step 110 : 1.25 u/step step 210 : 1.04 u/step step 310 : 1.39 u/step step 410 : 1.22 u/step step 510 : 1.21 u/step step 600 : 1.60 u/step
View data
Mean speed by step
StepMean speed u/step
101.59
201.62
301.42
401.44
501.33
601.42
701.38
801.32
901.38
1001.31
1101.25
1201.27
1301.32
1401.19
1501.15
1601.10
1701.07
1801.05
1901.03
2001.05
2101.04
2201.05
2301.08
2401.15
2501.11
2601.22
2701.21
2801.20
2901.29
3001.42
3101.39
3201.26
3301.29
3401.30
3501.27
3601.24
3701.23
3801.27
3901.22
4001.24
4101.22
4201.18
4301.13
4401.28
4501.24
4601.18
4701.27
4801.18
4901.21
5001.19
5101.21
5201.21
5301.22
5401.21
5501.68
5601.07
5701.08
5801.58
5901.68
6001.60

Video captures

Configuration

ParameterValue
params{"n":300,"world_size":150,"perception_radius":15,"sep_weight":1.5,"align_weight":1,"coh_weight":1,"max_speed":3,"min_speed":1,"max_force":0.3,"device":"cuda","render_size":512,"traj_stride":2}