Opus Motion ★ Star on GitHub

FX · smoke-puffs

Smoke puffs

Clusters of open doodle ink circles (or soft blurred circles) rise from a vent, grow and fade, then shrink away when fixed; flash mode fires a 2-frame muzzle flash and a forward-drifting smoke puff. Overlay-ready: background "transparent".

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

Smoke puffs: three frames of the visual effect, start, middle and end
Smoke puffs — start, middle and end of the 4.0-second motion.

What Smoke puffs is for

Broken machines, steam, thinking, engines; with flash: cannon / gun / launch / explosion beats.

  • smoke
  • steam
  • puff
  • cannon
  • flash
  • doodle
  • overlay
  • fx

Details

Category
Visual effects & particles
Length
4.0 s (120 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
yes
Seamless loop
no
Text props
—
Colour props
color smokeColor flashColor
Mood
light, paper
Roles
accent
Pairs with
Meshing gears, Box-bot mascot, Stamp slam + keyword pop

Use Smoke puffs in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render smoke-puffs --props '{"color":"#2e2a26","smokeColor":"#e7e4dd","flashColor":"#ff9a3c"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export smoke-puffs --as webm-alpha --props '{"color":"#2e2a26","smokeColor":"#e7e4dd","flashColor":"#ff9a3c"}'

React / Next.js

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

<MotionPlayer
  motion="smoke-puffs"
  props={{color: '#2e2a26', smokeColor: '#e7e4dd', flashColor: '#ff9a3c'}}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="smoke-puffs"
  props='{"color":"#2e2a26","smokeColor":"#e7e4dd","flashColor":"#ff9a3c"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "smoke-puffs",
      "props": {
        "color": "#2e2a26",
        "smokeColor": "#e7e4dd",
        "flashColor": "#ff9a3c"
      }
    }
  ]
}

Smoke puffs props

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

PropDefaultWhat it does
background"auto"scene colour; 'auto' = cream paper (doodle) or dusk navy (soft); 'transparent' = overlay
x0.5vent / muzzle x (0..1)
y0.42vent / muzzle y (0..1)
delay0frame the first puff (or shot) fires
style"doodle"doodle (v20 open ink circles) | soft (v3 blurred grey-white smoke)
flashfalsetrue = cannon mode: muzzle flash + one big puff per shot
shots2flash mode: number of shots
shotEvery8flash mode: frames between shots (0.25 s)
rate9continuous mode: frames between new clusters (0.3 s)
rise0.24rise distance as a fraction of frame height
life36frames each puff lives (1.2 s)
grow1.5scale reached at end of life
size1size multiplier
direction-25flash mode: barrel / blast direction in degrees (0 = right, -90 = up)
drift0sideways wind in u per second
stopAt-1continuous mode: local frame spawning stops and puffs shrink away (-1 = 22 frames before the end)
color"#2e2a26"ink colour
smokeColor"#e7e4dd"soft smoke colour
flashColor"#ff9a3c"muzzle flash outer colour
showSubjecttruedraw the broken machine (doodle) or cannon (flash) — scene mode only
seed6random seed

Notes & credits

Technique sources:

  • video20 27-33 s smoke-puff-circles
  • video3 cannon-flash-smoke