Agents sized by holdings (highlighted pair is trading)
Distribution of holdings vs gamma curve

Kinetic Resource Exchange: Random Pair Trades and the Gamma Distribution (2D)

Hundreds of agents trade a conserved resource in random pairs, like molecules colliding, and an unequal distribution emerges from perfectly fair trades. Change the saving propensity, the number of agents and the starting condition and watch the exponential Boltzmann-Gibbs shape turn into a gamma distribution while the Gini index falls from one half. Blender-built coin stacks, with numerical checks of conservation, variance and the closed-form Gini.

Made with 🟠 Blender