Opus Motion ★ Star on GitHub

Shapes · heart-draw-fill

Icon draw, fill & glow (heart)

On warm sketch paper a pencil draws a red heart outline (or star / check / bolt), the hatched fill fades in, 4-point sparkles twinkle around it and a soft warm glow pulses while it hovers.

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

Icon draw, fill & glow (heart): three frames of the shape animation, start, middle and end
Icon draw, fill & glow (heart) — start, middle and end of the 4.0-second motion.

What Icon draw, fill & glow (heart) is for

Love / thanks / success end beats, like-subscribe moments, a finished checkmark or a power-up icon.

  • heart
  • icon
  • draw-on
  • fill
  • glow
  • pencil
  • sketch
  • love
  • check

Details

Category
Shape & geometric animations
Length
4.0 s (120 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
no
Seamless loop
no
Text props
icon
Colour props
background color outlineColor glowColor
Mood
light, paper
Roles
subject
Pairs with
Confetti burst, Sparkle burst, Handwrite-on title

Use Icon draw, fill & glow (heart) in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render heart-draw-fill --props '{"icon":"heart","background":"#E9D3B6","color":"#E38C76","outlineColor":"#C0403E","glowColor":"#FFB070"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export heart-draw-fill --as mp4 --props '{"icon":"heart","background":"#E9D3B6","color":"#E38C76","outlineColor":"#C0403E","glowColor":"#FFB070"}'

React / Next.js

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

<MotionPlayer
  motion="heart-draw-fill"
  props={{
    icon: 'heart',
    background: '#E9D3B6',
    color: '#E38C76',
    outlineColor: '#C0403E',
    glowColor: '#FFB070',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="heart-draw-fill"
  props='{"icon":"heart","background":"#E9D3B6","color":"#E38C76","outlineColor":"#C0403E","glowColor":"#FFB070"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "heart-draw-fill",
      "props": {
        "icon": "heart",
        "background": "#E9D3B6",
        "color": "#E38C76",
        "outlineColor": "#C0403E",
        "glowColor": "#FFB070"
      }
    }
  ]
}

Icon draw, fill & glow (heart) props

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

PropDefaultWhat it does
icon"heart"'heart' | 'star' | 'check' | 'bolt'
background"#E9D3B6"paper colour
color"#E38C76"fill colour (hatched)
outlineColor"#C0403E"pencil outline colour
glowColor"#FFB070"radial glow colour
size0.46icon width as a fraction of the short side
drawDur36frames for the outline draw-on (36 measured)
startAt8frame the outline starts drawing
glowtruewarm glow fades in after the fill
penciltrueshow the pencil that draws the outline
sparkleCount5twinkling 4-point sparkles around the icon
frametruedraw the torn deckle paper frame

Notes & credits

Technique sources:

  • video20 3:29.5-3:33 heart-draw-fill-glow
  • video20 3:36.5 fade-to-paper heart