Opus Motion ★ Star on GitHub

Shapes · cel-shade-crescent

Cel shade crescent

Flat shapes become 80s anime cels: a hard shadow crescent, a hard highlight crescent, a saturated neon rim and a coloured outline are built up step by step, then the light swings round and the crescents re-cut.

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

Cel shade crescent: three frames of the shape animation, start, middle and end
Cel shade crescent — start, middle and end of the 5.0-second motion.

What Cel shade crescent is for

Show or demo the cel-shading primitive; copy the CelShape recipe (clipPath + shape-minus-translated-copy) to give any flat character or prop an anime look with one prop.

  • cel
  • anime
  • 80s
  • shading
  • crescent
  • rim light
  • outline
  • toon
  • shape
  • flat
  • neon
  • character look
  • utility

Details

Category
Shape & geometric animations
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
colors rim background
Mood
neon, comic, playful, night
Roles
subject

Use Cel shade crescent in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render cel-shade-crescent --props '{"colors":["#2F6FE2","#FF6B6B","#8D5BFF"],"rim":"#FF3FA4","background":"#130D1F"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export cel-shade-crescent --as mp4 --props '{"colors":["#2F6FE2","#FF6B6B","#8D5BFF"],"rim":"#FF3FA4","background":"#130D1F"}'

React / Next.js

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

<MotionPlayer
  motion="cel-shade-crescent"
  props={{
    colors: ['#2F6FE2', '#FF6B6B', '#8D5BFF'],
    rim: '#FF3FA4',
    background: '#130D1F',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="cel-shade-crescent"
  props='{"colors":["#2F6FE2","#FF6B6B","#8D5BFF"],"rim":"#FF3FA4","background":"#130D1F"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "cel-shade-crescent",
      "props": {
        "colors": [
          "#2F6FE2",
          "#FF6B6B",
          "#8D5BFF"
        ],
        "rim": "#FF3FA4",
        "background": "#130D1F"
      }
    }
  ]
}

Cel shade crescent props

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

PropDefaultWhat it does
colors["#2F6FE2","#FF6B6B","#8D5BFF"]fill colours of the three demo shapes (shade/highlight/line are derived from each fill)
rim"#FF3FA4"saturated rim-light colour on the shadow edge
light233light direction in degrees (0 = from the right, 90 = from below, 233 = upper-left)
swing70degrees the light swings back and forth after the build
shadeOff14shadow crescent offset in shape units (shape is about 200 wide)
hiOff6highlight crescent offset
rimOff4.5rim offset
lineW3.4outline width
closeUpfalsetrue = outline x0.55 as for extreme close-ups
labelstrueshow the five step chips
background"#130D1F"backdrop colour
bottom"FLAT FILL + SHADOW + HIGHLIGHT + RIM + COLOURED LINE"caption line at the bottom (empty = none)

Notes & credits

Technique sources:

  • lemo-opuscar styles/cel-anime-80s/demo/cel.js (MIT, LemoLab)