Opus Motion ★ Star on GitHub

Type · graduation-cap-toss

Graduation caps tossed in the air

Mortarboard caps are thrown up from below the frame, tumble with swinging tassels and fall away while confetti pops from both corners; Congratulations, the graduate name, a class pill and a tagline pop onto the frame, with a second smaller toss as finale.

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

Graduation caps tossed in the air: three frames of the text animation, start, middle and end
Graduation caps tossed in the air — start, middle and end of the 9.0-second motion.

What Graduation caps tossed in the air is for

Graduation and commencement videos, school or bootcamp class announcements, "congrats graduates" posts, certificate and course-completion celebrations, alumni and yearbook intros. Set the name (or "Graduates"), class line and colours.

  • graduation
  • cap
  • toss
  • congratulations
  • class
  • commencement
  • school
  • celebration
  • confetti
  • name
  • certificate
  • event
  • tassel

Details

Category
Text animations & kinetic typography
Length
9.0 s (270 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
yes
Seamless loop
no
Text props
headline subtitle
Colour props
colors cap tassel background ink accent accent2
Mood
playful
Roles
type, accent

Use Graduation caps tossed in the air in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render graduation-cap-toss --props '{"headline":"Congratulations","subtitle":"The future is yours","colors":["#E0A82E","#D9534F","#3B82C4","#4FB58A","#FFFFFF"],"cap":"#1E2A4A","tassel":"#E0A82E","background":"#F4EBDD","ink":"#1E2A4A","accent":"#F2C14E","accent2":"#D9534F"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export graduation-cap-toss --as webm-alpha --props '{"headline":"Congratulations","subtitle":"The future is yours","colors":["#E0A82E","#D9534F","#3B82C4","#4FB58A","#FFFFFF"],"cap":"#1E2A4A","tassel":"#E0A82E","background":"#F4EBDD","ink":"#1E2A4A","accent":"#F2C14E","accent2":"#D9534F"}'

React / Next.js

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

<MotionPlayer
  motion="graduation-cap-toss"
  props={{
    headline: 'Congratulations',
    subtitle: 'The future is yours',
    colors: ['#E0A82E', '#D9534F', '#3B82C4', '#4FB58A', '#FFFFFF'],
    cap: '#1E2A4A',
    tassel: '#E0A82E',
    background: '#F4EBDD',
    ink: '#1E2A4A',
    accent: '#F2C14E',
    accent2: '#D9534F',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="graduation-cap-toss"
  props='{"headline":"Congratulations","subtitle":"The future is yours","colors":["#E0A82E","#D9534F","#3B82C4","#4FB58A","#FFFFFF"],"cap":"#1E2A4A","tassel":"#E0A82E","background":"#F4EBDD","ink":"#1E2A4A","accent":"#F2C14E","accent2":"#D9534F"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "graduation-cap-toss",
      "props": {
        "headline": "Congratulations",
        "subtitle": "The future is yours",
        "colors": [
          "#E0A82E",
          "#D9534F",
          "#3B82C4",
          "#4FB58A",
          "#FFFFFF"
        ],
        "cap": "#1E2A4A",
        "tassel": "#E0A82E",
        "background": "#F4EBDD",
        "ink": "#1E2A4A",
        "accent": "#F2C14E",
        "accent2": "#D9534F"
      }
    }
  ]
}

Graduation caps tossed in the air props

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

PropDefaultWhat it does
headline"Congratulations"big line (Congratulations / Well done / Graduates)
name"Jordan Lee"graduate or group name, shown in script
classLabel"Class of 2027"text in the gold pill (Class of 2027, Batch 12...)
subtitle"The future is yours"tagline under the pill
caps9caps in the first toss (1-16); the second toss uses about 60%
colors["#E0A82E","#D9534F","#3B82C4","#4FB58A","#FFFFFF"]confetti colours (array of hex)
cap"#1E2A4A"cap colour (hex)
tassel"#E0A82E"tassel and button colour (hex)
background"#F4EBDD"frame colour (hex), or "transparent" to overlay content
ink"#1E2A4A"headline and tagline colour (hex)
accent"#F2C14E"class pill colour (hex)
accent2"#D9534F"name colour (hex)
seed5seed for toss spread and confetti
startAt0frame the sequence begins

Notes & credits

Technique sources:

  • original (round 3, events & celebrations)