Opus Motion ★ Star on GitHub

Type · text-scramble-decode

Text scramble decode

A headline starts as flickering random glyphs (blocks, symbols, binary or your own charset) and each character locks onto its real letter in turn — left to right, centre out, edges in or random — flashing the accent colour as it lands, with an optional "decoding 64%" status line and bar; wraps and shrinks for long text, optional scramble-out.

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

Text scramble decode: three frames of the text animation, start, middle and end
Text scramble decode — start, middle and end of the 5.0-second motion.

What Text scramble decode is for

Hacker / cyber / AI reveals, tech product titles, "secret message" stings, section headers on dark sites, caption reveals; replace the text and charset.

  • text
  • scramble
  • decode
  • decrypt
  • hacker
  • matrix
  • cyber
  • title
  • reveal
  • glitch
  • typography
  • kinetic
  • website
  • caption
  • overlay

Details

Category
Text animations & kinetic typography
Length
5.0 s (150 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
yes
Seamless loop
no
Text props
text
Colour props
background ink accent dim
Mood
playful, editorial, ui
Roles
type, accent

Use Text scramble decode in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render text-scramble-decode --props '{"text":"Hidden in plain sight","background":"#0A0F14","ink":"#EAF4F2","accent":"#34F5B0","dim":"#2F8F78"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export text-scramble-decode --as webm-alpha --props '{"text":"Hidden in plain sight","background":"#0A0F14","ink":"#EAF4F2","accent":"#34F5B0","dim":"#2F8F78"}'

React / Next.js

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

<MotionPlayer
  motion="text-scramble-decode"
  props={{
    text: 'Hidden in plain sight',
    background: '#0A0F14',
    ink: '#EAF4F2',
    accent: '#34F5B0',
    dim: '#2F8F78',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="text-scramble-decode"
  props='{"text":"Hidden in plain sight","background":"#0A0F14","ink":"#EAF4F2","accent":"#34F5B0","dim":"#2F8F78"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "text-scramble-decode",
      "props": {
        "text": "Hidden in plain sight",
        "background": "#0A0F14",
        "ink": "#EAF4F2",
        "accent": "#34F5B0",
        "dim": "#2F8F78"
      }
    }
  ]
}

Text scramble decode props

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

PropDefaultWhat it does
text"Hidden in plain sight"the line or paragraph to decode (\n = forced break; long text wraps and shrinks to fit)
eyebrow"Decoding message"small status label above the text ("" to hide)
showProgresstrueshow the % counter and progress bar
charset"glyphs"glyphs | binary | hex | letters | symbols | digits — or any string whose characters are used as the noise
order"ltr"ltr | rtl | center | edges | random — order in which glyphs lock in
font"mono"font role (mono keeps cells even; others work too)
size120max font size in u (1080-short-side units); shrinks to fit
weight700font weight
align"center"center | left
tracking0extra letter spacing in em
startAt8frame the noise appears
revealFrames62frames over which the glyphs lock in (longer = slower decode)
scrambleEvery2frames between noise changes (1 = frantic, 4 = calm)
exit"scramble"scramble (back to noise and gone) | fade | none
exitFrames26length of the exit at the end of the clip
seed7noise seed
background"#0A0F14"background colour; "transparent" for an overlay
ink"#EAF4F2"colour of resolved text
accent"#34F5B0"noise / flash / status colour
dim"#2F8F78"secondary colour for noise and counter

Notes & credits

Technique sources:

  • original — generic kinetic-type effect (R3)