Opus Motion ★ Star on GitHub

Image looks · pixel-dither

Pixelate + Bayer dither look

Image rendered as chunky 6 px pixel art with 2x2 Bayer ordered dither, a 5–8 colour hue ramp, 2.34:1 letterbox, grain and vignette, slowly tilting.

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

Pixelate + Bayer dither look: three frames of the image effect, start, middle and end
Pixelate + Bayer dither look — start, middle and end of the 6.0-second motion.

What Pixelate + Bayer dither look is for

Retro game / pixel-art cinematics, moody cold opens, unifying mixed stills into one pixel style.

  • image
  • pixel-art
  • dither
  • retro
  • letterbox
  • grade
  • palette collapse
  • colour depth
  • memory fading
  • bit depth
  • faded
  • flashback

Details

Category
Image looks & photo effects
Length
6.0 s (180 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
medium
Transparent overlay
no
Seamless loop
no
Text props
—
Colour props
colors
Image props
src
Mood
dark, photo, pixel, cinematic, nature
Roles
backdrop
Pairs with
Snowfall, Aurora curtain, Story caption box

Use Pixelate + Bayer dither look in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render pixel-dither --props '{"colors":["#06050a","#170d1a","#33172a","#5e2430","#93392d","#c8642f","#eda14c","#ffe0a3"],"src":""}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export pixel-dither --as mp4 --props '{"colors":["#06050a","#170d1a","#33172a","#5e2430","#93392d","#c8642f","#eda14c","#ffe0a3"],"src":""}'

React / Next.js

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

<MotionPlayer
  motion="pixel-dither"
  props={{
    colors: [
      '#06050a',
      '#170d1a',
      '#33172a',
      '#5e2430',
      '#93392d',
      '#c8642f',
      '#eda14c',
      '#ffe0a3',
    ],
    src: '',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="pixel-dither"
  props='{"colors":["#06050a","#170d1a","#33172a","#5e2430","#93392d","#c8642f","#eda14c","#ffe0a3"],"src":""}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "pixel-dither",
      "props": {
        "colors": [
          "#06050a",
          "#170d1a",
          "#33172a",
          "#5e2430",
          "#93392d",
          "#c8642f",
          "#eda14c",
          "#ffe0a3"
        ],
        "src": ""
      }
    }
  ]
}

Pixelate + Bayer dither look props

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

PropDefaultWhat it does
src""public/ image path; empty = procedural plate
seed1procedural plate / ember seed
palette"dusk"procedural plate palette: dusk | night | dawn
pixelSize6virtual pixel size in px at 1080p (source: 6)
colors["#06050a","#170d1a","#33172a","#5e2430","#93392d","#c8642f","#eda14c","#ffe0a3"]luminance ramp dark -> light (3–8 colours); [] keeps source colours, posterised
dither12x2 Bayer dither strength in palette steps (0 = none, 1 = classic)
tilt22slow vertical tilt in px/s (+ = tilt up)
push1.2slow push-in in %/s
letterbox"auto"auto (landscape only) | on | off — hard black bars
aspect2.34active picture aspect (2.34 in the source)
embers18number of rising pixel embers (0 = none)
grain0.035grain amount (0.03–0.04)
vignette0.55corner darkening (0.55 in the source)
fadeIn18fade from black over this many frames
ladder[]palette collapse: colour-depth steps, one per stepFrames after collapseAt, e.g. ['c16','c8','gb4','c2','faded'] (presets full 24 steps | c16 | c8 resampled from colors | gb4 | c2 | faded fixed blue-greys, or a hex ramp string '#000,#445,#aab'); [] = off
stepFrames15palette collapse: frames per step (a beat, 15 = 0.5 s)
collapseAt30palette collapse: frame of the first step

Notes & credits

Technique sources:

  • video21 0:00-0:20 pixelate-dither-look
  • video21 cinemascope-letterbox