Opus Motion ★ Star on GitHub

Data · star-chart-reward

Star chart reward

A kids' reward chart: gold stars slam into a tasks-by-days grid one after another (squash, ring and sparks) while a progress bar and counter climb and a locked medal fills with gold; on the last star the medal unlocks with a shine, confetti and a reward message.

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

Star chart reward: three frames of the animated chart, start, middle and end
Star chart reward — start, middle and end of the 12.0-second motion.

What Star chart reward is for

Kids' habit and chore trackers, classroom behaviour and reading charts, parenting and school app promos, gamified learning progress and "you earned it" reward beats — pass your tasks, days, which cells earn stars and the reward text.

  • star chart
  • reward
  • sticker
  • chart
  • kids
  • children
  • chores
  • habit
  • tracker
  • school
  • classroom
  • medal
  • progress
  • gamification
  • achievement
  • education

Details

Category
Animated charts & data visualisation
Length
12.0 s (360 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
yes
Seamless loop
no
Text props
title
Colour props
background ink accent accent2 card
Mood
hud, playful, night
Roles
accent, subject

Use Star chart reward in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render star-chart-reward --props '{"title":"My Star Chart","background":"#FFF1D6","ink":"#2B2A4C","accent":"#FFC21A","accent2":"#7C5CFF","card":"#FFFFFF"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export star-chart-reward --as webm-alpha --props '{"title":"My Star Chart","background":"#FFF1D6","ink":"#2B2A4C","accent":"#FFC21A","accent2":"#7C5CFF","card":"#FFFFFF"}'

React / Next.js

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

<MotionPlayer
  motion="star-chart-reward"
  props={{
    title: 'My Star Chart',
    background: '#FFF1D6',
    ink: '#2B2A4C',
    accent: '#FFC21A',
    accent2: '#7C5CFF',
    card: '#FFFFFF',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="star-chart-reward"
  props='{"title":"My Star Chart","background":"#FFF1D6","ink":"#2B2A4C","accent":"#FFC21A","accent2":"#7C5CFF","card":"#FFFFFF"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "star-chart-reward",
      "props": {
        "title": "My Star Chart",
        "background": "#FFF1D6",
        "ink": "#2B2A4C",
        "accent": "#FFC21A",
        "accent2": "#7C5CFF",
        "card": "#FFFFFF"
      }
    }
  ]
}

Star chart reward props

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

PropDefaultWhat it does
title"My Star Chart"chart heading
tasks["Brush teeth","Read a book","Tidy my room","Help someone"]task names, one per row (max 8)
days["Mon","Tue","Wed","Thu","Fri"]column headings, e.g. weekdays (max 10)
pattern["11111","11101","10111","11011"]one string per task row, a character per day: 1 = star earned, 0 = no star (e.g. "11011")
goal0stars needed to unlock the reward (0 = every star in the pattern)
rewardLabel"Reward"small label above the medal
rewardLockedText"Collect {goal} stars"caption while locked; {goal} = stars needed
rewardTitle"Super Star!"headline when the reward unlocks
rewardText"{n} stars earned. Pizza night!"message under the headline; {n} = stars earned
background"#FFF1D6"backdrop colour or 'transparent'
ink"#2B2A4C"text colour
accent"#FFC21A"star and medal gold
accent2"#7C5CFF"header stripe, progress bar and ribbon colour
card"#FFFFFF"chart and reward card colour
fontFamily""optional CSS font-family for the title and reward headline (empty = display)
stamp0frames between star stamps (0 = auto-fit)
startAt0frame the chart starts
speed1playback speed multiplier

Notes & credits

Technique sources:

  • original (round 3)