Migration & Gravity Model — Interregional Flows (2D)
Six stylized cities exchange animated migrant flow particles on a flat map, following the gravity model of migration M_ij = k·Pop_i·Pop_j / dist^γ — adjust the distance-decay exponent and two city populations to see every route react live.
This 2D companion drives the same gravity-model-of-migration formula as the 3D version on a flat canvas map: six cities sized by population exchange animated flow particles, a ranked panel lists the eight strongest routes live, and sliders for the distance-decay exponent γ and two city populations update every connecting line instantly.
2D gravity-model-of-migration lab: M_ij = k·Pop_i·Pop_j / dist^γ drives animated flow particles between six cities, with live sliders for γ and two populations and a ranked top-8 flow panel.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install