VentViz is an interactive JavaScript application designed to simulate and visualize human breathing patterns. Given the initial status of a patient, it predicts the progression of the patient's breathing parameters over time and charts this evolution in the manner of a traditional ventilator screen.
The application generates its data according to the RC model of human respiration, which treats the circulatory system as an electrical circuit. It numerically solves the circuit equations to project the evolution of a patient's vital signs. A review of various circuit-inspired models for breathing may be found here.
VentViz offers an interactive, informative interface. This UI mimicks the display of a physical ventilator, with scrolling graphs displaying evolution over time accompanied by printouts of instantaneous vital signs. The user may additionally alter initial parameter values or pause and inspect data for a particular time.
A working demo of VentViz may be found at https://ventviz.herokuapp.com/
- Install NPM if needed
- Install required packages:
npm install
- Start the application with:
npm start
The application should then be served on localhost:3000
, the default for React.