Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 1.14 KB

README.md

File metadata and controls

23 lines (13 loc) · 1.14 KB

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