The Game of Entropy

Ready
Entropy
0.00
5
1 in 10

How It Works

This simulation demonstrates the second law of thermodynamics and the concept of entropy.

Click and drag on the grid to place particles. Then press Start to watch how random movements naturally lead to disorder.

The entropy meter shows how evenly distributed the particles have become - higher values mean more disorder.

Adjust the entropy rate to control how quickly particles move around.

Tracer Density: Adjust how many colored tracer particles appear among the black particles. These colored particles make it easier to track individual movement.

Try it: Place all particles in one corner, then start the simulation and observe how they naturally spread throughout the available space.

Understanding Entropy & Statistical Mechanics

The Game of Entropy demonstrates fundamental principles from thermodynamics and statistical mechanics that govern how our universe evolves over time.

The Second Law of Thermodynamics

This simulation visualizes the second law of thermodynamics, which states that the total entropy of an isolated system always increases over time. In simpler terms, systems naturally evolve from ordered states to more disordered states.

Why Entropy Plateaus Around 80%

You may notice that entropy tends to plateau around 80% rather than reaching 100%. This is not strictly a limitation of the simulation, but accurately reflects how entropy behaves in real physical systems with constraints:

Measuring Entropy

In this simulation, we measure entropy using Shannon's information entropy formula. The grid is divided into regions, and we calculate how evenly particles are distributed among these regions. The formula is:

H = -∑ pi log2(pi)

Where pi is the probability of finding a particle in region i. The result is normalized to a percentage of the maximum possible entropy for easy understanding.

Entropy Fluctuations

You might notice small fluctuations in entropy even after it has plateaued. These fluctuations are called "thermal fluctuations" in physics, and they're a natural feature of statistical systems. Even in equilibrium, random movement occasionally creates small, temporary pockets of order or disorder.

Irreversibility and Time's Arrow

This simulation also demonstrates why time appears to flow in one direction. While each particle movement follows reversible rules, the overwhelming statistical tendency toward disorder creates an arrow of time. The probability of all particles spontaneously returning to their initial ordered state is vanishingly small—equivalent to dropping a broken egg and watching it reassemble itself.

Tracer Particles

The colored tracer particles allow you to track individual movements. They demonstrate how a particle's trajectory through the system is essentially random over time, an important concept in the kinetic theory of gases and Brownian motion.

Further Exploration

Try these experiments:

This simulation provides insight into why disorder naturally increases in our universe, from why your room gets messy without effort, to why heat flows from hot objects to cold ones, to the ultimate fate of our universe as it approaches maximum entropy (heat death).