Opus Motion ★ Star on GitHub

Data · grid-score

Grid score (poster is the score)

A Swiss poster whose modular grid draws on column by column, black note bars step down a diagonal over lighter second-voice bars; the whole sheet rotates 90 degrees, pitch labels and step numbers wipe in and a red playhead sweeps, turning each bar red on the frame it is played and pulsing a ring on the red circle.

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

Grid score (poster is the score): three frames of the animated chart, start, middle and end
Grid score (poster is the score) — start, middle and end of the 10.0-second motion.

What Grid score (poster is the score) is for

Music or audio brand films, event posters, timetables, "your data is the design" reveals, spec sheets; a data-driven Swiss poster instead of a generic bar chart.

  • swiss
  • poster
  • score
  • music
  • piano roll
  • timeline
  • schedule
  • grid
  • playhead
  • timetable
  • data art
  • rotate
  • bars

Details

Category
Animated charts & data visualisation
Length
10.0 s (300 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
no
Seamless loop
no
Text props
title caption
Colour props
page paper ink second signal
Mood
hud
Roles
subject

Use Grid score (poster is the score) in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render grid-score --props '{"title":"SCORE N.7","caption":"7 PITCHES / 16 STEPS / 2 VOICES","page":"#e6e3dc","paper":"#fbfaf6","ink":"#111111","second":"#cfcdc6","signal":"#e5322d"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export grid-score --as mp4 --props '{"title":"SCORE N.7","caption":"7 PITCHES / 16 STEPS / 2 VOICES","page":"#e6e3dc","paper":"#fbfaf6","ink":"#111111","second":"#cfcdc6","signal":"#e5322d"}'

React / Next.js

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

<MotionPlayer
  motion="grid-score"
  props={{
    title: 'SCORE N.7',
    caption: '7 PITCHES / 16 STEPS / 2 VOICES',
    page: '#e6e3dc',
    paper: '#fbfaf6',
    ink: '#111111',
    second: '#cfcdc6',
    signal: '#e5322d',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="grid-score"
  props='{"title":"SCORE N.7","caption":"7 PITCHES / 16 STEPS / 2 VOICES","page":"#e6e3dc","paper":"#fbfaf6","ink":"#111111","second":"#cfcdc6","signal":"#e5322d"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "grid-score",
      "props": {
        "title": "SCORE N.7",
        "caption": "7 PITCHES / 16 STEPS / 2 VOICES",
        "page": "#e6e3dc",
        "paper": "#fbfaf6",
        "ink": "#111111",
        "second": "#cfcdc6",
        "signal": "#e5322d"
      }
    }
  ]
}

Grid score (poster is the score) props

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

PropDefaultWhat it does
cols7grid columns (pitches or categories)
rows16grid rows (time steps)
notes[{"col":0,"row":0,"len":2,"voice":"main"},{"col":1,"row":2,"len":2,"voice":"main"},{"co…bars: col, row, len, voice main|second (main bars turn red when played)
pitchLabels["C","D","E","F","G","A","B"]label per column, shown after the rotation
circle{"col":3,"row":14}cell of the red circle that pulses when hit
title"SCORE N.7"tracked heading on the poster
caption"7 PITCHES / 16 STEPS / 2 VOICES"mono caption at the foot of the poster
gridStart6frame the grid starts drawing
barsStart34frame the first bars land
rotateAt100frame the 90 degree rotation starts
rotateFrames28rotation length in frames
labelsAt140frame the labels start to wipe in
playFrom176frame the playhead starts
playFrames112frames the playhead takes to sweep all rows
page"#e6e3dc"page colour
paper"#fbfaf6"poster colour
ink"#111111"bar and text colour
second"#cfcdc6"second-voice bar colour
signal"#e5322d"playhead, played bars and circle colour

Notes & credits

Technique sources:

  • lemo-opuscar styles/swiss-motion demo/film.js (buildUnits, drawUnits, gridState, drawScoreLabels) + DEMO.md (MIT / CC BY 4.0, LemoLab)