Opus Motion ★ Star on GitHub

FX · practical-light-shadow-jump

Practical light shadow jump

A cold, dim room with two figures beside an unlit lantern. On the switch-on beat the light ignites (0 to 1 in ~.3 s with a flicker overshoot), the glow blooms, the figures turn toward it and their shadows swing out across the floor from their feet while the mood flips from cold blue to warm. Source can be lantern, lamp or screen.

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

Practical light shadow jump: three frames of the visual effect, start, middle and end
Practical light shadow jump — start, middle and end of the 5.0-second motion.

What Practical light shadow jump is for

"Switching on" moments: product power-on, store opening, an idea lighting up, a story turning from dark to hopeful.

  • light switch
  • power on
  • lantern
  • shadows
  • glow
  • mood
  • cold to warm
  • ignite
  • lamp
  • screen
  • night
  • reveal
  • idea
  • opening

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
warm cold floorColor wallColor
Mood
night
Roles
subject

Use Practical light shadow jump in Remotion, React or HTML

Remotion project

terminal
# copy this motion into your Remotion project
node cli/mgl.mjs add practical-light-shadow-jump --to ../my-app/src

# render an mp4 (run in the library folder)
node cli/mgl.mjs render practical-light-shadow-jump --props '{"warm":"#FFAE4A","cold":"#1B2552","floorColor":"#5A4A56","wallColor":"#6E6288"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export practical-light-shadow-jump --as mp4 --props '{"warm":"#FFAE4A","cold":"#1B2552","floorColor":"#5A4A56","wallColor":"#6E6288"}'

React / Next.js

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

<MotionPlayer
  motion="practical-light-shadow-jump"
  props={{
    warm: '#FFAE4A',
    cold: '#1B2552',
    floorColor: '#5A4A56',
    wallColor: '#6E6288',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="practical-light-shadow-jump"
  props='{"warm":"#FFAE4A","cold":"#1B2552","floorColor":"#5A4A56","wallColor":"#6E6288"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "practical-light-shadow-jump",
      "props": {
        "warm": "#FFAE4A",
        "cold": "#1B2552",
        "floorColor": "#5A4A56",
        "wallColor": "#6E6288"
      }
    }
  ]
}

Practical light shadow jump props

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

PropDefaultWhat it does
switchAt42frame the light ignites
source"lantern"lantern | lamp | screen
warm"#FFAE4A"light colour (ignored for screen, which is cool white-blue)
cold"#1B2552"colour of the unlit room darkness
strength1overall light intensity 0.6–1.3
figures2one or two characters
floorColor"#5A4A56"floor colour
wallColor"#6E6288"wall colour

Notes & credits

Technique sources:

  • lemo-opuscar styles/hd-2d STYLE.md §5/§8, DEMO.md (MIT, LemoLab)
  • lemo-styles-a hd-2d: practical-light-shadow-jump