Migration & Gravity Model — Interregional Flows (2D)

This 2D companion drives the same gravity-model formula as the 3D version — M_ij = k·Pop_i·Pop_j / dist^γ — on a flat map: six cities sized by population exchange animated flow particles along connecting lines whose width and density track the computed flow, a ranked panel lists the eight strongest routes live, and sliders for γ and two city populations update every line instantly.