FX · sdf-liquid-shade
SDF liquid shade
Coloured metaballs orbit and fuse into thick glossy jelly: smooth necks that blend their colours, dome-shaped diffuse shading from a key light, a hard specular highlight, a broad softbox sheen, a saturated translucent rim and a fading floor reflection.
A free, MIT-licensed visual effect from the Opus Motion Library — 616 motions for Remotion, React and plain HTML.

What SDF liquid shade is for
The shading look under liquid motions: drops, logo melts, blob loaders, liquid buttons and transitions; also a standalone glossy-goo background.
Details
- Category
- Visual effects & particles
- Length
- 5.0 s (150 frames at 30 fps)
- Formats
- 16:9, 1:1, 9:16
- Weight
- light
- Transparent overlay
- no
- Seamless loop
- no
- Text props
- —
- Colour props
colorsbackground- Mood
- —
- Roles
- subject
Use SDF liquid shade in Remotion, React or HTML
Remotion project
# copy this motion into your Remotion project
node cli/mgl.mjs add sdf-liquid-shade --to ../my-app/src
# render an mp4 (run in the library folder)
node cli/mgl.mjs render sdf-liquid-shade --props '{"colors":["#ff4d8d","#ffb02e","#2ee6c8","#7a5cff","#ff6a3d","#3aa0ff"],"background":"#0d0820"}'
# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export sdf-liquid-shade --as mp4 --props '{"colors":["#ff4d8d","#ffb02e","#2ee6c8","#7a5cff","#ff6a3d","#3aa0ff"],"background":"#0d0820"}'React / Next.js
import {MotionPlayer} from 'opus-motion-library/web';
<MotionPlayer
motion="sdf-liquid-shade"
props={{
colors: ['#ff4d8d', '#ffb02e', '#2ee6c8', '#7a5cff', '#ff6a3d', '#3aa0ff'],
background: '#0d0820',
}}
playOnView
loop="auto"
/>Plain HTML / WordPress
<script src="opus-motion.element.js" defer></script>
<opus-motion motion="sdf-liquid-shade"
props='{"colors":["#ff4d8d","#ffb02e","#2ee6c8","#7a5cff","#ff6a3d","#3aa0ff"],"background":"#0d0820"}'>
</opus-motion>Compose spec (multi-scene video)
{
"width": 1920,
"height": 1080,
"fps": 30,
"scenes": [
{
"motion": "sdf-liquid-shade",
"props": {
"colors": [
"#ff4d8d",
"#ffb02e",
"#2ee6c8",
"#7a5cff",
"#ff6a3d",
"#3aa0ff"
],
"background": "#0d0820"
}
}
]
}SDF liquid shade props
10 parameters — change any of them to make the motion yours.
| Prop | Default | What it does |
|---|---|---|
colors | ["#ff4d8d","#ffb02e","#2ee6c8","#7a5cff","#ff6a3d","#3aa0ff"] | ball colours (hex), cycled over the balls |
count | 5 | number of balls |
light | 225 | key light azimuth in degrees (225 = upper left) |
gloss | 1 | specular strength |
rim | 0.55 | saturated rim glow strength 0..1 |
reflection | 0.3 | floor reflection strength 0..1 (0 = none) |
speed | 1 | orbit speed multiplier |
blur | 14 | merge softness in px at 1080 (bigger = longer necks) |
seed | 4 | seed for orbits and sizes |
background | "#0d0820" | backdrop base colour |
Related motions

Drop splash crown
Drink, food and cosmetics ads, logo openers, "drop" product launches and loader hits.
drop-splash-crown
Blob to wordmark
Liquid logo reveals for beverages, cosmetics and apps named after liquids; end cards.
blob-to-wordmark
Metaball heat-map / goo
Heat maps, spills, thermal / density imagery, organic growth, liquid transitions, "it spreads".
metaball-heatmap
Logo reveal: liquid flood
Playful or organic logo intros and outros (drinks, wellness, kids, creative studios); your logo image or a wordmark.
logo-reveal-liquid
Swirl portal (goo-rim toon hole)
A "jump" device: a product teleporting between use cases, a meanwhile-in-another-universe beat, a doorway reveal for a picture (src inside…
swirl-portal
Notes & credits
Technique sources:
- mg-styles-15 demos/07-liquid/js/shaders.js shadeLiquid / fadd (MIT)
- video 07-liquid 0-10 s