Opus Motion ★ Star on GitHub

HUD · blur-redact-region

Blur / pixelate redact region

Tutorial / privacy overlay: boxes over regions of the footage frost what is underneath (backdrop blur), pop in a scattered pixel mosaic or slide a solid censor bar across, each with corner ticks and a lock badge label; a region can drift to follow a moving element.

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

Blur / pixelate redact region: three frames of the HUD graphic, start, middle and end
Blur / pixelate redact region — start, middle and end of the 6.0-second motion.

What Blur / pixelate redact region is for

Hide names, emails, keys or faces in a screen recording or screenshot walkthrough: pass `regions` (0-1 rects) with a `mode` and a label like "Hidden".

  • blur
  • pixelate
  • redact
  • censor
  • privacy
  • hide
  • mosaic
  • annotation
  • tutorial
  • screen recording
  • overlay
  • lock

Details

Category
HUD & sci-fi interface graphics
Length
6.0 s (180 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
yes
Seamless loop
no
Text props
regions
Colour props
tint outline labelBg labelInk
Mood
photo, pixel
Roles
frame, accent
Pairs with
Cursor driver (operated UI), Keystroke HUD, Spotlight dim focus
Avoid
Replace the sample labels (Blurred / Pixelated / Hidden).

Use Blur / pixelate redact region in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render blur-redact-region --props '{"regions":[{"x":0.12,"y":0.03,"w":0.2,"h":0.028,"mode":"blur","label":"Blurred"},{"x":0.12,"y":0.62,"w":0.12,"h":0.05,"mode":"pixelate","label":"Pixelated"},{"x":0.15,"y":0.84,"w":0.26,"h":0.05,"mode":"bar","label":"Hidden"}],"tint":"#9AA3B5","outline":"#FFFFFF","labelBg":"#12151C","labelInk":"#FFFFFF"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export blur-redact-region --as webm-alpha --props '{"regions":[{"x":0.12,"y":0.03,"w":0.2,"h":0.028,"mode":"blur","label":"Blurred"},{"x":0.12,"y":0.62,"w":0.12,"h":0.05,"mode":"pixelate","label":"Pixelated"},{"x":0.15,"y":0.84,"w":0.26,"h":0.05,"mode":"bar","label":"Hidden"}],"tint":"#9AA3B5","outline":"#FFFFFF","labelBg":"#12151C","labelInk":"#FFFFFF"}'

React / Next.js

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

<MotionPlayer
  motion="blur-redact-region"
  props={{
    regions: [
      {x: 0.12, y: 0.03, w: 0.2, h: 0.028, mode: 'blur', label: 'Blurred'},
      {
        x: 0.12,
        y: 0.62,
        w: 0.12,
        h: 0.05,
        mode: 'pixelate',
        label: 'Pixelated',
      },
      {x: 0.15, y: 0.84, w: 0.26, h: 0.05, mode: 'bar', label: 'Hidden'},
    ],
    tint: '#9AA3B5',
    outline: '#FFFFFF',
    labelBg: '#12151C',
    labelInk: '#FFFFFF',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="blur-redact-region"
  props='{"regions":[{"x":0.12,"y":0.03,"w":0.2,"h":0.028,"mode":"blur","label":"Blurred"},{"x":0.12,"y":0.62,"w":0.12,"h":0.05,"mode":"pixelate","label":"Pixelated"},{"x":0.15,"y":0.84,"w":0.26,"h":0.05,"mode":"bar","label":"Hidden"}],"tint":"#9AA3B5","outline":"#FFFFFF","labelBg":"#12151C","labelInk":"#FFFFFF"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "blur-redact-region",
      "props": {
        "regions": [
          {
            "x": 0.12,
            "y": 0.03,
            "w": 0.2,
            "h": 0.028,
            "mode": "blur",
            "label": "Blurred"
          },
          {
            "x": 0.12,
            "y": 0.62,
            "w": 0.12,
            "h": 0.05,
            "mode": "pixelate",
            "label": "Pixelated"
          },
          {
            "x": 0.15,
            "y": 0.84,
            "w": 0.26,
            "h": 0.05,
            "mode": "bar",
            "label": "Hidden"
          }
        ],
        "tint": "#9AA3B5",
        "outline": "#FFFFFF",
        "labelBg": "#12151C",
        "labelInk": "#FFFFFF"
      }
    }
  ]
}

Blur / pixelate redact region props

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

PropDefaultWhat it does
regions[{"x":0.12,"y":0.03,"w":0.2,"h":0.028,"mode":"blur","label":"Blurred"},{"x":0.12,"y":0.…array of {x, y, w, h (0-1, x/y = top-left), mode?: blur|pixelate|bar, label?, toX?, toY? (drift to this top-left), at?}
blurPx16backdrop blur radius in u (blur and pixelate modes)
pixelSize15mosaic block size in u
tint"#9AA3B5"frost / mosaic / bar colour
tintOpacity0.45frost tint opacity (0-1)
radius10corner radius in u
outline"#FFFFFF"dashed outline and corner tick colour
showLabelstrueshow the lock badge label above each region
labelBg"#12151C"badge fill
labelInk"#FFFFFF"badge text and lock colour
fontFamily"stub"CSS font-family for badges
startAt10frame of the first region
stagger34frames between regions
speed1animation speed multiplier
exitAt0frame everything fades at (0 = just before the end)
seed7mosaic pattern seed
demoBackgroundfalsetrue paints a neutral mock screen behind (previews); false = transparent overlay
demoTone"light"light | dark mock screen

Notes & credits

blur frosts whatever is composited beneath (backdrop blur): use it inside a mix or over HTML. In a transparent alpha export it shows only the tint and mosaic, so prefer mode "bar" or "pixelate" there.

Technique sources:

  • screen-recording tutorial annotation