Textures · bokeh-drift
Bokeh drift
Soft depth-of-field light discs in three depth bands drifting through the frame with a gentle twinkle; circle or hexagon bokeh.
A free, MIT-licensed animated texture from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What Bokeh drift is for
Dreamy or festive backgrounds behind titles, night-city and party moods, wedding / event / luxury intros; overlay on footage with a transparent background.
Details
- Category
- Animated textures & surface looks
- Length
- 6.0 s (180 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- light
- Transparent overlay
- yes
- Seamless loop
- no
- Text props
- —
- Colour props
colorsbackground- Mood
- 3d, playful, night
- Roles
- backdrop, accent
Use Bokeh drift in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add bokeh-drift --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render bokeh-drift --props '{"colors":["#ffd9a0","#ff9ec7","#9ad7ff","#ffffff"],"background":"#0b0a1c"}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export bokeh-drift --as webm-alpha --props '{"colors":["#ffd9a0","#ff9ec7","#9ad7ff","#ffffff"],"background":"#0b0a1c"}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="bokeh-drift"
props={{
colors: ['#ffd9a0', '#ff9ec7', '#9ad7ff', '#ffffff'],
background: '#0b0a1c',
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="bokeh-drift"
props='{"colors":["#ffd9a0","#ff9ec7","#9ad7ff","#ffffff"],"background":"#0b0a1c"}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "bokeh-drift",
"props": {
"colors": [
"#ffd9a0",
"#ff9ec7",
"#9ad7ff",
"#ffffff"
],
"background": "#0b0a1c"
}
}
]
}Bokeh drift props
12 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
colors | ["#ffd9a0","#ff9ec7","#9ad7ff","#ffffff"] | light colours picked per disc |
count | 46 | number of discs (max 160) |
direction | 70 | drift direction in degrees (0 = right, 90 = up, 180 = left) |
speed | 0.6 | drift distance over the clip (loops by wrap-around) |
size | 1 | disc size multiplier |
softness | 3.5 | blur of the discs in u (higher = more defocused) |
ring | 0.6 | bright rim on each disc (0 = flat disc, 1 = strong lens ring) |
twinkle | 0.5 | brightness flicker amount (0..1) |
shape | "circle" | circle | hex (aperture blades) |
blend | "screen" | screen | normal | plus-lighter |
seed | 3 | layout seed |
background | "#0b0a1c" | CSS background; "transparent" = overlay on footage |
Related motions

Pattern scroll
Brandable looping backgrounds behind titles, lower thirds, slides and web sections; retro / Memphis / editorial wallpaper; set background…
pattern-scroll
Light-leak wash
Warm nostalgic transitions and accents over footage or photos, wedding / travel / memory edits, title cards that need an analogue glow;…
light-leak-wash
Pixel sprite scene (state machine)
Retro game promos, indie-dev trailers, nostalgic social posts and loading loops. Pass `sprite`, `palette` and `states` to retheme; for a…
pixel-sprite-scene
City rooftops rain window
Moody lo-fi / study-beats / podcast backdrops, melancholy or cosy titles, noir and thriller scenes, weather and "rainy day" content,…
city-rooftops-rain-window
Embers & gold flecks
Warmth, fire, magic, craft/forge or luxury beats; drop over any dark scene as an additive ambience layer.
embers
Rain
Moody/rainy ambience under any scene; set background "transparent" to lay rain over footage, glass: true for a window POV.
rain
Notes & credits
Technique sources:
- texture-vocabulary: bokeh light backgrounds