Home▸Biology▸Lung Physiology: Breathing & Gas Exchange (2D)

Lung Physiology: Breathing & Gas Exchange (2D)

2D pulmonary-mechanics lab: drive breathing rate, effort and inspired O2 across healthy, asthma, COPD and fibrosis presets, and watch a live spirometry trace and flow-volume loop respond to real resistance/compliance equations.

Biology2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-lung-physiology-simulator-breathing-gas-exchange ↗ Open standalone

This 2D companion drives the same pulmonary-mechanics equations as the 3D model through a plain canvas view built for reading the physiology rather than orbiting an anatomical scene: a side panel exposes breathing rate, effort (target tidal volume), inspired O₂ and four disease presets, a schematic bellows diagram shows the chest wall, diaphragm and airway tree responding in real time, a scrolling spirometry trace plots lung volume against time, and a flow-volume loop — the actual diagnostic readout doctors use — traces flow against volume so the scooped-out obstructive curve of asthma/COPD or the tall narrow restrictive curve of fibrosis is directly visible instead of implied.

⚙ Under the hood

2D pulmonary-mechanics lab with a live spirometry trace and a flow-volume loop, driven by real resistance/compliance equations across four disease presets.

pulmonary mechanicsspirometryflow-volume loopairway resistancelung compliancegas exchange

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)