🎲 Entropy & Statistical Mechanics

Watch the arrow of time unfold as particles spontaneously increase disorder

Difficulty: ● Medium

System State:
Ordered
📚 How It Works

Entropy is a measure of disorder in a system. The second law of thermodynamics states that entropy always increases in isolated systems. Watch as particles initially confined to one side spontaneously spread out to fill the entire space - a process that demonstrates why time has a direction.

  • Microstates: All possible arrangements of particles
  • Macrostates: Observable properties like temperature and pressure
  • Boltzmann's Principle: S = k ln(Ω) where Ω is the number of microstates
  • Irreversibility: Systems evolve toward states with more microstates
🔬 Try This
  • Start with all particles on one side, then remove the partition
  • Watch entropy increase as particles spread out
  • Change temprature to see how energy affects diffusion rate
  • Observe that particles never spontaneously return to one side
  • Toggle velocity vectors to see Maxwell-Boltzmann distribution
⚙️ Parameters
Number of Particles 100
Temperature 300 K
Simulation Speed 1x
Show Velocity Vectors
Show Grid
Color by Speed
0.00
Entropy (S/k)
0
Left Side (%)
0
Right Side (%)
0
Collisions
Entropy Over Time
S = kB ln(Ω)
Boltzmann's entropy formula
ΔS ≥ 0
Second law of thermodynamics
⟨v⟩ = √(8kBT/πm)
Average molecular speed