Image looks · xray-scan
X-ray scan reveal
A glowing vertical scan beam (or an inky organic blob / hatched hole) sweeps across an image, revealing a glowing x-ray / blueprint line-art version in its wake.
A free, MIT-licensed image effect from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What X-ray scan reveal is for
Showing what is inside / how it works, scanning or analysing beats, tech and science explainers.
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
- —
- Colour props
beamColorglowColorbristleColorcoreColorinkColorclayColor- Image props
src- Mood
- dark, blueprint, photo, hud
- Roles
- backdrop
- Pairs with
- Callout labels, Science HUD reticle, Typewriter code window
Use X-ray scan reveal in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add xray-scan --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render xray-scan --props '{"beamColor":"#e6f6ff","glowColor":"#82b9d7","bristleColor":"#10131C","coreColor":"#2DFF71","inkColor":"#1d1b17","clayColor":"#e8e1d2","src":""}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export xray-scan --as mp4 --props '{"beamColor":"#e6f6ff","glowColor":"#82b9d7","bristleColor":"#10131C","coreColor":"#2DFF71","inkColor":"#1d1b17","clayColor":"#e8e1d2","src":""}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="xray-scan"
props={{
beamColor: '#e6f6ff',
glowColor: '#82b9d7',
bristleColor: '#10131C',
coreColor: '#2DFF71',
inkColor: '#1d1b17',
clayColor: '#e8e1d2',
src: '',
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="xray-scan"
props='{"beamColor":"#e6f6ff","glowColor":"#82b9d7","bristleColor":"#10131C","coreColor":"#2DFF71","inkColor":"#1d1b17","clayColor":"#e8e1d2","src":""}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "xray-scan",
"props": {
"beamColor": "#e6f6ff",
"glowColor": "#82b9d7",
"bristleColor": "#10131C",
"coreColor": "#2DFF71",
"inkColor": "#1d1b17",
"clayColor": "#e8e1d2",
"src": ""
}
}
]
}X-ray scan reveal props
22 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
src | "" | public/ image path (edge-detected into an x-ray); empty = procedural plate drawn as line art |
seed | 1 | procedural plate seed |
palette | "dusk" | procedural plate palette: dusk | night | dawn |
mode | "beam" | beam | blob | hole | cutaway (half-section drawing of an object: hatched cut walls around a glowing core) |
look | "blueprint" | blueprint (lavender on navy) | xray (cyan on deep blue) |
speed | 0.75 | beam speed in frame-widths per second (0.75 measured) |
start | 14 | frame the first reveal starts |
passes | 2 | beam passes: 1 = reveal only, 2 = reveal then sweep back to colour |
beamColor | "#e6f6ff" | beam core colour |
glowColor | "#82b9d7" | beam glow colour (drawn at 40 %) |
glowWidth | 50 | beam glow half-width in px at 1080p (40–60) |
flicker | 0.03 | x-ray luminance flicker (±3 %) |
reticle | true | draw construction circles / reticle over the x-ray |
bristleColor | "#10131C" | blob / hole ink edge colour |
push | 1.2 | slow push-in in %/s |
words | [] | beam mode karaoke cursor: [{text, at}] words laid across the frame; the beam's leading edge advances on each word's `at` frame, revealing the word cut into the x-ray layer |
object | "battery" | cutaway: battery | pipe | cell |
coreColor | "#2DFF71" | cutaway: emissive core colour (#2DFF71) |
inkColor | "#1d1b17" | cutaway: line / hatch ink |
clayColor | "#e8e1d2" | cutaway: clay body colour |
orbitDeg | 8 | cutaway: slow camera drift in degrees over the shot |
cutAngle | 180 | cutaway: cut extent in degrees (180 = half section) |
Related motions

Callout labels
Label the parts of a product, diagram, room or scene; attach facts to moving objects; link vignettes to a central diagram.
callout-labels
Science HUD reticle
Scientific / microscopic / astronomical subjects, "under the microscope" beats, measured close-ups.
science-reticle
Typewriter code window
Show the code behind a visual, a command being run, or a "made with code" credit beat.
typewriter-code
Brush-stroke reveal
Ink / painterly titles, heritage and cultural stories, festival greetings, art-brand reveals: pass `src` and `title`, or your own…
brush-stroke-reveal
Night light sweep
Mood beats in night scenes: a car passing, arriving somewhere at night, a reveal of someone at the door.
light-sweep
Wash arrival
"Colour follows the product / runner / sunrise" storytelling, sketch → finished-render reveals for architecture and real estate,…
wash-arrival
Notes & credits
Technique sources:
- video2 0:00 xray-scan-sweep
- video11 0:01.3 organic-blob-reveal + blueprint-xray-style
- video6 0:01.4 xray-hatch-hole