Vicsek Model / ヴィツェック・モデル
近隣との整列と方向の乱れが競合する、自己駆動粒子モデル。
観察 / Explore
ノイズを小さくすると方向がそろいやすく、大きくすると乱れやすくなります。色は進行方向、矢印の長さは表示設定です。集団全体の整列度Φは0〜1。有限個のランダム粒子では完全な0にはなりません。
Lower noise favors alignment; higher noise disrupts it. Color shows heading. Order Φ ranges from 0 to 1; finite random populations generally have a small nonzero value.
運動ルール / Dynamics
Vicsekらの1995年のモデルに基づき、半径1以内の粒子(自分を含む)の単位方向ベクトルを平均して次の向きを決め、独立な一様角度ノイズを足します。全粒子を同時更新。位置は更新前の向きで進めます。
ξᵢ ∈ [−πη, πη), η ∈ [0,1]
xᵢ(t+1) = xᵢ(t) + v(cos θᵢ(t), sin θᵢ(t))
Φ = |Σ(cos θᵢ, sin θᵢ)| / N
原論文の角度ノイズ幅を2πで割った値をスライダーηとして表示します。合計ベクトルがほぼ0なら直前の向きを使います。密度ρ=N/L²で正方形の辺長を決め、上下左右はループです。密度変更時には新しい世界に初期化。引力・斥力や衝突回避はありません。ノイズは実際の温度ではなく方向の乱れです。
Synchronous forward updates use old headings for motion and neighbor alignment plus uniform angular noise for new headings. Noise is normalized to a full 2π range, not physical temperature. The square world has L=√(N/ρ) and periodic boundaries. There is no attraction, repulsion or collision avoidance.
自動観察 / Noise sweep
ノイズ1から0まで0.1刻みの11条件を調べます。各条件は同じシードのランダム配置から始め、200ステップの待機後、200ステップの整列度を平均します。実行中は条件変更を無効化し、一時停止・再開が可能です。「走査を終了」で途中結果もCSVに保存できます。
CSVの標準偏差は時間変動の大きさであり、独立試行による誤差や信頼区間ではありません。待機時間が十分とは限らず、相転移の証明・転移点の確定には使えません。系のサイズ、試行数、待機時間を変える検証が必要です。描画速度は物理ステップの定義を変えません。
The sweep restarts the same seeded random state at each of 11 noise levels, discards 200 steps and averages 200 more. CSV includes temporal standard deviation and simulation settings. These are short single-run observations, not confidence intervals or a determination of a phase transition.
実装 / Implementation
CPU Web Workerと近傍探索用の空間分割を使用します。100〜1,500粒子。高負荷では減速・停止し、非表示タブでは新たな計算を止めます。乱数はシード付きで、一時停止で破棄した未完了ステップは状態や乱数を進めません。本サイト用に数式から実装しました。
CPU worker with spatial neighbor search and seeded randomness. Heavy load slows or pauses. Hidden tabs suspend work. Cancelled steps leave both the committed state and random seed unchanged.