Image looks · glass-pane-grid
Mondrian glass pane grid
A black-leaded Mondrian grid draws on over an image; each glass pane offsets, scales and tints its piece of the picture and keeps drifting, like looking through stained glass.
A free, MIT-licensed image effect from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Mondrian glass pane grid is for
Fractured / multiple-perspective beats, art-history or design references, stylish holds on a hero image.
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
barColorleadColorjewels- Image props
src- Mood
- mid, photo
- Roles
- backdrop
- Pairs with
- Mask-rise title, Blur-in title card, Film finishing stack
Use Mondrian glass pane grid in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add glass-pane-grid --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render glass-pane-grid --props '{"barColor":"#0b0b0d","leadColor":"#0c0a0c","jewels":["#1f4fa8","#a8202c","#d6a323","#2e7d4f","#6b3a8c","#2a8c9c"],"src":""}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export glass-pane-grid --as mp4 --props '{"barColor":"#0b0b0d","leadColor":"#0c0a0c","jewels":["#1f4fa8","#a8202c","#d6a323","#2e7d4f","#6b3a8c","#2a8c9c"],"src":""}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="glass-pane-grid"
props={{
barColor: '#0b0b0d',
leadColor: '#0c0a0c',
jewels: ['#1f4fa8', '#a8202c', '#d6a323', '#2e7d4f', '#6b3a8c', '#2a8c9c'],
src: '',
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="glass-pane-grid"
props='{"barColor":"#0b0b0d","leadColor":"#0c0a0c","jewels":["#1f4fa8","#a8202c","#d6a323","#2e7d4f","#6b3a8c","#2a8c9c"],"src":""}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "glass-pane-grid",
"props": {
"barColor": "#0b0b0d",
"leadColor": "#0c0a0c",
"jewels": [
"#1f4fa8",
"#a8202c",
"#d6a323",
"#2e7d4f",
"#6b3a8c",
"#2a8c9c"
],
"src": ""
}
}
]
}Mondrian glass pane grid props
20 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
src | "" | public/ image path; empty = procedural plate |
seed | 1 | procedural plate seed |
palette | "dusk" | procedural plate palette: dusk | night | dawn |
gridSeed | 4 | seed of the Mondrian subdivision |
depth | 5 | subdivision depth (3 = few big panes, 5 = many) |
barWidth | 14 | leading bar width in px at 1080p (10–12 measured at 720p, ≈14 at 1080p) |
barColor | "#0b0b0d" | leading colour |
maxOffset | 0.055 | max pane offset as a fraction of the frame width (0.03–0.06) |
tints | ["#c06b45","#677489","#c0ad70","clear","clear","#c06b45","#677489"] | pane tint colours (multiply); "clear" = untinted |
tintOpacity | 0.6 | tint strength 0..1 |
driftDuration | 60 | frames for the refraction offsets to ease in (easeInQuad), then a slow drift continues |
start | 10 | frame the leading starts drawing on |
sheen | 1 | glass sheen / bevel highlight strength |
mode | "panes" | 'panes' (Mondrian refraction grid) | 'leaded' (stained-glass panel: lozenge lattice of jewel pieces, dark lead with solder blobs, streaky glass, backlight band) |
cellSize | 56 | leaded: piece size in px at 1080p (30-80) |
lead | 6 | leaded: lead came width in px at 1080p |
leadColor | "#0c0a0c" | leaded: lead colour |
jewels | ["#1f4fa8","#a8202c","#d6a323","#2e7d4f","#6b3a8c","#2a8c9c"] | leaded: jewel colour palette the pieces cycle through |
backlight | 0.6 | leaded: strength of the backlight band sweeping across |
bandAt | -1 | leaded: frame the backlight band starts (-1 = start + 30) |
Related motions

Film finishing stack
Making any still or scene feel shot on film; a final pass over composites; a flare accent on a light source.
film-look
Mask-rise title
Chapter titles, principle/step headers, end-card headlines and list reveals.
mask-rise-title
Blur-in title card
Documentary title cards, chapter/zone names, place names and calm caption swaps.
blur-in-title
Duotone recolour
Brand-colour unification of mixed stills, mood switches (calm -> panic, day -> night), print-style looks.
duotone
Glitch image bursts
Beat hits, "system error" / hacked moments, energetic transitions between stills, music-video accents.
glitch-image
Ken Burns push / pull / tilt
Turning any still (AI art, photo, illustration) into a living shot; emphasis punch-ins on a caption beat; cold-open tilt reveals of tall…
ken-burns
Notes & credits
Technique sources:
- video2 0:16-0:18 refraction-pane-grid