Opus Motion ★ Star on GitHub

Game & sports · stopwatch-split-times

Stopwatch with split times

A large stopwatch (sweep hand, lap-progress ring, digital readout) counts up while each lap freezes the readout and drops a row into a splits list with a bar, the time and the +/- against the previous lap; at the finish the best lap turns green, the slowest red and a total bar locks in.

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

Stopwatch with split times: three frames of the game graphic, start, middle and end
Stopwatch with split times — start, middle and end of the 10.0-second motion.

What Stopwatch with split times is for

Lap and split reveals for running, swimming, cycling and motorsport, speed-run segments, workout intervals, cooking or study timers and any "how the time was made up" story. Pass the lap durations in seconds; real time is compressed to fit the clip.

  • stopwatch
  • timer
  • splits
  • lap times
  • laps
  • running
  • swimming
  • athletics
  • track
  • speedrun
  • interval
  • clock
  • sports
  • timing
  • race

Details

Category
Game & sports graphics
Length
10.0 s (300 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 good bad
Mood
—
Roles
subject

Use Stopwatch with split times in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render stopwatch-split-times --props '{"title":"400 m heat","subtitle":"Lane 4 · splits","background":"#0A0F1C","surface":"#18213A","ink":"#FFFFFF","accent":"#FFC933","good":"#2DD4A0","bad":"#FF5D6C"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export stopwatch-split-times --as webm-alpha --props '{"title":"400 m heat","subtitle":"Lane 4 · splits","background":"#0A0F1C","surface":"#18213A","ink":"#FFFFFF","accent":"#FFC933","good":"#2DD4A0","bad":"#FF5D6C"}'

React / Next.js

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

<MotionPlayer
  motion="stopwatch-split-times"
  props={{
    title: '400 m heat',
    subtitle: 'Lane 4 · splits',
    background: '#0A0F1C',
    surface: '#18213A',
    ink: '#FFFFFF',
    accent: '#FFC933',
    good: '#2DD4A0',
    bad: '#FF5D6C',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="stopwatch-split-times"
  props='{"title":"400 m heat","subtitle":"Lane 4 · splits","background":"#0A0F1C","surface":"#18213A","ink":"#FFFFFF","accent":"#FFC933","good":"#2DD4A0","bad":"#FF5D6C"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "stopwatch-split-times",
      "props": {
        "title": "400 m heat",
        "subtitle": "Lane 4 · splits",
        "background": "#0A0F1C",
        "surface": "#18213A",
        "ink": "#FFFFFF",
        "accent": "#FFC933",
        "good": "#2DD4A0",
        "bad": "#FF5D6C"
      }
    }
  ]
}

Stopwatch with split times props

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

PropDefaultWhat it does
title"400 m heat"heading
subtitle"Lane 4 · splits"small line above the heading
laps[27.4,26.9,27.8,26.5,27.1,25.9]lap / split durations in seconds, in order (up to 12); the total and the cumulative clock are worked out
lapLabel"Lap"word before the lap number (Lap, Split, Round, Set)
totalLabel"Total"label of the final total
showDialtrueshow the stopwatch dial (false = list only, bigger)
background"#0A0F1C"frame colour, or "transparent" to overlay footage
surface"#18213A"dial and row colour
ink"#FFFFFF"text colour
accent"#FFC933"sweep hand, lap ring and total bar colour
good"#2DD4A0"colour of faster laps / best lap
bad"#FF5D6C"colour of slower laps / slowest lap
fontFamily"auto"CSS font family, or "auto"

Notes & credits

Technique sources:

  • original