Opus Motion ★ Star on GitHub

FX · focus-desaturate

Focus desaturate

At the key moment the whole scene greys toward warm cream (mix with luma and #E9DFCB) while one subject keeps full colour and gets a dashed ring and label. Default scene is a flat isometric town with one red-roofed house as the subject; with src it greys an image except a kept circle.

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

Focus desaturate: three frames of the visual effect, start, middle and end
Focus desaturate — start, middle and end of the 6.0-second motion.

What Focus desaturate is for

"This one" moments — one user, one store, one product, one data point in a busy scene.

  • desaturate
  • focus
  • spotlight
  • highlight
  • one colour
  • color pop
  • isometric
  • town
  • subject
  • grey
  • emphasis
  • image
  • explainer

Details

Category
Visual effects & particles
Length
6.0 s (180 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
no
Seamless loop
no
Text props
label sublabel
Colour props
tint subjectColor background
Image props
src
Mood
photo, 3d
Roles
subject

Use Focus desaturate in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render focus-desaturate --props '{"label":"Corner bakery","sublabel":"our first customer","tint":"#E9DFCB","subjectColor":"#CF5140","background":"#F2E6D0","src":""}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export focus-desaturate --as mp4 --props '{"label":"Corner bakery","sublabel":"our first customer","tint":"#E9DFCB","subjectColor":"#CF5140","background":"#F2E6D0","src":""}'

React / Next.js

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

<MotionPlayer
  motion="focus-desaturate"
  props={{
    label: 'Corner bakery',
    sublabel: 'our first customer',
    tint: '#E9DFCB',
    subjectColor: '#CF5140',
    background: '#F2E6D0',
    src: '',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="focus-desaturate"
  props='{"label":"Corner bakery","sublabel":"our first customer","tint":"#E9DFCB","subjectColor":"#CF5140","background":"#F2E6D0","src":""}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "focus-desaturate",
      "props": {
        "label": "Corner bakery",
        "sublabel": "our first customer",
        "tint": "#E9DFCB",
        "subjectColor": "#CF5140",
        "background": "#F2E6D0",
        "src": ""
      }
    }
  ]
}

Focus desaturate props

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

PropDefaultWhat it does
at54frame the desaturation starts
dur36frames to fully desaturate (30–60)
amount10..1 how grey the rest gets
tint"#E9DFCB"cream the rest greys toward
label"Corner bakery"label on the kept subject
sublabel"our first customer"second label line
src""optional image in public/ — greyed except the keep circle
keep[0.5,0.5,0.18]image mode: kept circle [x, y, r] as fractions (r of the short side)
subjectColor"#CF5140"procedural mode: the subject roof colour
background"#F2E6D0"ground colour
seed4town layout seed

Notes & credits

Technique sources:

  • lemo-opuscar styles/iso-infographic (MIT, LemoLab) — engine.js colour pipeline (desat + keep flag)