Opus Motion ★ Star on GitHub

Camera · time-remap-clock

Time remap clock

Explains and demonstrates the punctuation-hold clock: two balls on a track, one on the constant timeline, one on the remapped clock that eases to a full stop on each hold, then runs up to ~2x to catch back up; a live speed graph shows the dip, the stop and the sin² catch-up. The same pure remap (buildTimeRemap in src/core/r2-mg1b-kit.tsx) can drive any motion for musical breaths.

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

Time remap clock: three frames of the camera effect, start, middle and end
Time remap clock — start, middle and end of the 8.0-second motion.

What Time remap clock is for

Visualising or tuning holds / slow-mo on beats; template for retiming any library motion without drifting off the timeline.

  • time remap
  • hold
  • slow motion
  • beat sync
  • camera
  • speed ramp
  • clock
  • catch-up
  • explainer
  • helper

Details

Category
Camera moves & lens effects
Length
8.0 s (240 frames at 30 fps)
Formats
16:9, 1:1, 9:16
Weight
light
Transparent overlay
no
Seamless loop
no
Text props
title
Colour props
background color remapColor
Mood
—
Roles
subject

Use Time remap clock in Remotion, React or HTML

Remotion project

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

# render an mp4 (run in the library folder)
node cli/mgl.mjs render time-remap-clock --props '{"title":"Time remap","background":"#10142A","color":"#6C8CFF","remapColor":"#FFB44D"}'

# or export for apps / editors: mp4 | webm-alpha | prores-alpha | gif | png | poster
node cli/mgl.mjs export time-remap-clock --as mp4 --props '{"title":"Time remap","background":"#10142A","color":"#6C8CFF","remapColor":"#FFB44D"}'

React / Next.js

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

<MotionPlayer
  motion="time-remap-clock"
  props={{
    title: 'Time remap',
    background: '#10142A',
    color: '#6C8CFF',
    remapColor: '#FFB44D',
  }}
  playOnView
  loop="auto"
/>

Plain HTML / WordPress

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

<opus-motion motion="time-remap-clock"
  props='{"title":"Time remap","background":"#10142A","color":"#6C8CFF","remapColor":"#FFB44D"}'>
</opus-motion>

Compose spec (multi-scene video)

json
{
  "width": 1920,
  "height": 1080,
  "fps": 30,
  "scenes": [
    {
      "motion": "time-remap-clock",
      "props": {
        "title": "Time remap",
        "background": "#10142A",
        "color": "#6C8CFF",
        "remapColor": "#FFB44D"
      }
    }
  ]
}

Time remap clock props

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

PropDefaultWhat it does
holds[{"at":1.6,"dur":0.4},{"at":3.6,"dur":0.4},{"at":5.5,"dur":0.4}]holds [{at seconds on the timeline, dur seconds}]
easeIn0.133seconds easing into each hold
release0.9seconds of the catch-up run after each hold
length7.5timeline length in seconds shown on the track
background"#10142A"page colour
color"#6C8CFF"timeline colour
remapColor"#FFB44D"remapped clock colour
title"Time remap"heading
notes["STOP ON THE HOLD · CATCH UP TO ~2x","BACK ON THE TIMELINE"]two caption lines under the title (landscape joins them with " · ")
timelineLabel"TIMELINE"label of the straight timeline track
remapLabel"REMAPPED"label of the remapped (clock) track
holdLabel"HOLD"readout text while the clock is stopped on a hold
speedLabel"CLOCK SPEED"label above the clock-speed graph

Notes & credits

Technique sources:

  • mg-styles-15 demos/02-line-art/film.js CT / camClock + demos/04-3d-render R(t) (MIT)