HomeSociety & EconomicsTawaf Crowd Flow Around the Kaaba

Tawaf Crowd Flow Around the Kaaba

Interactive 3D pedestrian-flow simulator of the Islamic ritual of Tawaf: pilgrims circle the Kaaba counterclockwise seven times while a Greenshields-style fundamental diagram slows them down as local crowd density rises.

Society & Economics3DModerate60 FPS📱 Mobile-adapted
religious-studies ↗ Open standalone

Tawaf — circling the Kaaba seven times counterclockwise — is one of the most recognizable acts in Islamic ritual practice, and also one of the largest sustained pedestrian-flow events on Earth. This simulator renders the Kaaba and its seven concentric circumambulation rings in 3D and drives every pilgrim's walking speed from a real crowd-flow fundamental diagram: the more people packed into a ring segment, the slower everyone in it walks, exactly as it does in the physical Mataf. Adjust the pilgrim count, free-flow speed, and the crowd's effective jam density to see free-flowing rings turn into a red-hot bottleneck near the Kaaba's corners, and watch the live counters track average speed, local density, and how many full seven-circuit Tawafs the crowd has completed.

⚙ Under the hood

A 3D pedestrian-flow simulator of the Islamic ritual of Tawaf, where pilgrims circle the Kaaba counterclockwise seven times and their walking speed follows a real crowd-density fundamental diagram.

religious studiescrowd dynamicspedestrian flowHajjritualfundamental diagram

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)