Home▸Medical Technology & Imaging Physics▸Lung Mechanics Simulator — Breathing, Compliance & Pressure-Volume Loop (2D)

🫁 Lung Mechanics Simulator — Breathing, Compliance & Pressure-Volume Loop (2D)

2D Canvas simulation of respiratory mechanics: diaphragm-driven lung volume change, Boyle's-law pressure, airway resistance and a live pressure-volume loop.

Medical Technology & Imaging Physics2DModerate60 FPS📱 Mobile-adapted💨 Air & Wind⇄ 3D version
2d-lung-mechanics ↗ Open standalone
⚙ Under the hood

A 2D side-view simulation of respiratory mechanics: diaphragm movement changes chest cavity volume, driving a Boyle's-law pressure drop that pulls air into the lungs. Adjust breathing rate, lung compliance and breath depth while watching a live pressure-volume loop and real-time volume, pressure and flow readouts.

biologymedicinerespiratoryphysiologypressure-volumeboyle's-law

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

What did you find?

Add reproduction steps (optional)