Opus Motion ★ Star on GitHub

Game & sports · race-leaderboard-live

Race leaderboard (live)

A slanted timing tower: the field is re-ranked at every lap / split, rows glide into place, overtakers flash with a green arrow and places gained, the leader shows the race time and the rest the gap behind, with an optional last-lap column and a lap counter.

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

Race leaderboard (live): three frames of the game graphic, start, middle and end
Race leaderboard (live) — start, middle and end of the 9.0-second motion.

What Race leaderboard (live) is for

Race and heat coverage (motor racing, cycling, swimming, athletics, rowing, esports races), "who is ahead" timing towers, live-results recaps and standings changes. Give each competitor a name, a colour and their lap/split times in seconds.

  • race
  • leaderboard
  • timing tower
  • standings
  • ranking
  • laps
  • positions
  • overtake
  • motorsport
  • racing
  • cycling
  • swimming
  • athletics
  • sports
  • results
  • live
  • gap

Details

Category
Game & sports graphics
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
title subtitle
Colour props
background surface ink accent up down
Mood
—
Roles
subject

Use Race leaderboard (live) in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render race-leaderboard-live --props '{"title":"Grand Prix","subtitle":"Live timing","background":"#0A0F1C","surface":"#161E33","ink":"#FFFFFF","accent":"#FFC933","up":"#2DD4A0","down":"#FF5D6C"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export race-leaderboard-live --as webm-alpha --props '{"title":"Grand Prix","subtitle":"Live timing","background":"#0A0F1C","surface":"#161E33","ink":"#FFFFFF","accent":"#FFC933","up":"#2DD4A0","down":"#FF5D6C"}'

React / Next.js

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

<MotionPlayer
  motion="race-leaderboard-live"
  props={{
    title: 'Grand Prix',
    subtitle: 'Live timing',
    background: '#0A0F1C',
    surface: '#161E33',
    ink: '#FFFFFF',
    accent: '#FFC933',
    up: '#2DD4A0',
    down: '#FF5D6C',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="race-leaderboard-live"
  props='{"title":"Grand Prix","subtitle":"Live timing","background":"#0A0F1C","surface":"#161E33","ink":"#FFFFFF","accent":"#FFC933","up":"#2DD4A0","down":"#FF5D6C"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "race-leaderboard-live",
      "props": {
        "title": "Grand Prix",
        "subtitle": "Live timing",
        "background": "#0A0F1C",
        "surface": "#161E33",
        "ink": "#FFFFFF",
        "accent": "#FFC933",
        "up": "#2DD4A0",
        "down": "#FF5D6C"
      }
    }
  ]
}

Race leaderboard (live) props

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

PropDefaultWhat it does
title"Grand Prix"heading (e.g. event name)
subtitle"Live timing"small line above the heading
checkpointLabel"Lap"word beside the counter (Lap, Split, Heat, Stage)
entries[{"name":"Vega","laps":[91.2,89.9,89.4,88.9,88.6,88.7],"color":"#E5484D"},{"name":"Rowe…array of {name, color, tag?, laps: number[]}: laps = time for each lap / split in seconds (cumulative times are worked out; the field is ranked after each checkpoint; 12 entries max, shortest laps array sets the checkpoint count)
showLapTimestrueshow each competitor's last lap time (hidden automatically on narrow frames)
decimals3decimals in gaps and times (1 to 3)
background"#0A0F1C"frame colour, or "transparent" to overlay footage
surface"#161E33"row colour
ink"#FFFFFF"text colour
accent"#FFC933"leader / heading highlight colour
up"#2DD4A0"colour of the "places gained" arrow
down"#FF5D6C"colour of the "places lost" arrow
fontFamily"auto"CSS font family, or "auto"

Notes & credits

Technique sources:

  • original