Shannon Entropy H(t)
Cell occupancy
Current H
0.00
Gas particles confined to left half expand to fill the box. Shannon entropy H = −Σ pᵢ log pᵢ over spatial cells rises as the distribution spreads — the second law made visual.