Opus Motion ★ Star on GitHub

FX · data-view-flash

Data view flash

Beat-synced 1–5-frame "data" flashes: the painterly army close-up cuts to the same units as flat glyphs on near-black noise (with an occasional RGB-split frame) and straight back, hiding each faction change inside a flash.

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

Data view flash: three frames of the visual effect, start, middle and end
Data view flash — start, middle and end of the 5.3-second motion.

What Data view flash is for

Rhythmic "under the hood / what the AI sees" accents; hiding hard cuts on music beats.

  • flash
  • beat
  • glitch
  • data view
  • glyphs
  • cut
  • rhythm
  • music
  • rgb split
  • simulation
  • strategy
  • game
  • edit

Details

Category
Visual effects & particles
Length
5.3 s (160 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
no
Seamless loop
no
Text props
—
Colour props
background
Mood
hud
Roles
subject

Use Data view flash in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render data-view-flash --props '{"background":"#0C0C10"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export data-view-flash --as mp4 --props '{"background":"#0C0C10"}'

React / Next.js

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

<MotionPlayer
  motion="data-view-flash"
  props={{background: '#0C0C10'}}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="data-view-flash"
  props='{"background":"#0C0C10"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "data-view-flash",
      "props": {
        "background": "#0C0C10"
      }
    }
  ]
}

Data view flash props

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

PropDefaultWhat it does
bpm92flash tempo (one flash per beat)
flashFrames[2,1,3,1,5,1,2,1]flash lengths in frames, cycled per beat (1–5)
rgbSplittrueadd a ±8 px red/blue split on the second flash frame
background"#0C0C10"data-view background
factions[{"name":"NOVA","color":"#E58682","unit":"#BE6E6C","chip":"#E58682","glyph":"star"},{"n…armies to cut between (shot changes every 4 beats, hidden in a flash)
unitsPerArmy84units per close-up
push3.5camera push during each 4-beat shot in %/s
seed6layout seed (match army-formation / tactical-map)

Notes & credits

Technique sources:

  • video x6 13.8-26.4 s (12 flashes at ≈ 92 BPM, 1-5 frames each)