Opus Motion ★ Star on GitHub

Data · heart-rate-monitor

Heart rate monitor

A glowing ECG trace sweeps across a gridded monitor with the classic P-QRS-T beat while a large BPM number and a pulsing heart follow the rate as it climbs from rest to a peak and recovers; a zone list (rest / fat burn / cardio / peak) highlights the current zone and the trace colour follows it.

A free, MIT-licensed animated chart from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

Heart rate monitor: three frames of the animated chart, start, middle and end
Heart rate monitor — start, middle and end of the 8.0-second motion.

What Heart rate monitor is for

Fitness trackers, smartwatch and health-app promos, workout recaps, medical or wellness explainers: show a live heart rate with training zones. Set the resting, peak and recovery BPM and your own zone names, ranges and colours.

  • heart rate
  • ecg
  • ekg
  • bpm
  • pulse
  • heartbeat
  • monitor
  • health
  • fitness
  • wearable
  • smartwatch
  • zones
  • medical
  • vital signs
  • hud
  • overlay

Details

Category
Animated charts & data visualisation
Length
8.0 s (240 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
yes
Seamless loop
no
Text props
title subtitle unit
Colour props
background panel ink accent
Mood
hud
Roles
accent, subject

Use Heart rate monitor in Remotion, React or HTML

Remotion project

terminal
# copy this motion into your Remotion project
node cli/mgl.mjs add heart-rate-monitor --to ../my-app/src

# render an mp4 (run in the library folder)
node cli/mgl.mjs render heart-rate-monitor --props '{"title":"Live heart rate","subtitle":"Warm-up to peak effort and recovery","unit":"BPM","background":"#0B1117","panel":"#131C25","ink":"#EAF1F7","accent":"#3DDC97"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export heart-rate-monitor --as webm-alpha --props '{"title":"Live heart rate","subtitle":"Warm-up to peak effort and recovery","unit":"BPM","background":"#0B1117","panel":"#131C25","ink":"#EAF1F7","accent":"#3DDC97"}'

React / Next.js

tsx
import {MotionPlayer} from 'opus-motion-library/web';

<MotionPlayer
  motion="heart-rate-monitor"
  props={{
    title: 'Live heart rate',
    subtitle: 'Warm-up to peak effort and recovery',
    unit: 'BPM',
    background: '#0B1117',
    panel: '#131C25',
    ink: '#EAF1F7',
    accent: '#3DDC97',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

html
<script src="opus-motion.element.js" defer></script>

<opus-motion motion="heart-rate-monitor"
  props='{"title":"Live heart rate","subtitle":"Warm-up to peak effort and recovery","unit":"BPM","background":"#0B1117","panel":"#131C25","ink":"#EAF1F7","accent":"#3DDC97"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "heart-rate-monitor",
      "props": {
        "title": "Live heart rate",
        "subtitle": "Warm-up to peak effort and recovery",
        "unit": "BPM",
        "background": "#0B1117",
        "panel": "#131C25",
        "ink": "#EAF1F7",
        "accent": "#3DDC97"
      }
    }
  ]
}

Heart rate monitor props

16 parameters — change any of them to make the motion yours.

PropDefaultWhat it does
title"Live heart rate"headline (empty = none)
subtitle"Warm-up to peak effort and recovery"line under the headline (empty = none)
unit"BPM"unit text next to the zone name under the number
bpmStart68resting beats per minute at the start
bpmPeak168highest beats per minute (reached around the middle)
bpmEnd104beats per minute after recovery at the end
zones[{"label":"Rest","min":0,"max":99,"color":"#5AA9FF"},{"label":"Fat burn","min":100,"max…zones [{label, min, max, color?}] low to high; the one containing the live BPM is highlighted and tints the trace
zonesTitle"Heart rate zones"small caption over the zone list (empty = none)
showGridtruedraw the ECG-paper grid
background"#0B1117"page colour, or "transparent"
panel"#131C25"monitor / zone chip colour
ink"#EAF1F7"text colour
accent"#3DDC97"colour when a zone has none
fontFamily""CSS font family (empty = Space Grotesk)
startAt4frame the interface fades in
speed1speed multiplier for the BPM ramp

Notes & credits

Technique sources:

  • original round-3 vertical motion