Basharat WantPhysics · University of Kashmir
Menu

Statistical Mechanics

Entropy — Order Lost

Two-dimensional Brownian diffusion disperses 12,000 particles and gradually erases the pattern that forms the number 404.

← Physics Behind the Website
Original Entropy — Order Lost animation

Even the error page obeys physics

The 404 page visualises Brownian diffusion and the gradual dispersal of spatial information. At the start, 12,000 particles form the number 404. Their stochastic motion gradually dissolves the inscription.

Each particle follows a two-dimensional Brownian diffusion process.

dRi(t)=2D(t) dWi(t)d\mathbf{R}_i(t)=\sqrt{2D(t)}\,d\mathbf{W}_i(t)

D(t)D(t) is the time-dependent diffusion coefficient, and Wi(t)\mathbf{W}_i(t) is a two-dimensional Wiener process.

The corresponding probability density evolves according to the diffusion equation.

∂ρ∂t=D(t)∇2ρ\frac{\partial\rho}{\partial t}=D(t)\nabla^2\rho

As the particles disperse, their coarse-grained spatial entropy generally increases.

Scg(t)=−kB∑jpj(t)ln⁡pj(t)S_{\mathrm{cg}}(t)=-k_B\sum_j p_j(t)\ln p_j(t)

pj(t)p_j(t) is the probability of finding a particle in spatial region jj. The particles redistribute while their total number stays fixed, making the information in the initial arrangement progressively less distinguishable.

N(t)=N0=12,000N(t)=N_0=12{,}000

Generated in Python through numerical computation, the animation represents idealised stochastic diffusion. Its entropy measure describes the coarse-grained spatial distribution alone. Complete thermodynamic entropy lies outside the scope of the model.

Replay restores the initial conditions by resetting the computation. The second law of thermodynamics is unaffected.

The website begins with order, concludes with magnetic ordering, and when something goes wrong, entropy wins.