Opus Motion ★ Star on GitHub

Mascots · beat-dance

Beat dance (Nib + crew)

Nib dances on the music under a pulsing spotlight — bounce, hop, raise-the-roof, sway, a drawn spin through its key views on beat 4, wave, walk, run, stomp, shimmy or a mix that changes every two bars — with an optional back-up crew offset so nobody twins.

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

Beat dance (Nib + crew): three frames of the mascot animation, start, middle and end
Beat dance (Nib + crew) — start, middle and end of the 8.0-second motion.

What Beat dance (Nib + crew) is for

Music videos, celebration / success states, party end cards, “we shipped it” moments synced to the host’s tempo.

  • dance
  • beat
  • music
  • bpm
  • party
  • celebration
  • mascot
  • nib
  • character
  • crew
  • crowd
  • spin
  • cartoon
  • music video

Details

Category
Mascots & brand characters
Length
8.0 s (240 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
yes
Seamless loop
no
Text props
—
Colour props
crewColors bodyColor inkColor accent
Mood
comic, playful
Roles
subject

Use Beat dance (Nib + crew) in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render beat-dance --props '{"crewColors":["#3A9C98","#D9614C","#7B5CA8","#E0A23A"],"bodyColor":"#3F63C9","inkColor":"#1E1B2E","accent":"#F2B84B"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export beat-dance --as webm-alpha --props '{"crewColors":["#3A9C98","#D9614C","#7B5CA8","#E0A23A"],"bodyColor":"#3F63C9","inkColor":"#1E1B2E","accent":"#F2B84B"}'

React / Next.js

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

<MotionPlayer
  motion="beat-dance"
  props={{
    crewColors: ['#3A9C98', '#D9614C', '#7B5CA8', '#E0A23A'],
    bodyColor: '#3F63C9',
    inkColor: '#1E1B2E',
    accent: '#F2B84B',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="beat-dance"
  props='{"crewColors":["#3A9C98","#D9614C","#7B5CA8","#E0A23A"],"bodyColor":"#3F63C9","inkColor":"#1E1B2E","accent":"#F2B84B"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "beat-dance",
      "props": {
        "crewColors": [
          "#3A9C98",
          "#D9614C",
          "#7B5CA8",
          "#E0A23A"
        ],
        "bodyColor": "#3F63C9",
        "inkColor": "#1E1B2E",
        "accent": "#F2B84B"
      }
    }
  ]
}

Beat dance (Nib + crew) props

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

PropDefaultWhat it does
dance"mix"dance style: bounce | hop | roof | sway | spin | wave | walk | run | idle | stomp | shimmy | mix
emotion"happy"face/mood while dancing (happy, cool, excited, starstruck…)
crew2back-up dancers (0–6), each with its own seed and phase
crewColors["#3A9C98","#D9614C","#7B5CA8","#E0A23A"]body colours of the crew
hats["","party","party"]hat per dancer (lead first): '' | party | crown | top | beanie | headphones | halo | wizard | bow | flower | cap
bpm120tempo the idle motions and dances lock to
offsetSec0time of the first beat (s)
spotlighttruebeat-pulsing spotlight on the lead
showStylefalseprint the current dance style + BPM
size0.4lead height as a fraction of the frame height
bodyColor"#3F63C9"Nib body colour (pass the host brand colour)
inkColor"#1E1B2E"outline / features colour
accent"#F2B84B"curl-tip + prop accent colour
look"ink-wash"'ink-wash' (boiling hand-inked edge) or 'clean' (flat vector)
background"paper"'paper', 'transparent' or any colour

Notes & credits

Technique sources:

  • ClaudeAnimationBase src/clawd.js move()/dancer() (MIT): dy = −|sin(π·beat)|·A, squash = max(0, 1 − 3.5·frac)·k