Atmosphere Simulation

Technology & Creativity
Sep 30, 2024

This is a side project I'd been planning but Mick West beat me to the punch with his excellent Java applet:
https://www.metabunk.org/gas/
My Python program is a simulation of a planet's atmosphere based on gravity and the collisions between air molecules. It's just a simple demonstration that you don't need a "container" for a planet to have an atmosphere, and also demonstrates how atmospheric pressure decreases with increasing distance from the planet. Here's the source code:
https://drive.google.com/file/d/1Lwwk...
Go check out Mick West's excellent videos on the subject:
• Why the Atmosphere Does Not Fly off i...
• Metabunk's Gas Universe Simulator