Opus Motion ★ Star on GitHub

Characters · toon-object-character

Toon object character

An everyday object (mug, box, bottle, can) becomes a 1930s rubber-hose cartoon character: pie eyes and a big mouth on its front, black noodle arms and legs, white four-finger gloves, huge round shoes, boiling ink outlines and a steam carrier that shows the mood; it walks in, hops with squash and stretch, points, waves and cheers.

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

Toon object character: three frames of the character animation, start, middle and end
Toon object character — start, middle and end of the 7.0-second motion.

What Toon object character is for

Product mascots from the host's own product shape (mug, bottle, box), retro ads, kids content; a second character family beside box-bot.

  • rubber-hose
  • toon
  • cartoon
  • 1930s
  • character
  • mascot
  • object
  • mug
  • bottle
  • can
  • box
  • noodle-limbs
  • gloves
  • pie-eyes
  • boil
  • retro
  • squash-stretch
  • walk
  • hop
  • steam
  • product-mascot

Details

Category
Animated characters
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
color ink accent background floor
Mood
pixel, comic, playful
Roles
subject

Use Toon object character in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render toon-object-character --props '{"color":"#F2EEE2","ink":"#16130F","accent":"#E5788A","background":"#E9E3D3","floor":"#7A7466"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export toon-object-character --as mp4 --props '{"color":"#F2EEE2","ink":"#16130F","accent":"#E5788A","background":"#E9E3D3","floor":"#7A7466"}'

React / Next.js

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

<MotionPlayer
  motion="toon-object-character"
  props={{
    color: '#F2EEE2',
    ink: '#16130F',
    accent: '#E5788A',
    background: '#E9E3D3',
    floor: '#7A7466',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="toon-object-character"
  props='{"color":"#F2EEE2","ink":"#16130F","accent":"#E5788A","background":"#E9E3D3","floor":"#7A7466"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "toon-object-character",
      "props": {
        "color": "#F2EEE2",
        "ink": "#16130F",
        "accent": "#E5788A",
        "background": "#E9E3D3",
        "floor": "#7A7466"
      }
    }
  ]
}

Toon object character props

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

PropDefaultWhat it does
body"mug"'mug' | 'box3d' | 'bottle' | 'can'
color"#F2EEE2"body fill colour (greyscale or brand)
ink"#16130F"outline / limb colour
accent"#E5788A"mouth tongue, heart steam and bottle cap colour
background"#E9E3D3"backdrop colour
floor"#7A7466"floor line colour
expressions[{"at":0,"mouth":"smile","brows":"happy","steam":"lazy"},{"at":66,"mouth":"smile","brow…[{at, mouth:'smile|grin|o|wavy|pucker|tongue', brows:'none|happy|worried|angry|up', steam:'lazy|bitter|alarm|wilted|heart|none', look:[x,y]}]
script[{"at":0,"action":"walk","dur":56,"x":0},{"at":56,"action":"idle","dur":20},{"at":76,"a…[{at, dur, action:'idle|walk|run|hop|point|wave|cheer', x?}] ; x = horizontal target (fraction of the frame width) reached at the end of the segment
startX-0.62starting x as a fraction of the frame width (0 = centre)
bpm100beat-breathe tempo
boil1.2ink boil amplitude in character units (0 = off)
onTwostrueboil on 3 drawings at 12 fps
size1character scale multiplier
shadowtruefloor shadow

Notes & credits

Technique sources:

  • lemo-opuscar styles/rubber-hose demo/chars.js + toon.js ideas, STYLE.md §2 anatomy (MIT / CC BY 4.0, LemoLab); original redraw