🎲 Hard-Sphere Gas: Maxwell-Boltzmann Relaxation and Free-Expansion Entropy
3D hard-sphere gas: elastic collisions on a cell grid, relaxation of a single-speed start to the Maxwell-Boltzmann distribution, equipartition and free-expansion entropy gain N k ln 2, with five numerical checks.
⚙ Under the hood
3D hard-sphere gas: elastic collisions on a cell grid, relaxation of a single-speed start to the Maxwell-Boltzmann distribution, equipartition and free-expansion entropy gain N k ln 2, with five numerical checks.
statistical mechanicsMaxwell-Boltzmannentropyfree expansionequipartitionhard spheres
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install