Home▸Medicine & Biophysics▸Code Blue Physiology Engine

Code Blue Physiology Engine

Closed-loop cardiac-arrest physiology simulator: run CPR, epinephrine and defibrillation on a 3D mannequin driven by a real hemodynamic model (CO = HR x SV, MAP = CO x SVR) and watch HR, MAP, SpO2 and EtCO2 respond in real time.

Medicine & Biophysics3DModerate60 FPS📱 Mobile-adapted
Code Blue Physiology Engine ↗ Open standalone

A closed-loop cardiac-arrest simulator built on the same modeling idea used inside real high-fidelity mannequin trainers: a small hemodynamic engine (cardiac output = heart rate × stroke volume, mean arterial pressure ≈ cardiac output × systemic vascular resistance) drives four live vitals — heart rate, MAP, SpO₂ and EtCO₂ — for a 3D mannequin in ventricular fibrillation. Start CPR and tune compression depth toward the 5–6 cm target to raise CPR quality and EtCO₂, give epinephrine to boost coronary perfusion pressure, and time a defibrillation shock once quality and energy are in your favor. Succeed and the rhythm converts to sinus with return of spontaneous circulation; neglect the arrest too long and it deteriorates into asystole, forcing a scenario reset.

⚙ Under the hood

Run CPR, epinephrine and defibrillation on a 3D mannequin driven by a closed-loop hemodynamic model (CO = HR x SV, MAP = CO x SVR) and watch heart rate, MAP, SpO2 and EtCO2 respond in real time as the arrest resolves or deteriorates.

cardiac-arrestcprdefibrillationphysiology-enginehemodynamicsmedical-simulation

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)