Opus Motion ★ Star on GitHub

Image looks · dot-matrix

Dot matrix / halftone / particle image

Image resampled to a grid of dots — LED billboard, print halftone duotone, glowing luma particles or pointillist dabs — with a stepped resolution ramp from abstract to legible and back.

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

Dot matrix / halftone / particle image: three frames of the image effect, start, middle and end
Dot matrix / halftone / particle image — start, middle and end of the 5.0-second motion.

What Dot matrix / halftone / particle image is for

Music-video stylisation, beat-synced reveals of a picture, retro LED signage, print/poster looks.

  • image
  • halftone
  • led
  • dots
  • particles
  • pointillism
  • resolution-ramp
  • music-video
  • ben-day
  • density field
  • mosaic
  • tiles
  • flip
  • cell text
  • led wall
  • photo reveal

Details

Category
Image looks & photo effects
Length
5.0 s (150 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
medium
Transparent overlay
no
Seamless loop
no
Text props
text
Colour props
panel bgDot paper ink body textColor
Image props
src
Mood
dark, photo, comic
Roles
backdrop
Pairs with
Neon sign ignite, Accelerating beat montage, Kinetic word captions

Use Dot matrix / halftone / particle image in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render dot-matrix --props '{"text":"SCALE","panel":"#060404","bgDot":"#972C21","paper":"#FAF1DE","ink":"#29254A","body":"#FFC861","textColor":"#7FD6FF","src":""}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export dot-matrix --as mp4 --props '{"text":"SCALE","panel":"#060404","bgDot":"#972C21","paper":"#FAF1DE","ink":"#29254A","body":"#FFC861","textColor":"#7FD6FF","src":""}'

React / Next.js

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

<MotionPlayer
  motion="dot-matrix"
  props={{
    text: 'SCALE',
    panel: '#060404',
    bgDot: '#972C21',
    paper: '#FAF1DE',
    ink: '#29254A',
    body: '#FFC861',
    textColor: '#7FD6FF',
    src: '',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="dot-matrix"
  props='{"text":"SCALE","panel":"#060404","bgDot":"#972C21","paper":"#FAF1DE","ink":"#29254A","body":"#FFC861","textColor":"#7FD6FF","src":""}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "dot-matrix",
      "props": {
        "text": "SCALE",
        "panel": "#060404",
        "bgDot": "#972C21",
        "paper": "#FAF1DE",
        "ink": "#29254A",
        "body": "#FFC861",
        "textColor": "#7FD6FF",
        "src": ""
      }
    }
  ]
}

Dot matrix / halftone / particle image props

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

PropDefaultWhat it does
src""public/ image path; empty = procedural plate (sampled analytically)
seed1procedural plate / jitter seed
palette"dusk"procedural plate palette: dusk | night | dawn
style"led"led | halftone | glow | pointillism | field (analytic Ben-Day density field) | tiles (flipping mosaic tiles with grout) | text (words spelled by a cell grid)
pitch26legible dot pitch in px at 1080p (led 26, halftone 13–29, glow 12–18); auto-raised to keep ≤ 5000 dots
ramp[150,90,60,40]coarser pitches stepped through before the legible one ([] = no ramp)
stepFrames6frames per ramp step (half-beats: 5–6)
rampStart8frame of the first ramp step
rampOuttruereverse ramp (coarser and coarser) over the last steps
push2slow push-in of the sampled image in %/s (keeps the dots alive)
holdFrames2refresh the mosaic every N frames (LED low-fps feel)
panel"#060404"led: panel colour
bgDot"#972C21"led: dim background-dot colour
matte0.14led: cells darker than this luma become background dots (0 = off)
paper"#FAF1DE"halftone / pointillism: paper colour (pairs: #FAF1DE/#29254A, #F7F00B/#030303, #15FFFD/#030303, #EF5E30/#030303, #2321F5/#FFFFFF, #EB1458/#FFFFFF)
ink"#29254A"halftone: ink colour
invertfalsehalftone: light ink on dark paper (dot size grows with brightness)
body"#FFC861"glow: particle body colour (gold #FFC861, violet #D88BFF, white)
maxRadius18glow: max particle radius in px at 1080p
glow1glow: blurred bloom copy strength 0..1
field"radial"style 'field' (Ben-Day density field, no image): radial halo | edge (dots crowd the frame border) | ramp (left to right)
fieldLayers[{"color":"#EB1458","angle":15,"step":22,"k":0.7},{"color":"#2321F5","angle":70,"step":…style 'field': overprinted layers [{color, angle deg, step px at 1080p, k dot size 0..1}] (multiply on paper)
fieldRadius0.8field: halo radius / edge band, relative (0.8)
fieldPow1.2field: density fall-off exponent (1.2)
fieldSwell0.06field: breathing amplitude of the halo (dots swell = emotion), 0 = static
fieldCenter[0.5,0.5]field radial: halo centre [x,y] 0..1
tileSize3style 'tiles': tile size in % of the short side
tileShape"square"tiles: square | round | circle
grout2tiles: grout width px at 1080p (bgDot colour shows on the unflipped back of each tile)
flipFrames8tiles: frames a tile flip takes
flipOrder"radial"tiles: radial (from the centre) | random | sweep (left to right)
flipStart6tiles: first flip frame
flipSpan60tiles: frames over which the flips are staggered
text"SCALE"style 'text': words spelled out by lit cells (panel colour is the floor)
textGrid160text: cells across the width
textWave1text: speed of the lattice flicker waves
zoomFrom6text: camera crane start zoom (1 = none, 6 = macro to wide)
textColor"#7FD6FF"text: lit cell colour

Notes & credits

Technique sources:

  • video18 0:00-0:20 led-dot-matrix, resolution-ramp, halftone-duotone, luma-particle-glow
  • video14 pointillism-fill / halftone-bg