Opus Motion ★ Star on GitHub

FX · sparkle-burst

Sparkle burst

Four-point doodle sparkles burst from a contact point and twinkle out (tool-tap repair), or gold stars fly out of a jittering scuffle cloud, or twinkle around a cheering character. Overlay-ready: background "transparent".

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

Sparkle burst: three frames of the visual effect, start, middle and end
Sparkle burst — start, middle and end of the 2.1-second motion.

What Sparkle burst is for

Success / fixed / done accents, comic fights and replacements, celebration beats.

  • sparkle
  • stars
  • success
  • repair
  • fight
  • cheer
  • overlay
  • fx

Details

Category
Visual effects & particles
Length
2.1 s (64 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
yes
Seamless loop
no
Text props
—
Colour props
background colors starColor ink
Mood
light, paper, playful
Roles
accent
Pairs with
Icon draw, fill & glow (heart), Number counter, Box-bot mascot

Use Sparkle burst in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render sparkle-burst --props '{"background":"#E1D7C5","colors":["#5FAE6E","#3F7FD6","#E0B84A","#D9534F"],"starColor":"#E0B84A","ink":"#2e2a26"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export sparkle-burst --as webm-alpha --props '{"background":"#E1D7C5","colors":["#5FAE6E","#3F7FD6","#E0B84A","#D9534F"],"starColor":"#E0B84A","ink":"#2e2a26"}'

React / Next.js

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

<MotionPlayer
  motion="sparkle-burst"
  props={{
    background: '#E1D7C5',
    colors: ['#5FAE6E', '#3F7FD6', '#E0B84A', '#D9534F'],
    starColor: '#E0B84A',
    ink: '#2e2a26',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="sparkle-burst"
  props='{"background":"#E1D7C5","colors":["#5FAE6E","#3F7FD6","#E0B84A","#D9534F"],"starColor":"#E0B84A","ink":"#2e2a26"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "sparkle-burst",
      "props": {
        "background": "#E1D7C5",
        "colors": [
          "#5FAE6E",
          "#3F7FD6",
          "#E0B84A",
          "#D9534F"
        ],
        "starColor": "#E0B84A",
        "ink": "#2e2a26"
      }
    }
  ]
}

Sparkle burst props

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

PropDefaultWhat it does
background"#E1D7C5"scene paper colour; 'transparent' = overlay (no subject, no paper)
x0.5contact point x (0..1)
y0.56contact point y (0..1)
delay34repair: frame of the final tap (sparkles fire here); scuffle/cheer: start frame
variant"repair"repair (4-point colour sparkles + impact ticks) | scuffle (dust cloud + gold stars) | cheer (twinkling gold stars around a bouncing bot)
count8number of stars (v20 5-9, v22 4-6)
radius230scatter radius in u (~1.2 body widths)
colors["#5FAE6E","#3F7FD6","#E0B84A","#D9534F"]sparkle colours (repair variant)
starColor"#E0B84A"gold star colour (scuffle / cheer)
size1overall size multiplier
life21sparkle life in frames (0.4-0.7 s)
tickstrueflash radial ink impact ticks for 3 frames on each tap
taps3repair scene: number of hammer taps (sparkles on the last)
tapEvery8frames between taps (0.25 s)
scuffleFrames40scuffle variant: length of the jittering cloud window
ink"#2e2a26"outline colour
showSubjecttruedraw the scene subject (hammer + cracked pipe / bouncing bot); ignored in overlay mode
seed4random seed

Notes & credits

Technique sources:

  • video20 tool-tap-repair + sparkle-burst
  • video22 capture-scuffle-sparkles
  • video22 cheer-bounce-emotes