Opus Motion ★ Star on GitHub

Mascots · pixel-mascot-on-ui

Pixel mascot on UI

A chunky pixel-art mascot lives inside a crisp redrawn task-app window: it hops onto the top edges of the heading, input box, list rows and button with wind-up squash, parabolic arc, air stretch and damped landing squash plus dust, walks with a 9 Hz leg swap, blinks, breathes on the beat, and every action changes the real UI (typing with a pencil, checkboxes tick with sparkles, the button presses and hearts float). Original sprite, editable as character rows.

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

Pixel mascot on UI: three frames of the mascot animation, start, middle and end
Pixel mascot on UI — start, middle and end of the 10.0-second motion.

What Pixel mascot on UI is for

Product walkthroughs, app-store previews and onboarding videos with a brand mascot; pairs with box-bot.

  • mascot
  • pixel art
  • ui
  • walkthrough
  • onboarding
  • app demo
  • jump
  • squash and stretch
  • product tour
  • task list
  • character
  • screencast
  • cursor-free

Details

Category
Mascots & brand characters
Length
10.0 s (300 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
no
Seamless loop
no
Text props
title
Colour props
accent wallpaper
Mood
paper, pixel, playful, ui
Roles
subject

Use Pixel mascot on UI in Remotion, React or HTML

Remotion project

terminal
# copy this motion into your Remotion project
node cli/mgl.mjs add pixel-mascot-on-ui --to ../my-app/src

# render an mp4 (run in the library folder)
node cli/mgl.mjs render pixel-mascot-on-ui --props '{"title":"Today","accent":"#5B6CE0","wallpaper":["#F1D9C8","#D5BFAB"]}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export pixel-mascot-on-ui --as mp4 --props '{"title":"Today","accent":"#5B6CE0","wallpaper":["#F1D9C8","#D5BFAB"]}'

React / Next.js

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

<MotionPlayer
  motion="pixel-mascot-on-ui"
  props={{
    title: 'Today',
    accent: '#5B6CE0',
    wallpaper: ['#F1D9C8', '#D5BFAB'],
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="pixel-mascot-on-ui"
  props='{"title":"Today","accent":"#5B6CE0","wallpaper":["#F1D9C8","#D5BFAB"]}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "pixel-mascot-on-ui",
      "props": {
        "title": "Today",
        "accent": "#5B6CE0",
        "wallpaper": [
          "#F1D9C8",
          "#D5BFAB"
        ]
      }
    }
  ]
}

Pixel mascot on UI props

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

PropDefaultWhat it does
steps[{"to":"heading","x":0.12,"at":0},{"to":"input","x":0.6,"at":30},{"to":"input","x":0.88…mascot route: [{to: heading|input|row0|row1|row2|button, x: 0..1 along the top edge, at: frame}] — a jump if the surface changes, a walk along the same edge
sprite["..a......a..",".aa......aa.",".bbbbbbbbbb.","bbbbbbbbbbbb","bbeebbbbeebb","bbeebbbbee…sprite rows of characters (12 wide; last row = legs)
spritePalette{"a":"#3FA88C","b":"#5FD0B0","e":"#23323A","c":"#F59DB0","s":"#47B898","l":"#3FA88C"}character → colour map for the sprite rows
title"Today"heading text
doneTitle"All done"heading after the button press
inputText"Plan the launch"text typed into the input
placeholder"Add a task..."input placeholder
rows["Draft the announcement","Review the numbers","Send the invites"]list row labels (up to 3)
button"Finish"button label
doneButton"Saved"button label after the press
accent"#5B6CE0"UI accent colour (keep it different from the mascot hue)
wallpaper["#F1D9C8","#D5BFAB"]desktop gradient [top-left, bottom-right]
bpm96beat the mascot breathes on
spritePx8design-space size of one sprite pixel (6–12)
windowTitle"Tasks"title in the app window title bar

Notes & credits

Technique sources:

  • lemo-opuscar styles/living-screencast/demo/film.js Actor, clawd.js (MIT, LemoLab) — mechanics only; the sprite is original