
Time remap clock
@opus-motion-library/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.
설치
node cli/mgl.mjs add time-remap-clock --to <your-project>/src사용 상황
- 추천
- Visualising or tuning holds / slow-mo on beats; template for retiming any library motion without drifting off the timeline.
사양
- 길이
- 240f · 8s
- 길이 유형
- 고정
- FPS
- 30
- 라이선스
- MIT
Props (13)
holdsarray= [{"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}]
easeInnumber= 0.133seconds easing into each hold
releasenumber= 0.9seconds of the catch-up run after each hold
lengthnumber= 7.5timeline length in seconds shown on the track
backgroundstring= "#10142A"page colour
colorstring= "#6C8CFF"timeline colour
remapColorstring= "#FFB44D"remapped clock colour
titlestring= "Time remap"heading
notesarray= ["STOP ON THE HOLD · CATCH UP TO ~2x","BACK ON THE TIMELINE"]two caption lines under the title (landscape joins them with " · ")
timelineLabelstring= "TIMELINE"label of the straight timeline track
remapLabelstring= "REMAPPED"label of the remapped (clock) track
holdLabelstring= "HOLD"readout text while the clock is stopped on a hold
speedLabelstring= "CLOCK SPEED"label above the clock-speed graph