Skip to content

wireman27/bp-monitor-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Backround

I was intrigued by how blood pressure is measured using modern-day devices. After getting acquainted with the basic principles, I wanted to challenge myself to try to create a barebones simulation of the basic mechanisms of measuring blood pressure.

I ended up creating essentially a (fairly buggy) particle collision system with collapsing and expanding walls.

I used p5.js to create the simulation.

Run

python3 -m http.server and then open localhost:8000 in your browser.

Attributions

  1. Oscillatory Blood Pressure Monitoring Devices
  2. atomizer's implementation of de Casteljau's algorithm
  3. A particle collision system example on the p5.js website

Low-Res Demo

A known bug here is the occasional escaping of the blood particle from the confines of the arterial walls. See sketch.js: 95 for more details.

!blood_pressure_monitor_3

About

Visualize blood flow when monitoring blood pressure.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages