Source: saved session 01a154c5-2f94-7629-b0d6-1d5c90eb4a33, October 19, 2026.
This is the original session write-up, preserved verbatim below. Desktop paths and verification claims refer to that original session, not this import. Educational material only; not a clinical protocol. Clinical statements have not been independently reviewed during import.
I built the ventilator figure at the size you picked: an ICU ventilator, humidifier and breathing circuit on a bench, connected to a spring-loaded bellows test lung. Both themes are done, and the geometry audit and the line check both pass.
Files in ~/Desktop/02_projects/anatomy-ventilator/:
ventilator-light.htmlandventilator.html(dark): open either one in a browser.preview-light.pngandpreview-dark.png: still images.build.mjs,model.js,live.js,vent.css: rerunnode build.mjs(add--lightfor the light page).
What's on the bench
- The machine: the ventilator has a live screen showing pressure, flow and volume traces, plus 8 measured numbers and the setting boxes. It also has one press-and-turn dial, six hard keys (O₂ 100%, manual breath, insp hold, exp hold, alarm silence, lock) and an alarm lamp. On its side are the breathing ports, a nebulizer port, and the O₂ and air inlets fed from a wall gas panel.
- The circuit: heated humidifier (37 °C), ribbed tubing, Y-piece, flow sensor, and an orifice wheel on the lung inlet that stands for airway resistance.
- The test lung: the bellows rises by exactly the volume delivered, and its four springs are the compliance (stiffness). The dial on its base reads the pressure inside the lung, while the screen reads airway pressure. The gap between the two is resistance times flow.
- The RT's own tool: a cuff manometer marked with the 20–30 cmH₂O target zone.
What it can do
- Modes: VC-AC, PC-AC, PRVC, SIMV with pressure support, PSV and CPAP.
- Settings (14): mode, tidal volume, rate, PEEP, FiO₂, inspiratory pressure, inspiratory time, peak flow, flow pattern, pressure support, rise time, expiratory sensitivity, trigger and the high-pressure limit.
- Patient controls: compliance, resistance, the patient's own breathing effort and their own rate.
- Maneuvers: inspiratory hold gives plateau pressure, driving pressure, static compliance and airway resistance. Expiratory hold gives total PEEP and auto-PEEP (air trapped because the lung didn't finish emptying).
- 17 calculated values are listed with plain explanations. They include PaCO₂ from the alveolar ventilation equation, PAO₂ from the alveolar gas equation, and RSBI (rate divided by tidal volume, used to judge readiness to come off the vent).
- Alarms: high pressure (cuts the breath short), apnea with backup breaths, low minute volume, low exhaled volume, high rate, auto-PEEP, plateau over 30, and driving pressure over 15.
- "RT rounds": a tour that plays on load, about 2¼ minutes. It walks through assessment, an inspiratory hold, ARDS with lung-protective settings, a switch to pressure control, bronchospasm with auto-PEEP, waking up, and a breathing trial on pressure support with RSBI.
- Below the card: a controls panel explaining every setting and number, plus write-ups on the RT's role, the alarms, and keyboard use.
How I checked it
- The model's numbers match the textbook equations. The default VC-AC breath gives a peak pressure of 23.9, plateau 14.0, static compliance 50 and resistance 9.9. Bronchospasm at rate 22 gives about 2.7 cmH₂O of auto-PEEP, which drops to 0.7 at rate 12.
- Scripted clicks and keys change the settings, the panel and the readout correctly.
- The page runs at 60 fps with no console errors.
- I captured it at phone width (390 px) and with reduced motion on. Both work, but the figure is small at phone width.
Limits
- It's a teaching model with a single lung compartment, not for clinical use. The screen and the caption both say so.
- The screen text is tiny at normal size. The panel under the card shows every value at readable size.
- When you touch any control, the RT rounds tour stops for good. Press "Play RT rounds" to restart it.