324

ECG Heartbeat Line

An ECG waveform draws left to right as a glowing dot leads it and the heart rate ticks

Shape & SVGIdle loopNumbers & dataApp UIGSAPDrawSVG

Hannah's Motion Library
Web motion effects × AI prompts

AI prompt

An ECG display in a medical or health app: on a dark screen with a fine grid, a glowing ECG waveform (flat line, small wave, sharp QRS spike, T wave, repeating) draws from left to right with a glowing cursor dot at its leading edge; when it reaches the end the line disappears from the left and redraws; the top right shows a heart rate number (changing slightly now and then) and a steadily beating heart. (GSAP: DrawSVG "0% 0%" → "0% 100%" to draw, then to "100% 100%" to disappear; the cursor dot follows the same path with MotionPathPlugin; the heart scale yoyo)

When you copy it, a note to “match the site’s existing theme colors” is added automatically, so you don’t need to specify colors.

How to use it

  1. Tap “Copy AI prompt”.
  2. Paste it into an AI such as ChatGPT or Claude, and tell it which element on your site to apply it to (for example, the homepage headline or a buy button).
  3. The AI writes code that matches your site’s colors. Paste it into your project, then fine-tune the timing and distances.

More shape & svg effects

346 more motion effectsText, buttons, cards, backgrounds, cursors… preview them all and copy AI prompts

Browse all effects →