Wealth flow
This simulation shows a small population drifting around a looped arena (think Asteroids!) bumping into one another, representing the random economic encounters of daily life. Each encounter involves some exchange of money - either normal fair trade, buying and selling, or extractive mechanisms like rent, interest and profit, which this blog is all about. Unlike the real economy, you get to choose the level of extraction!
There’s also an option to apply a wealth tax which gets turned into a Universal Basic Income (UBI), returning some money down the economic pyramid. To start with, watch what happens over time with the default parameters, and then you can tweak things to your heart’s content.
The three levers
Trade. A small random transfer at every encounter — the noise of everyday exchange, neither party expected to gain on average. Total wealth is conserved across the pair; the only clamp is the welfare floor at zero (no debt). On by default.
Extraction. A flow from the poorer to the richer party at every encounter, proportional to the wealth gap between them. The one-line stand-in for everything that flows uphill in a market economy — rent on land, interest on debt, profit on labour, embedded margins in every value chain. 5% by default; turn it up to see the characteristic Pareto shape emerge more quickly.
Tax and UBI. A continuous progressive wealth tax on anyone above a threshold (expressed as a multiple of the equal share), with the proceeds redistributed equally to everyone as a universal basic income. Total wealth is conserved exactly — nothing leaves the system. Off by default; see how far you have to push it to counter the extraction.
The histogram shows the live wealth distribution in 100 equal bins from zero to twice the equal share, with two summary statistics commonly used to represent wealth inequality: the Gini coefficient (0 = perfect equality, 1 = total concentration) and a Hill-estimator α for the upper tail (a rough Pareto index — lower means a heavier tail).
Things to try
- Extraction at 5%, no tax (the default). Watch concentration accelerate well past the trade-only randomness. One or two green oligarchs usually emerge within a minute or two.
- Trade only, extraction and tax both zero. Wait. The distribution drifts unmistakably toward a Pareto-like shape regardless. This might not be obvious - you might perhaps think it would converge to everyone being equal. Thermodynamics says otherwise - the subject of a future post. But it differs from the extractive version in that it has natural limits, and the fortunes of individuals change over time. Click on a circle to track it, and a graph along the bottom shows how its wealth changes.
- Extraction at 5%, tax at 3%/s above 200% of equal share. A “social-democratic” knob. Clips the top of the distribution; the shape remains broadly Pareto.
- Extraction at 5%, tax at 20%/s above 100%, population 100. The distribution splits in two — a flat band above the equal share and a power-law tail of people pinned at the floor. The yellow middle disappears entirely. This is the bimodal-trap regime; raising UBI alone doesn’t fix it because extraction per capita scales with population while UBI per capita doesn’t.
- Size by wealth. On by default. Circle size grows with wealth and mass scales with wealth², so oligarchs sit immovably under bombardment from the swarm and encounter rates depend on wealth. Turn it off and restart to make encounters wealth-blind.
Sharing a setup
The Copy link button (bottom-right of the sim) captures the
currently applied slider state into the URL and copies it to the
clipboard. Posts elsewhere on the site can link straight to a specific
scenario — bimodal trap, social-democratic clip, trade-only attractor
— and the recipient lands with the sim already running with those
settings. Query params: extraction, trade, tax-threshold, tax-rate,
pop, size. Missing or out-of-range values fall back to defaults.
Appendix: the per-tick economic model
The physics — circles bumping around in a toroidal arena, with mass and elastic collisions — exists only to give individuals a plausible rate of encounter. Wealthier individuals are larger, both as a visual signal and to represent how they become part of more people’s lives - think of a landlord with lots of tenants.
The interesting part is what happens to their wealth when an encounter occurs, and what happens continuously to all wealth between encounters. Both are abstracted below; the physics is left as a black box that decides which pairs are in contact at this tick.
Notation
| Symbol | Meaning | Default |
|---|---|---|
| population | 25 | |
| wealth of individual | initially | |
| total wealth (conserved) | ||
| current equal share | ||
| extraction fraction per encounter | ||
| trade amplitude as fraction of | ||
| tax threshold as multiple of | ||
| tax rate per second |
Per-encounter wealth transfer
When the physics declares individuals and are in contact at this tick, two transfers occur. Both are zero-sum within the pair and both are clamped so neither party can be pushed below the welfare floor at zero. Together they preserve the per-pair total exactly.
Trade — zero-mean uniform noise scaled to the current equal share. Sample amplitude and draw a candidate transfer:
Clamp so the loser has the money to lose:
Apply:
Extraction — flows from the poorer to the richer party in proportion to the gap between them:
Clamp so neither party crosses zero:
Apply:
Per-tick wealth tax and UBI redistribution
Independently of encounters, every tick advances a continuous progressive wealth tax that recycles its take back as a universal basic income. The rate is per-second, integrated over the tick’s .
Tax everyone above the threshold:
Total revenue is collected and redistributed equally:
The net per individual is and the population total is preserved by construction.