WIP - concentric rings generated by heartbeats
- NodeJS
- P5.serialserver
- Local server
- Connect PulseSensor to Arduino (Red - 5V, Black - GND, Purple - A0).
- Run a server using the companion library p5.serialserver: navigate to p5_serialserver folder on Terminal and start a server using the command
node startserver.js
. More at https://github.com/p5-serial/p5.serialserver. - Upload Arduino code at Arduino/pulseSensorServer.ino to write outputs on the serial port.
- Go live here! Using VSCode Live Server extension is the easiest way, node should work too.
Arduino with Pulse Sensor to browser connection: https://medium.com/@venegu.design/real-time-pulse-visualizer-fd407d389edb
- Arduino port is set to "/dev/tty.usbmodem101". Change if needed.
- Heartrate values generally around 100-120.
- Make rings last longer
- Change texture of rings based on other parameters
- Add patterns to the edge of the rings
- Make background more aesthetically pleasing
- Alter threshold to account for general peak heartrate values
- Adapt for touch screen(?)
- Sound
- Disappear when touched but save to show at end
- Show actual p mirabilis images before disappearing or a tree ring etc.
- Replay rings that are currently frozen