Ehrenfest's Urn

An illustration of entropy's increase in the direction of time we call the future.

This is a simulation of two gases mixing through a small opening between two boxes. Initially very low in entropy (that is, the two distinct gases are separated), the system evolves to the higher entropy state in which the gases are mixed.

Created by Dan McKinley.

Requires a browser that supports the <canvas> element, in other words, pretty much any browser except Internet Explorer.