Opus Motion ★ Star on GitHub

Game & sports · palette-lut-grade

Palette LUT grade

A pixel lakeside scene changes time of day by swapping palette slots, not by fading: day, afternoon, golden, sunset, dusk, night, each in two 1/3 steps; a dithered night front rolls in toward a lantern and a dithered light pool re-lights the nearby cabin and ground; water slots colour-cycle and stars twinkle.

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

Palette LUT grade: three frames of the game graphic, start, middle and end
Palette LUT grade — start, middle and end of the 7.0-second motion.

What Palette LUT grade is for

Honest pixel-art day/night, mood shifts and spotlight effects that never leave the palette; the grading model for any pixel scene (slot-indexed art + per-stage colour table).

  • pixel
  • pixel art
  • palette
  • lut
  • day night
  • time of day
  • sunset
  • night
  • dither
  • light pool
  • lantern
  • colour cycling
  • grade
  • retro
  • game
  • landscape

Details

Category
Game & sports graphics
Length
7.0 s (210 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
no
Seamless loop
no
Text props
—
Colour props
—
Mood
pixel, nature, night
Roles
subject

Use Palette LUT grade in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render palette-lut-grade --props '{"stagesAt":[22,46,70,94,124],"nightWave":true,"lightPool":true,"label":true}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export palette-lut-grade --as mp4 --props '{"stagesAt":[22,46,70,94,124],"nightWave":true,"lightPool":true,"label":true}'

React / Next.js

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

<MotionPlayer
  motion="palette-lut-grade"
  props={{
    stagesAt: [22, 46, 70, 94, 124],
    nightWave: true,
    lightPool: true,
    label: true,
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="palette-lut-grade"
  props='{"stagesAt":[22,46,70,94,124],"nightWave":true,"lightPool":true,"label":true}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "palette-lut-grade",
      "props": {
        "stagesAt": [
          22,
          46,
          70,
          94,
          124
        ],
        "nightWave": true,
        "lightPool": true,
        "label": true
      }
    }
  ]
}

Palette LUT grade props

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

PropDefaultWhat it does
stagesAt[22,46,70,94,124]five frames: when afternoon, golden, sunset, dusk and night start
nightWavetruenight arrives as a dithered ring rolling in toward the lantern (false = plain 1/3-step change)
lightPooltrueafter night, the lantern re-lights nearby materials with a dithered falloff
labeltrueshow the current stage name in pixel text
palette[]optional hex overrides for the daylight slot colours (38 slots, see SLOT order in r2-mg2b-kit)
seed4seed for clouds, trees and ground texture

Notes & credits

Technique sources:

  • mg-styles-15 demos/20-pixel/film.js env table, makeLUT, waveR/lightAt (MIT)
  • video 20-pixel 1.6-8.3 s