Heart Rate Simulator

This prompt requests a React, CSS, JavaScript, and HTML visualization of a realistic, interactive heartbeat with an adjustable BPM slider, presented in a single HTML file.

CodeSimulation

Prompt

Create a visualization using React, CSS, JavaScript, and HTML that shows a heartbeat that simulates real movement with an adjustable 'BPM' meter that changes the heartbeat rate based on how your heart would actually beat at that specific BPM.

I want this visualization to feel realistic and interactive to the user once it is running.
- make the heartbeats big and dramatic so the user can easily see what is happening
- make the bpm slider a slider
- make sure to put this in a single HTML.index file
- make sure to simulate REAL heartbeat movement based on the bpm meter
- make sure the heartbeat is always double as in a real heartbeat, not a single beat.
- make sure the heartbeat is displayed as in a heart view and not as a line.