Opus Motion ★ Star on GitHub

Characters · box-bot

Box-bot mascot

Orange cube mascot with dark rectangular eyes, little arms and four stubby legs acting out a script: walk on twos, look around, emote, hop with squash and landing, wave, run off.

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

Box-bot mascot: three frames of the character animation, start, middle and end
Box-bot mascot — start, middle and end of the 8.0-second motion.

What Box-bot mascot is for

A friendly guide/mascot that walks in, reacts (? ! idea, hearts) and leaves; explainer beats that need a character.

  • mascot
  • robot
  • walk
  • hop
  • emote
  • cute
  • hat
  • wardrobe
  • mood
  • tint
  • hop-spin
  • spin
  • blush

Details

Category
Animated characters
Length
8.0 s (240 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
no
Seamless loop
no
Text props
—
Colour props
—
Mood
light, paper, playful
Roles
subject
Pairs with
Emote pop, Scribble ball, Sparkle burst, Chat bubbles, chips & thought bubble

Use Box-bot mascot in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render box-bot --props '{"style":"sketch","script":[{"action":"walk","to":0.5,"frames":54},{"action":"look","dir":-1,"frames":18},{"action":"look","dir":1,"frames":18},{"action":"emote","icon":"?","frames":30},{"action":"hop","frames":26},{"action":"emote","icon":"bulb","frames":30},{"action":"wave","frames":36},{"action":"run","to":1.3,"frames":28}],"startX":0.16,"size":0.26}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export box-bot --as mp4 --props '{"style":"sketch","script":[{"action":"walk","to":0.5,"frames":54},{"action":"look","dir":-1,"frames":18},{"action":"look","dir":1,"frames":18},{"action":"emote","icon":"?","frames":30},{"action":"hop","frames":26},{"action":"emote","icon":"bulb","frames":30},{"action":"wave","frames":36},{"action":"run","to":1.3,"frames":28}],"startX":0.16,"size":0.26}'

React / Next.js

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

<MotionPlayer
  motion="box-bot"
  props={{
    style: 'sketch',
    script: [
      {action: 'walk', to: 0.5, frames: 54},
      {action: 'look', dir: -1, frames: 18},
      {action: 'look', dir: 1, frames: 18},
      {action: 'emote', icon: '?', frames: 30},
      {action: 'hop', frames: 26},
      {action: 'emote', icon: 'bulb', frames: 30},
      {action: 'wave', frames: 36},
      {action: 'run', to: 1.3, frames: 28},
    ],
    startX: 0.16,
    size: 0.26,
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="box-bot"
  props='{"style":"sketch","script":[{"action":"walk","to":0.5,"frames":54},{"action":"look","dir":-1,"frames":18},{"action":"look","dir":1,"frames":18},{"action":"emote","icon":"?","frames":30},{"action":"hop","frames":26},{"action":"emote","icon":"bulb","frames":30},{"action":"wave","frames":36},{"action":"run","to":1.3,"frames":28}],"startX":0.16,"size":0.26}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "box-bot",
      "props": {
        "style": "sketch",
        "script": [
          {
            "action": "walk",
            "to": 0.5,
            "frames": 54
          },
          {
            "action": "look",
            "dir": -1,
            "frames": 18
          },
          {
            "action": "look",
            "dir": 1,
            "frames": 18
          },
          {
            "action": "emote",
            "icon": "?",
            "frames": 30
          },
          {
            "action": "hop",
            "frames": 26
          },
          {
            "action": "emote",
            "icon": "bulb",
            "frames": 30
          },
          {
            "action": "wave",
            "frames": 36
          },
          {
            "action": "run",
            "to": 1.3,
            "frames": 28
          }
        ],
        "startX": 0.16,
        "size": 0.26
      }
    }
  ]
}

Box-bot mascot props

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

PropDefaultWhat it does
style"sketch"'sketch' (v20 pencil on paper) | 'clean' (v13 sunny toon) | 'toon' (v12 comic synthwave)
script[{"action":"walk","to":0.5,"frames":54},{"action":"look","dir":-1,"frames":18},{"action…sequence of actions: {action:'walk'|'run', to?|dx?, frames} {action:'hop', dx?, height?, frames} {action:'look', dir:-1|1} {action:'emote', icon:'?'|'!'|'heart'|'bulb'|'sweat'|'scribble'|'sparkle'|'zzz'} {action:'wave'} {action:'turn', yaw} {action:'blink'} {action:'idle'|'expression', expression?} {action:'hop-spin', dx?, height?, frames} (hop with a full 360 degree turn)
startX0.16start position as a fraction of frame width
size0.26body width as a fraction of the short side
bodyColor""override body colour ('' = style default)
shadeColor""override shade-face colour ('' = style default)
eyeColor""override eye colour ('' = style default)
legs"quad"'quad' (v20 four corner legs) | 'row' (v13 four legs in a row)
snoutfalsepig-snout variant
flowerfalsepink flower on the head (v20 later acts)
onTwostruestep the character every 2nd frame (12/15 fps hand-animated feel)
background""override background colour ('' = style default)
floorY0ground line as a fraction of height (0 = auto)
hat"none"wardrobe: none | party | wizard | crown | helmet | cap | tophat | beanie (follows the body)
hatColor""hat colour ('' = hat default)
mood"none"body-colour mood tint: none | fear (pale) | anger (red) | sad (blue) | love (pink) | disgust (green) | pride (gold)
tint""custom tint colour mixed into the body (overrides mood)
tintK0.5tint mix amount 0..1 (0.5)
gloom0indigo gloom lines hanging from the forehead 0..1
blush0blush cheeks 0..1

Notes & credits

Technique sources:

  • video20 box-bot-character + emote-icon-pop
  • video13 cube-mascot-rig, eye-expression-swap, hop-cycle
  • video12 character-hop-squash