Interactive simulations & visualizations

Visualizing the beauty in physics and mathematics


Project maintained by zhendrikse Hosted on GitHub Pages — Theme by mattgraham

Adiabatic expansion


You are looking at a simulation of the adiabatic expansion of a gas. Note that the initial normal distribution of the components of the particle velocities does eventually yield a Maxwell-Boltzmann distribution of velocities in 3D, see for example this form post.

🔧 adiabatic_expansion.js is made with Three.js
⭐ Based on this code on Trinket
👉 Also available as adiabatic_expansion.py


Share on: