Home▸Physics & Mechanics▸Balls into Bins: The Power of Two Choices

🎱 Balls into Bins: The Power of Two Choices

Throw balls into a rack of bins at random, then let each ball inspect two bins and take the emptier one. Watch the fullest bin collapse from ln n / ln ln n to ln ln n / ln 2, compared with Poisson and a mean-field differential equation and a Monte Carlo check.

Physics & Mechanics3DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 2D version
Balls into Bins: The Power of Two Choices ↗ Open standalone
⚙ Under the hood

Throw balls into a rack of bins at random, then let each ball inspect two bins and take the emptier one. Watch the fullest bin collapse from ln n / ln ln n to ln ln n / ln 2, compared with Poisson and a mean-field differential equation and a Monte Carlo check.

Balls into BinsLoad BalancingPower of Two ChoicesPoisson DistributionRandomized Algorithms

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

What did you find?

Add reproduction steps (optional)