2D Respiratory System: Diaphragm, Boyle's Law & Gas Exchange
2D cross-section simulator of the human respiratory system: watch diaphragm contraction expand the thorax, Boyle's law drop alveolar pressure below atmospheric to draw air in, and O2/CO2 exchange at the alveoli — with live lung volume, intrapleural pressure and gas-exchange readouts.
This companion simulator strips the respiratory system down to a plain 2D cross-section: a diaphragm, a ribcage, two lungs, and a branching airway ending in alveoli. Contract the diaphragm and watch thoracic volume increase, alveolar pressure drop below atmospheric by Boyle's law, and air flow in through the trachea and bronchi — then relax it and watch the whole cycle reverse on elastic recoil alone. Adjust breathing rate and tidal volume to see how they drive intrapleural pressure, alveolar pressure, minute ventilation, and the resulting O₂/CO₂ exchange readouts in real time.
2D cross-section simulator of breathing: diaphragm contraction expands the thorax, Boyle's law drops alveolar pressure below atmospheric to draw air in, and relaxation reverses the cycle, with live lung volume, pressure and gas-exchange readouts.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install