Opus Motion ★ Star on GitHub

FX · confetti-burst

Confetti burst

Flat circles, rings, squares and capsules explode radially from a point with drag, gravity, spin and 3D flutter; fill mode tiles the whole frame (video17). Overlay-ready: background "transparent".

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

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

What Confetti burst is for

Celebrations, completions, level-ups, "chaos" beats; small counts make an impact puff on a landing or tap.

  • confetti
  • burst
  • celebrate
  • particles
  • overlay
  • fx

Details

Category
Visual effects & particles
Length
3.3 s (100 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
yes
Seamless loop
no
Text props
—
Colour props
background palette subjectColor
Mood
light, playful
Roles
accent
Pairs with
Icon draw, fill & glow (heart), Number counter, Mask-rise title, Browser mockup with living hero

Use Confetti burst in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render confetti-burst --props '{"background":"#EEEBDE","palette":["#ED3821","#2536F4","#F5CA1E","#F7A7CC","#0B0D0C","#8A877F"],"subjectColor":"#ED3821"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export confetti-burst --as webm-alpha --props '{"background":"#EEEBDE","palette":["#ED3821","#2536F4","#F5CA1E","#F7A7CC","#0B0D0C","#8A877F"],"subjectColor":"#ED3821"}'

React / Next.js

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

<MotionPlayer
  motion="confetti-burst"
  props={{
    background: '#EEEBDE',
    palette: ['#ED3821', '#2536F4', '#F5CA1E', '#F7A7CC', '#0B0D0C', '#8A877F'],
    subjectColor: '#ED3821',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="confetti-burst"
  props='{"background":"#EEEBDE","palette":["#ED3821","#2536F4","#F5CA1E","#F7A7CC","#0B0D0C","#8A877F"],"subjectColor":"#ED3821"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "confetti-burst",
      "props": {
        "background": "#EEEBDE",
        "palette": [
          "#ED3821",
          "#2536F4",
          "#F5CA1E",
          "#F7A7CC",
          "#0B0D0C",
          "#8A877F"
        ],
        "subjectColor": "#ED3821"
      }
    }
  ]
}

Confetti burst props

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

PropDefaultWhat it does
background"#EEEBDE"scene colour; 'transparent' = overlay (subject ball hidden)
x0.5burst origin x (0..1 of frame width)
y0.55burst origin y (0..1 of frame height)
delay18local frame the burst fires (the hero ball winds up during the frames before it)
count150number of pieces (v17 ~141, v14 30-40, v7 3-12)
palette["#ED3821","#2536F4","#F5CA1E","#F7A7CC","#0B0D0C","#8A877F"]piece colours
weights[0.18,0.18,0.12,0.14,0.2,0.18]relative weight of each palette colour (same length as palette, else uniform)
shapes["circle","ring","square","capsule","dot"]any of circle, ring, square, capsule, dot, triangle
power1launch speed multiplier (0.15 = tiny landing puff, 1 = fills the frame)
gravity1gravity multiplier (0 = float)
size1piece size multiplier
spread360launch cone in degrees, centred upward (360 = all directions)
upBias520extra upward launch speed in px/s (v14 -150..-500)
flutter1sway + 3D flip amount while falling (0 = rigid)
fillfalsetrue = v17 mode: pieces fly to a jittered grid that tiles the whole frame, float, then drop out
life4seconds before a piece fades (burst mode)
ringRadius40spawn ring radius in u (v14 spawns on a 60-120 px ring)
ghoststruedraw motion-blur ghost copies while pieces move fast
showSubjecttruedraw the hero ball that pops (scene mode only)
subjectColor"#ED3821"hero ball colour
seed3random seed

Notes & credits

As a web overlay: <MotionPlayer motion="confetti-burst" overlay loop="once"/> over your success screen.

Technique sources:

  • video17 6.40-7.50 confetti-burst-fill
  • video7 impact-confetti
  • video14 style-swap-confetti-burst