🎥 Make videos programmatically with React
@remotion/jonnys-videos: Add roller ski video compositions
Jonny Burger3b932e85e81f
diff --git a/bun.lock b/bun.lockindex 5c5ec9d394..377f39e27e 100644--- a/bun.lock+++ b/bun.lock@@ -1094,6 +1094,7 @@"@remotion/captions": "workspace:*","@remotion/cli": "workspace:*","@remotion/effects": "workspace:*",+ "@remotion/google-fonts": "workspace:*","@remotion/layout-utils": "workspace:*","@remotion/media": "workspace:*","@remotion/noise": "workspace:*",@@ -1101,10 +1102,12 @@"react": "catalog:","react-dom": "catalog:","remotion": "workspace:*",+ "three": "catalog:",},"devDependencies": {"@remotion/eslint-config-flat": "workspace:*","@types/react": "catalog:",+ "@types/three": "catalog:","@types/web": "catalog:","@typescript/native-preview": "catalog:","eslint": "catalog:",diff --git a/packages/jonnys-videos/README.md b/packages/jonnys-videos/README.mdindex e7b9ba4ebe..6586372b82 100644--- a/packages/jonnys-videos/README.md+++ b/packages/jonnys-videos/README.md@@ -31,6 +31,13 @@ bun run devbunx remotion render```+## Roller ski video++The compositions from the `roller-skis` project are in the `RollerSkis` folder in+Studio. Their source is in `src/roller-skis`, and the media is hosted under+`https://remotion.media/jonnys-videos/roller-skis/`. The caption data needed by+the rough cut is kept with the composition source.+## DocsGet started with Remotion by reading the [fundamentals page](https://www.remotion.dev/docs/the-fundamentals).diff --git a/packages/jonnys-videos/package.json b/packages/jonnys-videos/package.jsonindex e4dfc3c80e..11eddcec29 100644--- a/packages/jonnys-videos/package.json+++ b/packages/jonnys-videos/package.json@@ -20,18 +20,21 @@"@remotion/captions": "workspace:*","@remotion/cli": "workspace:*","@remotion/effects": "workspace:*",+ "@remotion/google-fonts": "workspace:*","@remotion/layout-utils": "workspace:*","@remotion/media": "workspace:*","@remotion/noise": "workspace:*","@remotion/shapes": "workspace:*","react": "catalog:","react-dom": "catalog:",- "remotion": "workspace:*"+ "remotion": "workspace:*",+ "three": "catalog:"},"devDependencies": {"@remotion/eslint-config-flat": "workspace:*","@typescript/native-preview": "catalog:","@types/react": "catalog:",+ "@types/three": "catalog:","@types/web": "catalog:","eslint": "catalog:"},diff --git a/packages/jonnys-videos/src/Root.tsx b/packages/jonnys-videos/src/Root.tsxindex 218048deb6..d00d0f9292 100644--- a/packages/jonnys-videos/src/Root.tsx+++ b/packages/jonnys-videos/src/Root.tsx@@ -56,6 +56,7 @@ import {ZURICH_PHOTO_DURATION_IN_FRAMES,ZurichPhoto,} from './how-can-remotion-be-free/ZurichPhoto';+import {RemotionRoot as RollerSkisRoot} from './roller-skis/Root';export const RemotionRoot: React.FC = () => {return (@@ -325,6 +326,9 @@ export const RemotionRoot: React.FC = () => {/></Folder></Folder>+ <Folder name="RollerSkis">+ <RollerSkisRoot />+ </Folder></>);};diff --git a/packages/jonnys-videos/src/roller-skis/CommuteMotionGraphic.tsx b/packages/jonnys-videos/src/roller-skis/CommuteMotionGraphic.tsxnew file mode 100644index 0000000000..ac91303892--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis/CommuteMotionGraphic.tsx@@ -0,0 +1,153 @@+import {Audio} from '@remotion/media';+import {+ AbsoluteFill,+ Interactive,+ interpolate,+ useCurrentFrame,+ useVideoConfig,+} from 'remotion';+import {rollerSkiAsset} from './assets';+import {BasicCaptions} from './basic-captions';++export const CommuteMotionGraphic: React.FC = () => {+ const frame = useCurrentFrame();+ const {fps} = useVideoConfig();++ return (+ <AbsoluteFill style={{backgroundColor: '#F7F9FC', color: '#14213D'}}>+ <Audio+ src={rollerSkiAsset('footage/IMG_0463.MOV')}+ trimBefore={417}+ premountFor={fps}+ />+ <Interactive.Div+ name="Remotion wordmark"+ style={{+ position: 'absolute',+ left: 142,+ top: 116,+ color: '#1F4FD8',+ fontFamily: 'Arial, Helvetica, sans-serif',+ fontSize: 48,+ fontWeight: 800,+ letterSpacing: -2,+ opacity: interpolate(frame, [0, 18], [0, 1], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ }}+ >+ Remotion+ </Interactive.Div>+ <div+ style={{+ position: 'absolute',+ left: 142,+ width: 900,+ top: 325,+ }}+ >+ <Interactive.Div+ name="Original tagline"+ style={{+ color: '#14213D',+ fontFamily: 'Arial, Helvetica, sans-serif',+ fontSize: 110,+ fontWeight: 800,+ letterSpacing: -5,+ lineHeight: 1.08,+ opacity: interpolate(frame, [10, 30, 142, 159], [0, 1, 1, 0.28], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ translate: interpolate(frame, [10, 30], ['0px 30px', '0px 0px'], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ }}+ >+ Best place to work+ </Interactive.Div>+ <Interactive.Div+ name="Cross-out"+ style={{+ position: 'absolute',+ left: 0,+ top: 57,+ width: interpolate(frame, [121, 140], ['0%', '100%'], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ height: 8,+ borderRadius: 4,+ backgroundColor: '#1F4FD8',+ }}+ />+ </div>+ <Interactive.Div+ name="New tagline"+ style={{+ position: 'absolute',+ left: 142,+ right: 142,+ top: 540,+ color: '#1F4FD8',+ fontFamily: 'Arial, Helvetica, sans-serif',+ fontSize: 110,+ fontWeight: 800,+ letterSpacing: -5,+ lineHeight: 1.08,+ opacity: interpolate(frame, [145, 171], [0, 1], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ translate: interpolate(frame, [145, 171], ['0px 30px', '0px 0px'], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ }}+ >+ Best commute to work+ </Interactive.Div>+ <BasicCaptions+ name="Best commute voiceover captions"+ captions={[+ {+ text: 'Mountains!',+ startMs: 60,+ endMs: 1100,+ timestampMs: 580,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: 'What more could you want?',+ startMs: 1360,+ endMs: 2380,+ timestampMs: 1870,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: 'The roller skis?',+ startMs: 2580,+ endMs: 4040,+ timestampMs: 3310,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: 'Come on, best commute goes to Jonny, alright?',+ startMs: 4200,+ endMs: 6940,+ timestampMs: 5570,+ confidence: null,+ pageBreakAfter: true,+ },+ ]}+ width={1500}+ style={{position: 'absolute', left: 210, bottom: 72}}+ />+ </AbsoluteFill>+ );+};diff --git a/packages/jonnys-videos/src/roller-skis/Composition.tsx b/packages/jonnys-videos/src/roller-skis/Composition.tsxnew file mode 100644index 0000000000..ef3ad97824--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis/Composition.tsx@@ -0,0 +1,4041 @@+import type {Caption} from '@remotion/captions';+import {lut} from '@remotion/effects/lut';+import {vignette} from '@remotion/effects/vignette';+import {Video, Audio} from '@remotion/media';+import {+ AbsoluteFill,+ Composition,+ Easing,+ interpolate,+ Sequence,+ Series,+ useCurrentFrame,+ useVideoConfig,+} from 'remotion';+import {rollerSkiAsset} from './assets';+import {BasicCaptions} from './basic-captions';+import {RollerSkiBlueprint} from './blueprint/RollerSkiBlueprint';+import {+ closingThoughtsBeforeCaptions,+ closingThoughtsAfterCaptions,+} from './closing-thoughts-captions';+import {outdoorLut, studioLut} from './color-grade';+import {IntroLowerThird} from './IntroLowerThird';+import {NordicRoutes} from './nordic/NordicRoutes';+import brakeSourceCaptions from './transcripts/IMG_0478.captions.json';+import {YouTubeEndCard} from './YouTubeEndCard';++const FPS = 30;+const COMPOSITION_DURATION_IN_FRAMES = 12377;+const END_CARD_START = 12058;+const END_CARD_DURATION_IN_FRAMES =+ COMPOSITION_DURATION_IN_FRAMES - END_CARD_START;+const brakingCaptionsFor = (startMs: number, endMs: number): Caption[] =>+ brakeSourceCaptions+ .filter((caption) => caption.startMs < endMs && caption.endMs > startMs)+ .map((caption) => {+ return {+ text: caption.text,+ startMs: Math.max(0, caption.startMs - startMs),+ endMs: Math.min(endMs, caption.endMs) - startMs,+ timestampMs:+ Math.min(endMs, Math.max(startMs, caption.timestampMs)) - startMs,+ confidence: null,+ pageBreakAfter: /[.!?]$/.test(caption.text),+ };+ });+const brakingDemonstrationCaptions = brakingCaptionsFor(3500, 42300);+const brakingConclusionCaptions = brakingCaptionsFor(53400, 57367);++export const MyComposition = () => {+ return (+ <Composition+ id="RollerSkiRoughCut"+ component={RollerSkiRoughCut}+ durationInFrames={COMPOSITION_DURATION_IN_FRAMES}+ fps={FPS}+ width={1920}+ height={1080}+ />+ );+};++const videoStyle: React.CSSProperties = {+ width: '100%',+ height: '100%',+};++const WhiteYouTubeIcon: React.FC = () => (+ <svg+ width={48}+ height={34}+ viewBox="0 0 48 34"+ aria-hidden="true"+ style={{flexShrink: 0}}+ >+ <path+ fill="white"+ fillRule="evenodd"+ d="M10 0H38C43.5 0 48 4.5 48 10V24C48 29.5 43.5 34 38 34H10C4.5 34 0 29.5 0 24V10C0 4.5 4.5 0 10 0ZM20 9V25L34 17 20 9Z"+ />+ </svg>+);++const OpeningTitleCard: React.FC = () => {+ const frame = useCurrentFrame();++ return (+ <AbsoluteFill+ style={{+ backgroundColor: '#000000',+ color: '#ffffff',+ justifyContent: 'center',+ alignItems: 'center',+ padding: '0 180px',+ }}+ >+ <div+ style={{+ fontFamily: 'Arial, Helvetica, sans-serif',+ fontSize: 54,+ fontWeight: 500,+ lineHeight: 1.1,+ display: 'flex',+ flexDirection: 'column',+ gap: 8,+ textAlign: 'center',+ opacity: interpolate(frame, [0, 30, 150, 165], [0, 1, 1, 0], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ }}+ >+ <div>Today we had an internal video editing competition.</div>+ <div>Everybody had to make a video with Remotion!</div>+ <div>This is what I made.</div>+ </div>+ </AbsoluteFill>+ );+};++const PresenterZoom: React.FC = () => {+ const frame = useCurrentFrame();+ const {fps} = useVideoConfig();+ const zoom = interpolate(frame, [472, 516], [1, 1.09], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ });++ return (+ <AbsoluteFill style={{overflow: 'hidden'}}>+ <AbsoluteFill style={{transform: `scale(${zoom})`}}>+ <Video+ src={rollerSkiAsset('footage/webcam1790843295628.mp4')}+ durationInFrames={436}+ trimBefore={120}+ style={videoStyle}+ objectFit="cover"+ premountFor={fps}+ effects={[+ lut({content: studioLut}),+ vignette({+ amount: interpolate(frame, [423, 466], [0, 0.55], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),++ radius: 0.62,+ feather: 0.35,+ roundness: 1,+ center: [0.5, 0.5],+ color: '#000000',+ }),+ ]}+ />+ <Video+ src={rollerSkiAsset('footage/webcam1790843295628.mp4')}+ from={436}+ trimBefore={556}+ style={videoStyle}+ objectFit="cover"+ premountFor={fps}+ effects={[+ lut({content: studioLut}),+ vignette({+ amount: interpolate(frame, [409, 485], [0, 0.55], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),++ radius: 0.63,+ feather: 0.67,+ roundness: 1,+ center: [0.5, 0.5],+ color: '#000000',+ }),+ ]}+ toneFrequency={0.95}+ />+ </AbsoluteFill>+ </AbsoluteFill>+ );+};++const TvColorBars: React.FC = () => {+ const frame = useCurrentFrame();+ const top = [+ '#e6e6e6',+ '#e5df00',+ '#00d6d8',+ '#00d335',+ '#cc00d3',+ '#dc2028',+ '#2030d4',+ ];+ const middle = [+ '#1e2ece',+ '#080808',+ '#cf00d3',+ '#080808',+ '#00d4d6',+ '#080808',+ '#d0d0d0',+ ];++ return (+ <AbsoluteFill style={{backgroundColor: '#080808', overflow: 'hidden'}}>+ <div style={{display: 'flex', height: '68%'}}>+ {top.map((color, index) => (+ <div key={index} style={{backgroundColor: color, flex: 1}} />+ ))}+ </div>+ <div style={{display: 'flex', height: '16%'}}>+ {middle.map((color, index) => (+ <div key={index} style={{backgroundColor: color, flex: 1}} />+ ))}+ </div>+ <div style={{display: 'flex', height: '16%'}}>+ <div style={{backgroundColor: '#062248', width: '19%'}} />+ <div style={{backgroundColor: '#f4f4f4', width: '19%'}} />+ <div style={{backgroundColor: '#3b0a62', width: '19%'}} />+ <div style={{backgroundColor: '#080808', flex: 1}} />+ </div>+ <AbsoluteFill+ style={{+ background:+ 'repeating-linear-gradient(to bottom, transparent 0px, rgba(0, 0, 0, 0.24) 2px, transparent 4px)',+ opacity: frame % 3 === 0 ? 0.35 : 0.23,+ pointerEvents: 'none',+ }}+ />+ </AbsoluteFill>+ );+};++const STRAVA_BROLL_DURATION = 165;++const StravaRidesBroll: React.FC = () => {+ const frame = useCurrentFrame();++ return (+ <AbsoluteFill+ style={{+ backgroundColor: '#000000',+ opacity: interpolate(+ frame,+ [0, 15, STRAVA_BROLL_DURATION - 15, STRAVA_BROLL_DURATION - 1],+ [0, 1, 1, 0],+ {extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},+ ),+ }}+ >+ <NordicRoutes whiteOverlay />+ </AbsoluteFill>+ );+};++const RollerSkiRoughCut: React.FC = () => {+ const frame = useCurrentFrame();+ const {fps} = useVideoConfig();++ return (+ <>+ <Series>+ <Series.Sequence+ name="Opening text"+ durationInFrames={165}+ premountFor={fps}+ >+ <OpeningTitleCard />+ </Series.Sequence>+ <Series.Sequence+ name="Presenter introduction (1)"+ durationInFrames={336}+ premountFor={fps}+ trimBefore={21}+ >+ <Video+ src={rollerSkiAsset('footage/webcam1790843295628.mp4')}+ trimBefore={4 * FPS}+ style={videoStyle}+ objectFit="cover"+ premountFor={fps}+ effects={[lut({content: studioLut})]}+ />+ <IntroLowerThird+ name="Jonny Burger lower third"+ from={36}+ durationInFrames={108}+ premountFor={fps}+ nameText="Jonny Burger"+ roleText="Roller Ski Enthusiast"+ />+ <BasicCaptions+ name="Presenter introduction (1) captions"+ captions={[+ {+ text: 'What',+ startMs: 1000,+ endMs: 1100,+ timestampMs: 1050,+ confidence: null,+ },+ {+ text: ' is',+ startMs: 1100,+ endMs: 1200,+ timestampMs: 1150,+ confidence: null,+ },+ {+ text: ' up',+ startMs: 1200,+ endMs: 1420,+ timestampMs: 1310,+ confidence: null,+ },+ {+ text: ' guys,',+ startMs: 1420,+ endMs: 1600,+ timestampMs: 1510,+ confidence: null,+ },+ {+ text: ' my',+ startMs: 1700,+ endMs: 1840,+ timestampMs: 1770,+ confidence: null,+ },+ {+ text: ' name',+ startMs: 1840,+ endMs: 1980,+ timestampMs: 1910,+ confidence: null,+ },+ {+ text: ' is',+ startMs: 1980,+ endMs: 2160,+ timestampMs: 2070,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' Jonny',+ startMs: 2160,+ endMs: 2340,+ timestampMs: 2250,+ confidence: null,+ },+ {+ text: ' Burger,',+ startMs: 2340,+ endMs: 2860,+ timestampMs: 2600,+ confidence: null,+ },+ {+ text: ' I',+ startMs: 2860,+ endMs: 2960,+ timestampMs: 2910,+ confidence: null,+ },+ {+ text: ' am',+ startMs: 2960,+ endMs: 3100,+ timestampMs: 3030,+ confidence: null,+ },+ {+ text: ' the',+ startMs: 3100,+ endMs: 3260,+ timestampMs: 3180,+ confidence: null,+ },+ {+ text: ' founder',+ startMs: 3260,+ endMs: 3500,+ timestampMs: 3380,+ confidence: null,+ },+ {+ text: ' of',+ startMs: 3500,+ endMs: 3640,+ timestampMs: 3570,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' Remotion',+ startMs: 3640,+ endMs: 4180,+ timestampMs: 3910,+ confidence: null,+ },+ {+ text: ' and',+ startMs: 4180,+ endMs: 4580,+ timestampMs: 4380,+ confidence: null,+ },+ {+ text: ' today',+ startMs: 4580,+ endMs: 5080,+ timestampMs: 4830,+ confidence: null,+ },+ {+ text: " I'll",+ startMs: 5300,+ endMs: 5580,+ timestampMs: 5440,+ confidence: null,+ },+ {+ text: ' use',+ startMs: 5580,+ endMs: 5800,+ timestampMs: 5690,+ confidence: null,+ },+ {+ text: ' my',+ startMs: 5800,+ endMs: 6260,+ timestampMs: 6030,+ confidence: null,+ },+ {+ text: ' massive',+ startMs: 6260,+ endMs: 6580,+ timestampMs: 6420,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' reach',+ startMs: 6580,+ endMs: 7160,+ timestampMs: 6870,+ confidence: null,+ },+ {+ text: ' to',+ startMs: 7160,+ endMs: 7400,+ timestampMs: 7280,+ confidence: null,+ },+ {+ text: ' show',+ startMs: 7400,+ endMs: 7580,+ timestampMs: 7490,+ confidence: null,+ },+ {+ text: ' you',+ startMs: 7580,+ endMs: 7840,+ timestampMs: 7710,+ confidence: null,+ },+ {+ text: ' a',+ startMs: 7840,+ endMs: 8160,+ timestampMs: 8000,+ confidence: null,+ },+ {+ text: ' really',+ startMs: 8160,+ endMs: 9180,+ timestampMs: 8670,+ confidence: null,+ },+ {+ text: ' underrated',+ startMs: 9180,+ endMs: 9720,+ timestampMs: 9450,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' sport –',+ startMs: 9720,+ endMs: 11000,+ timestampMs: 10360,+ confidence: null,+ },+ {+ text: ' roller',+ startMs: 11160,+ endMs: 11480,+ timestampMs: 11320,+ confidence: null,+ },+ {+ text: ' skis.',+ startMs: 11480,+ endMs: 12980,+ timestampMs: 12230,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' I',+ startMs: 13300,+ endMs: 13520,+ timestampMs: 13410,+ confidence: null,+ },+ {+ text: ' picked',+ startMs: 13520,+ endMs: 13760,+ timestampMs: 13640,+ confidence: null,+ },+ {+ text: ' up',+ startMs: 13760,+ endMs: 14040,+ timestampMs: 13900,+ confidence: null,+ },+ {+ text: ' these',+ startMs: 14040,+ endMs: 14340,+ timestampMs: 14190,+ confidence: null,+ },+ {+ text: ' bad',+ startMs: 14340,+ endMs: 14600,+ timestampMs: 14470,+ confidence: null,+ },+ {+ text: ' boys',+ startMs: 14600,+ endMs: 14900,+ timestampMs: 14750,+ confidence: null,+ },+ {+ text: ' at',+ startMs: 14900,+ endMs: 15020,+ timestampMs: 14960,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' a',+ startMs: 15020,+ endMs: 15240,+ timestampMs: 15130,+ confidence: null,+ },+ {+ text: ' yard',+ startMs: 15240,+ endMs: 15520,+ timestampMs: 15380,+ confidence: null,+ },+ {+ text: ' sale',+ startMs: 15520,+ endMs: 15920,+ timestampMs: 15720,+ confidence: null,+ },+ {+ text: ' last',+ startMs: 15920,+ endMs: 16300,+ timestampMs: 16110,+ confidence: null,+ },+ {+ text: ' weekend.',+ startMs: 16300,+ endMs: 17640,+ timestampMs: 16970,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: " Let's",+ startMs: 17740,+ endMs: 17980,+ timestampMs: 17860,+ confidence: null,+ },+ {+ text: ' take',+ startMs: 17980,+ endMs: 18140,+ timestampMs: 18060,+ confidence: null,+ },+ {+ text: ' them',+ startMs: 18140,+ endMs: 18320,+ timestampMs: 18230,+ confidence: null,+ },+ {+ text: ' out',+ startMs: 18320,+ endMs: 18480,+ timestampMs: 18400,+ confidence: null,+ },+ {+ text: ' for',+ startMs: 18480,+ endMs: 18580,+ timestampMs: 18530,+ confidence: null,+ },+ {+ text: ' a',+ startMs: 18580,+ endMs: 18820,+ timestampMs: 18700,+ confidence: null,+ },+ {+ text: ' spin.',+ startMs: 18820,+ endMs: 19040,+ timestampMs: 18930,+ confidence: null,+ pageBreakAfter: true,+ },+ ]}+ width={1400}+ style={{position: 'absolute', left: 260, bottom: 90}}+ combineTokensWithinMilliseconds={3000}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Roller ski blueprint intro"+ durationInFrames={525}+ premountFor={fps}+ >+ <RollerSkiBlueprint />+ </Series.Sequence>+ <Series.Sequence+ name="Opening selfie"+ durationInFrames={15.866666666666667 * FPS}+ premountFor={fps}+ trimBefore={55}+ >+ <Video+ src={rollerSkiAsset('processed/IMG_0456-upright.MOV')}+ trimBefore={0}+ style={videoStyle}+ objectFit="cover"+ premountFor={fps}+ effects={[lut({content: outdoorLut})]}+ />+ <BasicCaptions+ name="Opening selfie captions"+ captions={[+ {+ text: 'Hello',+ startMs: 2360,+ endMs: 2880,+ timestampMs: 2620,+ confidence: null,+ },+ {+ text: ' everybody!',+ startMs: 2880,+ endMs: 3480,+ timestampMs: 3180,+ confidence: null,+ },+ {+ text: ' It',+ startMs: 3500,+ endMs: 3680,+ timestampMs: 3590,+ confidence: null,+ },+ {+ text: ' is',+ startMs: 3680,+ endMs: 4060,+ timestampMs: 3870,+ confidence: null,+ },+ {+ text: ' 8am',+ startMs: 4060,+ endMs: 4520,+ timestampMs: 4290,+ confidence: null,+ },+ {+ text: ' in',+ startMs: 4520,+ endMs: 4920,+ timestampMs: 4720,+ confidence: null,+ },+ {+ text: ' beautiful',+ startMs: 4920,+ endMs: 5280,+ timestampMs: 5100,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' Zurich,',+ startMs: 5280,+ endMs: 5440,+ timestampMs: 5360,+ confidence: null,+ },+ {+ text: ' Switzerland',+ startMs: 5700,+ endMs: 6760,+ timestampMs: 6230,+ confidence: null,+ },+ {+ text: ' and',+ startMs: 6760,+ endMs: 7120,+ timestampMs: 6940,+ confidence: null,+ },+ {+ text: " I'm",+ startMs: 7120,+ endMs: 7380,+ timestampMs: 7250,+ confidence: null,+ },+ {+ text: ' now',+ startMs: 7380,+ endMs: 7660,+ timestampMs: 7520,+ confidence: null,+ },+ {+ text: ' commuting',+ startMs: 7660,+ endMs: 7940,+ timestampMs: 7800,+ confidence: null,+ },+ {+ text: ' to',+ startMs: 7940,+ endMs: 8160,+ timestampMs: 8050,+ confidence: null,+ pageBreakAfter: false,+ },+ {+ text: ' work.',+ startMs: 8160,+ endMs: 8360,+ timestampMs: 8260,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' Not',+ startMs: 8680,+ endMs: 8980,+ timestampMs: 8830,+ confidence: null,+ },+ {+ text: ' with',+ startMs: 8980,+ endMs: 9140,+ timestampMs: 9060,+ confidence: null,+ },+ {+ text: ' the',+ startMs: 9140,+ endMs: 9440,+ timestampMs: 9290,+ confidence: null,+ },+ {+ text: ' car,',+ startMs: 9440,+ endMs: 9980,+ timestampMs: 9710,+ confidence: null,+ },+ {+ text: ' like',+ startMs: 10240,+ endMs: 10520,+ timestampMs: 10380,+ confidence: null,+ },+ {+ text: ' all',+ startMs: 10520,+ endMs: 10660,+ timestampMs: 10590,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' of',+ startMs: 10660,+ endMs: 10780,+ timestampMs: 10720,+ confidence: null,+ },+ {+ text: ' the',+ startMs: 10780,+ endMs: 10920,+ timestampMs: 10850,+ confidence: null,+ },+ {+ text: ' other',+ startMs: 10920,+ endMs: 11360,+ timestampMs: 11140,+ confidence: null,+ },+ {+ text: ' people,',+ startMs: 11360,+ endMs: 12020,+ timestampMs: 11690,+ confidence: null,+ },+ {+ text: ' but',+ startMs: 12440,+ endMs: 13540,+ timestampMs: 12990,+ confidence: null,+ },+ {+ text: ' with',+ startMs: 13540,+ endMs: 13860,+ timestampMs: 13700,+ confidence: null,+ },+ {+ text: ' my',+ startMs: 13860,+ endMs: 14440,+ timestampMs: 14150,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' roller',+ startMs: 14440,+ endMs: 14880,+ timestampMs: 14660,+ confidence: null,+ },+ {+ text: ' skis',+ startMs: 14880,+ endMs: 15620,+ timestampMs: 15250,+ confidence: null,+ },+ {+ text: ' instead!',+ startMs: 15620,+ endMs: 16320,+ timestampMs: 15970,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' Oh',+ startMs: 16800,+ endMs: 17220,+ timestampMs: 17010,+ confidence: null,+ },+ {+ text: ' yes!',+ startMs: 17220,+ endMs: 18320,+ timestampMs: 17770,+ confidence: null,+ pageBreakAfter: true,+ },+ ]}+ width={1400}+ style={{position: 'absolute', left: 260, bottom: 90}}+ combineTokensWithinMilliseconds={3500}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Getting ready"+ durationInFrames={6.4 * FPS}+ premountFor={fps}+ >+ <Video+ src={rollerSkiAsset('footage/IMG_0457.MOV')}+ durationInFrames={969}+ trimBefore={120}+ style={videoStyle}+ objectFit="cover"+ premountFor={fps}+ playbackRate={5}+ effects={[lut({content: outdoorLut})]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Presenter introduction (2)"+ durationInFrames={127}+ premountFor={fps}+ trimBefore={369}+ >+ <PresenterZoom />+ <BasicCaptions+ name="Presenter introduction (2) captions"+ captions={[+ {+ text: ' I',+ startMs: 13300,+ endMs: 13520,+ timestampMs: 13410,+ confidence: null,+ },+ {+ text: ' picked',+ startMs: 13520,+ endMs: 13760,+ timestampMs: 13640,+ confidence: null,+ },+ {+ text: ' up',+ startMs: 13760,+ endMs: 14040,+ timestampMs: 13900,+ confidence: null,+ },+ {+ text: ' these',+ startMs: 14040,+ endMs: 14340,+ timestampMs: 14190,+ confidence: null,+ },+ {+ text: ' bad',+ startMs: 14340,+ endMs: 14600,+ timestampMs: 14470,+ confidence: null,+ },+ {+ text: ' boys',+ startMs: 14600,+ endMs: 14900,+ timestampMs: 14750,+ confidence: null,+ },+ {+ text: ' at',+ startMs: 14900,+ endMs: 15020,+ timestampMs: 14960,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' a',+ startMs: 15020,+ endMs: 15240,+ timestampMs: 15130,+ confidence: null,+ },+ {+ text: ' yard',+ startMs: 15240,+ endMs: 15520,+ timestampMs: 15380,+ confidence: null,+ },+ {+ text: ' sale',+ startMs: 15520,+ endMs: 15920,+ timestampMs: 15720,+ confidence: null,+ },+ {+ text: ' last',+ startMs: 15920,+ endMs: 16300,+ timestampMs: 16110,+ confidence: null,+ },+ {+ text: ' weekend.',+ startMs: 16300,+ endMs: 17640,+ timestampMs: 16970,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: " Let's",+ startMs: 17740,+ endMs: 17980,+ timestampMs: 17860,+ confidence: null,+ },+ {+ text: ' take',+ startMs: 17980,+ endMs: 18140,+ timestampMs: 18060,+ confidence: null,+ },+ {+ text: ' them',+ startMs: 18140,+ endMs: 18320,+ timestampMs: 18230,+ confidence: null,+ },+ {+ text: ' out',+ startMs: 18320,+ endMs: 18480,+ timestampMs: 18400,+ confidence: null,+ },+ {+ text: ' for',+ startMs: 18480,+ endMs: 18580,+ timestampMs: 18530,+ confidence: null,+ },+ {+ text: ' a',+ startMs: 18580,+ endMs: 18820,+ timestampMs: 18700,+ confidence: null,+ },+ {+ text: ' spin.',+ startMs: 18820,+ endMs: 19040,+ timestampMs: 18930,+ confidence: null,+ pageBreakAfter: true,+ },+ ]}+ width={1400}+ style={{position: 'absolute', left: 260, bottom: 90}}+ combineTokensWithinMilliseconds={3000}+ />+ </Series.Sequence>+ <Series.Sequence+ name="TV color bars"+ durationInFrames={15}+ premountFor={fps}+ >+ <TvColorBars />+ <Audio+ src={rollerSkiAsset('audio/tv-static-tone.wav')}+ volume={0.55}+ />+ </Series.Sequence>+ <Series.Sequence+ name="The pole tips"+ durationInFrames={354}+ premountFor={fps}+ trimBefore={48}+ >+ <Video+ src={rollerSkiAsset('footage/webcam1790859190089.mp4')}+ style={videoStyle}+ objectFit="cover"+ premountFor={fps}+ effects={[lut({content: studioLut})]}+ />+ <BasicCaptions+ name="The pole tips captions"+ captions={[+ {+ text: 'Check',+ startMs: 2380,+ endMs: 2800,+ timestampMs: 2590,+ confidence: null,+ },+ {+ text: ' out',+ startMs: 2800,+ endMs: 3440,+ timestampMs: 3120,+ confidence: null,+ },+ {+ text: ' the',+ startMs: 3440,+ endMs: 3900,+ timestampMs: 3670,+ confidence: null,+ },+ {+ text: ' tips',+ startMs: 3900,+ endMs: 4700,+ timestampMs: 4300,+ confidence: null,+ },+ {+ text: ' of',+ startMs: 4700,+ endMs: 4980,+ timestampMs: 4840,+ confidence: null,+ },+ {+ text: ' these',+ startMs: 4980,+ endMs: 5440,+ timestampMs: 5210,+ confidence: null,+ },+ {+ text: ' poles.',+ startMs: 5440,+ endMs: 5860,+ timestampMs: 5650,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' They',+ startMs: 5860,+ endMs: 6000,+ timestampMs: 5930,+ confidence: null,+ },+ {+ text: ' are',+ startMs: 6000,+ endMs: 6520,+ timestampMs: 6260,+ confidence: null,+ },+ {+ text: ' really',+ startMs: 6520,+ endMs: 6800,+ timestampMs: 6660,+ confidence: null,+ },+ {+ text: ' really',+ startMs: 6800,+ endMs: 7200,+ timestampMs: 7000,+ confidence: null,+ },+ {+ text: ' sharp.',+ startMs: 7200,+ endMs: 7800,+ timestampMs: 7500,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' You',+ startMs: 8080,+ endMs: 8300,+ timestampMs: 8190,+ confidence: null,+ },+ {+ text: ' could',+ startMs: 8300,+ endMs: 8860,+ timestampMs: 8580,+ confidence: null,+ },+ {+ text: ' actually',+ startMs: 8860,+ endMs: 11420,+ timestampMs: 10140,+ confidence: null,+ },+ {+ text: ' properly',+ startMs: 11420,+ endMs: 12240,+ timestampMs: 11830,+ confidence: null,+ },+ {+ text: ' stab',+ startMs: 12240,+ endMs: 12700,+ timestampMs: 12470,+ confidence: null,+ },+ {+ text: ' somebody',+ startMs: 12700,+ endMs: 12960,+ timestampMs: 12830,+ confidence: null,+ },+ {+ text: ' with',+ startMs: 12960,+ endMs: 13240,+ timestampMs: 13100,+ confidence: null,+ },+ {+ text: ' them.',+ startMs: 13240,+ endMs: 15360,+ timestampMs: 14300,+ confidence: null,+ pageBreakAfter: true,+ },+ ]}+ width={1400}+ style={{position: 'absolute', left: 260, bottom: 90}}+ />+ </Series.Sequence>+ <Series.Sequence+ name="First roll"+ durationInFrames={6.333333333333335 * FPS}+ premountFor={fps}+ >+ <Video+ src={rollerSkiAsset('footage/IMG_0457.MOV')}+ trimBefore={40 * FPS}+ style={videoStyle}+ objectFit="cover"+ premountFor={fps}+ effects={[lut({content: outdoorLut})]}+ />+ <BasicCaptions+ name="First roll captions"+ captions={[+ {+ text: 'Alright,',+ startMs: 380,+ endMs: 600,+ timestampMs: 490,+ confidence: null,+ },+ {+ text: " let's",+ startMs: 720,+ endMs: 940,+ timestampMs: 830,+ confidence: null,+ },+ {+ text: ' go',+ startMs: 960,+ endMs: 1120,+ timestampMs: 1040,+ confidence: null,+ },+ {+ text: ' to',+ startMs: 1120,+ endMs: 1340,+ timestampMs: 1230,+ confidence: null,+ },+ {+ text: ' work!',+ startMs: 1340,+ endMs: 2100,+ timestampMs: 1720,+ confidence: null,+ pageBreakAfter: true,+ },+ ]}+ width={1400}+ style={{position: 'absolute', left: 260, bottom: 90}}+ />+ </Series.Sequence>+ <Series.Sequence+ name="First roll cutscene"+ durationInFrames={246}+ premountFor={fps}+ >+ <Video+ src={rollerSkiAsset('footage/first-roll-cutscene.mp4')}+ style={videoStyle}+ objectFit="cover"+ premountFor={fps}+ effects={[lut({content: outdoorLut})]}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Climbing the incline"+ durationInFrames={12.4 * FPS}+ premountFor={fps}+ >+ <Video+ src={rollerSkiAsset('footage/IMG_0459.MOV')}+ trimBefore={1 * FPS}+ style={videoStyle}+ objectFit="cover"+ premountFor={fps}+ effects={[lut({content: outdoorLut})]}+ />+ <BasicCaptions+ name="Climbing the incline captions"+ captions={[+ {+ text: 'Okay, so now we have a bit of an incline.',+ startMs: 220,+ endMs: 2160,+ timestampMs: 1190,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: " It's a great time to show you one of the awesome features of these roller skis,",+ startMs: 2320,+ endMs: 8980,+ timestampMs: 5650,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' which is that you cannot roll backwards.',+ startMs: 9120,+ endMs: 12940,+ timestampMs: 11030,+ confidence: null,+ pageBreakAfter: true,+ },+ ]}+ width={1400}+ style={{position: 'absolute', left: 260, bottom: 90}}+ />+ </Series.Sequence>+ <Series.Sequence+ name="How the skis roll"+ durationInFrames={15 * FPS}+ premountFor={fps}+ >+ <Video+ src={rollerSkiAsset('footage/IMG_0475.MOV')}+ trimBefore={93 * FPS}+ style={videoStyle}+ objectFit="cover"+ premountFor={fps}+ effects={[lut({content: studioLut})]}+ />+ <BasicCaptions+ name="How the skis roll captions"+ captions={[+ {+ text: ' And',+ startMs: 0,+ endMs: 600,+ timestampMs: 230,+ confidence: null,+ },+ {+ text: ' here',+ startMs: 600,+ endMs: 720,+ timestampMs: 660,+ confidence: null,+ },+ {+ text: ' you',+ startMs: 720,+ endMs: 840,+ timestampMs: 780,+ confidence: null,+ },+ {+ text: ' can',+ startMs: 840,+ endMs: 1020,+ timestampMs: 930,+ confidence: null,+ },+ {+ text: ' also',+ startMs: 1020,+ endMs: 1280,+ timestampMs: 1150,+ confidence: null,+ },+ {+ text: ' see',+ startMs: 1280,+ endMs: 1520,+ timestampMs: 1400,+ confidence: null,+ },+ {+ text: ' very',+ startMs: 1520,+ endMs: 1780,+ timestampMs: 1650,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' well',+ startMs: 1780,+ endMs: 2040,+ timestampMs: 1910,+ confidence: null,+ },+ {+ text: ' that',+ startMs: 2040,+ endMs: 2860,+ timestampMs: 2450,+ confidence: null,+ },+ {+ text: ' it',+ startMs: 2860,+ endMs: 3100,+ timestampMs: 2980,+ confidence: null,+ },+ {+ text: ' rolls',+ startMs: 3100,+ endMs: 3620,+ timestampMs: 3360,+ confidence: null,+ },+ {+ text: ' on',+ startMs: 3620,+ endMs: 3840,+ timestampMs: 3730,+ confidence: null,+ },+ {+ text: ' one',+ startMs: 3840,+ endMs: 4160,+ timestampMs: 4000,+ confidence: null,+ },+ {+ text: ' side,',+ startMs: 4160,+ endMs: 4780,+ timestampMs: 4470,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' but',+ startMs: 4840,+ endMs: 5000,+ timestampMs: 4920,+ confidence: null,+ },+ {+ text: ' then',+ startMs: 5120,+ endMs: 5360,+ timestampMs: 5240,+ confidence: null,+ },+ {+ text: '...',+ startMs: 5360,+ endMs: 5380,+ timestampMs: 5370,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' It',+ startMs: 5680,+ endMs: 5900,+ timestampMs: 5790,+ confidence: null,+ },+ {+ text: " doesn't?",+ startMs: 5900,+ endMs: 6420,+ timestampMs: 6160,+ confidence: null,+ },+ {+ text: ' Oh,',+ startMs: 6660,+ endMs: 7540,+ timestampMs: 7100,+ confidence: null,+ },+ {+ text: ' wow.',+ startMs: 7540,+ endMs: 7620,+ timestampMs: 7580,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' Oh,',+ startMs: 7940,+ endMs: 8320,+ timestampMs: 8130,+ confidence: null,+ },+ {+ text: ' wow.',+ startMs: 8440,+ endMs: 8500,+ timestampMs: 8580,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' This',+ startMs: 8820,+ endMs: 9220,+ timestampMs: 9020,+ confidence: null,+ },+ {+ text: ' is',+ startMs: 9220,+ endMs: 9340,+ timestampMs: 9280,+ confidence: null,+ },+ {+ text: ' cool.',+ startMs: 9340,+ endMs: 10000,+ timestampMs: 9670,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' Locked in on the other side.',+ startMs: 10000,+ endMs: 10850,+ timestampMs: 10425,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' So',+ startMs: 10850,+ endMs: 11200,+ timestampMs: 11025,+ confidence: null,+ },+ {+ text: ' you',+ startMs: 11200,+ endMs: 11480,+ timestampMs: 11340,+ confidence: null,+ },+ {+ text: ' can',+ startMs: 11480,+ endMs: 12320,+ timestampMs: 11900,+ confidence: null,+ },+ {+ text: ' really',+ startMs: 12320,+ endMs: 12700,+ timestampMs: 12510,+ confidence: null,+ },+ {+ text: ' easily',+ startMs: 12700,+ endMs: 12960,+ timestampMs: 12830,+ confidence: null,+ },+ {+ text: ' go',+ startMs: 12960,+ endMs: 13160,+ timestampMs: 13060,+ confidence: null,+ },+ {+ text: ' up',+ startMs: 13160,+ endMs: 13300,+ timestampMs: 13230,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' a',+ startMs: 13300,+ endMs: 13460,+ timestampMs: 13380,+ confidence: null,+ },+ {+ text: ' hill.',+ startMs: 13460,+ endMs: 14860,+ timestampMs: 14160,+ confidence: null,+ pageBreakAfter: true,+ },+ ]}+ italicRangesMs={[[5680, 10000]]}+ width={1400}+ style={{position: 'absolute', left: 260, bottom: 90}}+ />+ </Series.Sequence>+ <Series.Sequence+ name="People look at me weird"+ durationInFrames={6.7 * FPS}+ premountFor={fps}+ >+ <Video+ src={rollerSkiAsset('footage/IMG_0459.MOV')}+ trimBefore={38 * FPS}+ style={{...videoStyle, rotate: '180deg'}}+ objectFit="cover"+ premountFor={fps}+ effects={[lut({content: outdoorLut})]}+ />+ <BasicCaptions+ name="People look at me weird captions"+ captions={[+ {+ text: 'One thing I have to tell you, though,',+ startMs: 260,+ endMs: 1560,+ timestampMs: 910,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' is that all the people are looking a bit weird.',+ startMs: 1560,+ endMs: 6660,+ timestampMs: 4110,+ confidence: null,+ pageBreakAfter: true,+ },+ ]}+ width={1400}+ style={{position: 'absolute', left: 260, bottom: 90}}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Cows react"+ durationInFrames={6.7 * FPS}+ premountFor={fps}+ >+ <Video+ src={rollerSkiAsset('footage/IMG_0460.MOV')}+ muted+ style={videoStyle}+ objectFit="cover"+ premountFor={fps}+ durationInFrames={220}+ effects={[lut({content: outdoorLut})]}+ />+ <Audio+ src={rollerSkiAsset('footage/IMG_0459.MOV')}+ trimBefore={58 * FPS}+ durationInFrames={184}+ />+ <BasicCaptions+ name="Cows react captions"+ captions={[+ {+ text: 'I feel like even the cows...',+ startMs: 480,+ endMs: 1700,+ timestampMs: 1090,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: " they're looking a bit skeptical at me.",+ startMs: 3640,+ endMs: 6540,+ timestampMs: 5090,+ confidence: null,+ pageBreakAfter: true,+ },+ ]}+ width={1400}+ style={{position: 'absolute', left: 260, bottom: 90}}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Why roller skiing"+ durationInFrames={57 * FPS}+ premountFor={fps}+ trimBefore={23}+ >+ <Video+ src={rollerSkiAsset('footage/webcam1790843470902.mp4')}+ trimBefore={30}+ style={videoStyle}+ objectFit="cover"+ premountFor={fps}+ effects={[lut({content: studioLut})]}+ />+ <Sequence+ name="Hackathon half-marathon b-roll"+ from={7.2 * FPS}+ durationInFrames={9 * FPS}+ premountFor={fps}+ >+ <Video+ src={rollerSkiAsset('footage/jonny-hackathon-half-marathon.mp4')}+ muted+ style={videoStyle}+ objectFit="cover"+ premountFor={fps}+ />+ <div+ style={{+ position: 'absolute',+ top: 52,+ left: 64,+ maxWidth: 900,+ padding: '18px 24px',+ borderRadius: 10,+ backgroundColor: 'rgba(12, 18, 22, 0.82)',+ color: 'white',+ fontFamily: 'Arial, Helvetica, sans-serif',+ boxShadow: '0 8px 30px rgba(0, 0, 0, 0.24)',+ display: 'flex',+ alignItems: 'center',+ gap: 16,+ }}+ >+ <WhiteYouTubeIcon />+ <div>+ <div style={{fontSize: 27, fontWeight: 700, lineHeight: 1.2}}>+ Jonny Burger+ </div>+ <div style={{fontSize: 23, lineHeight: 1.25, marginTop: 5}}>+ Winning Europe's biggest hackathon+ </div>+ </div>+ </div>+ </Sequence>+ <Sequence+ name="SkiErg demonstration b-roll"+ from={24.2 * FPS}+ durationInFrames={5.5 * FPS}+ premountFor={fps}+ >+ <Video+ src={rollerSkiAsset('footage/skierg-hwpo-broll.mp4')}+ muted+ style={videoStyle}+ objectFit="cover"+ premountFor={fps}+ />+ <div+ style={{+ position: 'absolute',+ top: 52,+ left: 64,+ maxWidth: 900,+ padding: '18px 24px',+ borderRadius: 10,+ backgroundColor: 'rgba(12, 18, 22, 0.82)',+ color: 'white',+ fontFamily: 'Arial, Helvetica, sans-serif',+ boxShadow: '0 8px 30px rgba(0, 0, 0, 0.24)',+ display: 'flex',+ alignItems: 'center',+ gap: 16,+ }}+ >+ <WhiteYouTubeIcon />+ <div>+ <div style={{fontSize: 27, fontWeight: 700, lineHeight: 1.2}}>+ Mat Fraser | HWPO+ </div>+ <div style={{fontSize: 23, lineHeight: 1.25, marginTop: 5}}>+ What is the SkiErg? Tips & Tricks for HYROX+ </div>+ </div>+ </div>+ </Sequence>+ <BasicCaptions+ name="Why roller skiing captions"+ captions={[+ {+ text: 'Okay,',+ startMs: 1020,+ endMs: 1100,+ timestampMs: 1060,+ confidence: null,+ },+ {+ text: ' so',+ startMs: 1220,+ endMs: 1360,+ timestampMs: 1290,+ confidence: null,+ },+ {+ text: ' the',+ startMs: 1360,+ endMs: 1640,+ timestampMs: 1500,+ confidence: null,+ },+ {+ text: ' actual',+ startMs: 1640,+ endMs: 1880,+ timestampMs: 1760,+ confidence: null,+ },+ {+ text: ' reason',+ startMs: 1880,+ endMs: 2160,+ timestampMs: 2020,+ confidence: null,+ },+ {+ text: ' why',+ startMs: 2160,+ endMs: 2280,+ timestampMs: 2220,+ confidence: null,+ },+ {+ text: ' I',+ startMs: 2280,+ endMs: 2440,+ timestampMs: 2360,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' want',+ startMs: 2440,+ endMs: 2540,+ timestampMs: 2490,+ confidence: null,+ },+ {+ text: ' to',+ startMs: 2540,+ endMs: 2700,+ timestampMs: 2620,+ confidence: null,+ },+ {+ text: ' get',+ startMs: 2700,+ endMs: 3060,+ timestampMs: 2880,+ confidence: null,+ },+ {+ text: ' into',+ startMs: 3060,+ endMs: 3360,+ timestampMs: 3210,+ confidence: null,+ },+ {+ text: ' roller',+ startMs: 3360,+ endMs: 3660,+ timestampMs: 3510,+ confidence: null,+ },+ {+ text: ' skiing',+ startMs: 3660,+ endMs: 4020,+ timestampMs: 3840,+ confidence: null,+ },+ {+ text: ' is',+ startMs: 4020,+ endMs: 5160,+ timestampMs: 4590,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' that',+ startMs: 5160,+ endMs: 6700,+ timestampMs: 5930,+ confidence: null,+ },+ {+ text: ' essentially',+ startMs: 6700,+ endMs: 7180,+ timestampMs: 6940,+ confidence: null,+ },+ {+ text: ' I',+ startMs: 7180,+ endMs: 7380,+ timestampMs: 7280,+ confidence: null,+ },+ {+ text: ' would',+ startMs: 7380,+ endMs: 7520,+ timestampMs: 7450,+ confidence: null,+ },+ {+ text: ' actually',+ startMs: 7920,+ endMs: 8340,+ timestampMs: 8130,+ confidence: null,+ },+ {+ text: ' prefer',+ startMs: 8340,+ endMs: 8680,+ timestampMs: 8510,+ confidence: null,+ },+ {+ text: ' to',+ startMs: 8680,+ endMs: 9160,+ timestampMs: 8920,+ confidence: null,+ pageBreakAfter: false,+ },+ {+ text: ' run,',+ startMs: 9160,+ endMs: 9400,+ timestampMs: 9280,+ confidence: null,+ },+ {+ text: ' but',+ startMs: 9540,+ endMs: 9780,+ timestampMs: 9660,+ confidence: null,+ },+ {+ text: ' my',+ startMs: 9780,+ endMs: 10080,+ timestampMs: 9930,+ confidence: null,+ },+ {+ text: ' heel',+ startMs: 10080,+ endMs: 10420,+ timestampMs: 10250,+ confidence: null,+ },+ {+ text: ' is',+ startMs: 10420,+ endMs: 11280,+ timestampMs: 10850,+ confidence: null,+ },+ {+ text: ' hurting',+ startMs: 11280,+ endMs: 11660,+ timestampMs: 11470,+ confidence: null,+ },+ {+ text: ' a',+ startMs: 11660,+ endMs: 11920,+ timestampMs: 11790,+ confidence: null,+ pageBreakAfter: false,+ },+ {+ text: ' bit.',+ startMs: 11920,+ endMs: 12660,+ timestampMs: 12290,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' And',+ startMs: 12720,+ endMs: 12840,+ timestampMs: 12780,+ confidence: null,+ },+ {+ text: ' so',+ startMs: 12840,+ endMs: 12940,+ timestampMs: 12890,+ confidence: null,+ },+ {+ text: " I'm",+ startMs: 12940,+ endMs: 13160,+ timestampMs: 13050,+ confidence: null,+ },+ {+ text: ' looking',+ startMs: 13160,+ endMs: 13480,+ timestampMs: 13320,+ confidence: null,+ },+ {+ text: ' for',+ startMs: 13480,+ endMs: 14020,+ timestampMs: 13750,+ confidence: null,+ },+ {+ text: ' another',+ startMs: 14020,+ endMs: 14580,+ timestampMs: 14300,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' sport',+ startMs: 14580,+ endMs: 15180,+ timestampMs: 14880,+ confidence: null,+ },+ {+ text: ' that',+ startMs: 15180,+ endMs: 16600,+ timestampMs: 15890,+ confidence: null,+ },+ {+ text: ' has',+ startMs: 16600,+ endMs: 16980,+ timestampMs: 16790,+ confidence: null,+ },+ {+ text: ' at',+ startMs: 16980,+ endMs: 17100,+ timestampMs: 17040,+ confidence: null,+ },+ {+ text: ' least',+ startMs: 17100,+ endMs: 17280,+ timestampMs: 17190,+ confidence: null,+ },+ {+ text: ' a',+ startMs: 17280,+ endMs: 17420,+ timestampMs: 17350,+ confidence: null,+ },+ {+ text: ' bit',+ startMs: 17420,+ endMs: 17560,+ timestampMs: 17490,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' of',+ startMs: 17560,+ endMs: 18200,+ timestampMs: 17880,+ confidence: null,+ },+ {+ text: ' intensity.',+ startMs: 18200,+ endMs: 19740,+ timestampMs: 18970,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' And',+ startMs: 20980,+ endMs: 21720,+ timestampMs: 21350,+ confidence: null,+ },+ {+ text: ' in',+ startMs: 21720,+ endMs: 22100,+ timestampMs: 21910,+ confidence: null,+ },+ {+ text: ' the',+ startMs: 22100,+ endMs: 22660,+ timestampMs: 22380,+ confidence: null,+ },+ {+ text: ' gym,',+ startMs: 22660,+ endMs: 22980,+ timestampMs: 22820,+ confidence: null,+ },+ {+ text: " there's",+ startMs: 23160,+ endMs: 23440,+ timestampMs: 23300,+ confidence: null,+ },+ {+ text: ' this',+ startMs: 23440,+ endMs: 23640,+ timestampMs: 23540,+ confidence: null,+ },+ {+ text: ' cool',+ startMs: 23660,+ endMs: 23960,+ timestampMs: 23810,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' machine',+ startMs: 23960,+ endMs: 24260,+ timestampMs: 24110,+ confidence: null,+ },+ {+ text: ' called',+ startMs: 24260,+ endMs: 24560,+ timestampMs: 24410,+ confidence: null,+ },+ {+ text: ' the',+ startMs: 24560,+ endMs: 24780,+ timestampMs: 24670,+ confidence: null,+ },+ {+ text: ' SkiErg.',+ startMs: 24780,+ endMs: 25600,+ timestampMs: 25190,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: " It's",+ startMs: 26160,+ endMs: 26660,+ timestampMs: 26410,+ confidence: null,+ },+ {+ text: ' also',+ startMs: 26660,+ endMs: 27320,+ timestampMs: 26990,+ confidence: null,+ },+ {+ text: ' one',+ startMs: 27320,+ endMs: 27540,+ timestampMs: 27430,+ confidence: null,+ },+ {+ text: ' of',+ startMs: 27540,+ endMs: 28300,+ timestampMs: 27920,+ confidence: null,+ },+ {+ text: ' the',+ startMs: 28300,+ endMs: 29380,+ timestampMs: 28840,+ confidence: null,+ },+ {+ text: ' disciplines',+ startMs: 29380,+ endMs: 29740,+ timestampMs: 29560,+ confidence: null,+ },+ {+ text: ' in',+ startMs: 29740,+ endMs: 29920,+ timestampMs: 29830,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' HYROX',+ startMs: 29920,+ endMs: 30440,+ timestampMs: 30180,+ confidence: null,+ },+ {+ text: ' which',+ startMs: 30440,+ endMs: 30660,+ timestampMs: 30550,+ confidence: null,+ },+ {+ text: ' I',+ startMs: 30660,+ endMs: 30820,+ timestampMs: 30740,+ confidence: null,+ },+ {+ text: ' will',+ startMs: 30820,+ endMs: 31100,+ timestampMs: 30960,+ confidence: null,+ },+ {+ text: ' be',+ startMs: 31100,+ endMs: 31960,+ timestampMs: 31530,+ confidence: null,+ },+ {+ text: ' participating',+ startMs: 31960,+ endMs: 32580,+ timestampMs: 32270,+ confidence: null,+ },+ {+ text: ' in',+ startMs: 32580,+ endMs: 33220,+ timestampMs: 32900,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' in',+ startMs: 33220,+ endMs: 34080,+ timestampMs: 33650,+ confidence: null,+ },+ {+ text: ' February.',+ startMs: 34080,+ endMs: 34720,+ timestampMs: 34400,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' And',+ startMs: 35020,+ endMs: 35200,+ timestampMs: 35110,+ confidence: null,+ },+ {+ text: ' now',+ startMs: 35200,+ endMs: 35360,+ timestampMs: 35280,+ confidence: null,+ },+ {+ text: " I'm",+ startMs: 35360,+ endMs: 35520,+ timestampMs: 35440,+ confidence: null,+ },+ {+ text: ' not',+ startMs: 35520,+ endMs: 35720,+ timestampMs: 35620,+ confidence: null,+ },+ {+ text: ' gonna',+ startMs: 35720,+ endMs: 36040,+ timestampMs: 35880,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' put',+ startMs: 36040,+ endMs: 36500,+ timestampMs: 36270,+ confidence: null,+ },+ {+ text: ' any',+ startMs: 36500,+ endMs: 37120,+ timestampMs: 36810,+ confidence: null,+ },+ {+ text: ' AI',+ startMs: 37120,+ endMs: 37420,+ timestampMs: 37270,+ confidence: null,+ },+ {+ text: ' tattoos',+ startMs: 37420,+ endMs: 37880,+ timestampMs: 37650,+ confidence: null,+ },+ {+ text: ' on',+ startMs: 37880,+ endMs: 38040,+ timestampMs: 37960,+ confidence: null,+ },+ {+ text: ' my',+ startMs: 38040,+ endMs: 38460,+ timestampMs: 38250,+ confidence: null,+ },+ {+ text: ' body.',+ startMs: 38460,+ endMs: 38920,+ timestampMs: 38690,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: " Don't",+ startMs: 39780,+ endMs: 40120,+ timestampMs: 39950,+ confidence: null,+ },+ {+ text: ' worry.',+ startMs: 40120,+ endMs: 40680,+ timestampMs: 40400,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' Anyway,',+ startMs: 42340,+ endMs: 42520,+ timestampMs: 42430,+ confidence: null,+ },+ {+ text: ' this',+ startMs: 42840,+ endMs: 43000,+ timestampMs: 42920,+ confidence: null,+ },+ {+ text: ' is',+ startMs: 43000,+ endMs: 43260,+ timestampMs: 43130,+ confidence: null,+ },+ {+ text: ' cool',+ startMs: 43260,+ endMs: 43700,+ timestampMs: 43480,+ confidence: null,+ },+ {+ text: ' but',+ startMs: 43700,+ endMs: 43940,+ timestampMs: 43820,+ confidence: null,+ },+ {+ text: ' it',+ startMs: 43940,+ endMs: 44120,+ timestampMs: 44030,+ confidence: null,+ },+ {+ text: ' is',+ startMs: 44120,+ endMs: 44640,+ timestampMs: 44380,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' inside',+ startMs: 44640,+ endMs: 44880,+ timestampMs: 44760,+ confidence: null,+ },+ {+ text: ' and',+ startMs: 44880,+ endMs: 45220,+ timestampMs: 45050,+ confidence: null,+ },+ {+ text: ' therefore',+ startMs: 45220,+ endMs: 45480,+ timestampMs: 45350,+ confidence: null,+ },+ {+ text: ' it',+ startMs: 45480,+ endMs: 45580,+ timestampMs: 45530,+ confidence: null,+ },+ {+ text: ' is',+ startMs: 45580,+ endMs: 45780,+ timestampMs: 45680,+ confidence: null,+ },+ {+ text: ' pretty',+ startMs: 45780,+ endMs: 46080,+ timestampMs: 45930,+ confidence: null,+ },+ {+ text: ' boring',+ startMs: 46080,+ endMs: 46120,+ timestampMs: 46100,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' and',+ startMs: 47360,+ endMs: 48700,+ timestampMs: 48030,+ confidence: null,+ },+ {+ text: ' roller',+ startMs: 48700,+ endMs: 48940,+ timestampMs: 48820,+ confidence: null,+ },+ {+ text: ' skis',+ startMs: 48940,+ endMs: 49480,+ timestampMs: 49210,+ confidence: null,+ },+ {+ text: ' are',+ startMs: 49480,+ endMs: 49860,+ timestampMs: 49670,+ confidence: null,+ },+ {+ text: ' essentially',+ startMs: 49860,+ endMs: 50600,+ timestampMs: 50230,+ confidence: null,+ },+ {+ text: ' the',+ startMs: 50600,+ endMs: 51060,+ timestampMs: 50830,+ confidence: null,+ },+ {+ text: ' equivalent',+ startMs: 51060,+ endMs: 52280,+ timestampMs: 51670,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' of',+ startMs: 52280,+ endMs: 52640,+ timestampMs: 52460,+ confidence: null,+ },+ {+ text: ' a',+ startMs: 52640,+ endMs: 52900,+ timestampMs: 52770,+ confidence: null,+ },+ {+ text: ' SkiErg',+ startMs: 52900,+ endMs: 54220,+ timestampMs: 53560,+ confidence: null,+ },+ {+ text: ' but',+ startMs: 54220,+ endMs: 54880,+ timestampMs: 54550,+ confidence: null,+ },+ {+ text: ' outside',+ startMs: 54880,+ endMs: 55180,+ timestampMs: 55030,+ confidence: null,+ },+ {+ text: ' so',+ startMs: 55180,+ endMs: 55300,+ timestampMs: 55240,+ confidence: null,+ },+ {+ text: ' I',+ startMs: 55300,+ endMs: 55480,+ timestampMs: 55390,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' can',+ startMs: 55480,+ endMs: 55740,+ timestampMs: 55610,+ confidence: null,+ },+ {+ text: ' roll',+ startMs: 55740,+ endMs: 56040,+ timestampMs: 55890,+ confidence: null,+ },+ {+ text: ' around',+ startMs: 56080,+ endMs: 56240,+ timestampMs: 56160,+ confidence: null,+ },+ {+ text: ' in',+ startMs: 56260,+ endMs: 56620,+ timestampMs: 56440,+ confidence: null,+ },+ {+ text: ' beautiful',+ startMs: 56620,+ endMs: 56820,+ timestampMs: 56720,+ confidence: null,+ },+ {+ text: ' Switzerland',+ startMs: 56820,+ endMs: 58920,+ timestampMs: 57870,+ confidence: null,+ pageBreakAfter: true,+ },+ ]}+ width={1400}+ style={{position: 'absolute', left: 260, bottom: 90}}+ combineTokensWithinMilliseconds={4500}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Best commute footage"+ durationInFrames={444}+ premountFor={fps}+ >+ <Video+ src={rollerSkiAsset('footage/IMG_0463.MOV')}+ trimBefore={0}+ style={videoStyle}+ objectFit="cover"+ premountFor={fps}+ effects={[lut({content: outdoorLut})]}+ />+ <BasicCaptions+ name="Best commute footage captions"+ captions={[+ {+ text: 'Guys, out of all of the tech bros out there,',+ startMs: 1880,+ endMs: 4860,+ timestampMs: 3370,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: 'I do probably have the best commute, right?',+ startMs: 5880,+ endMs: 10100,+ timestampMs: 7990,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: 'Come on!',+ startMs: 10300,+ endMs: 11280,+ timestampMs: 10790,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: 'Chickens, cows,',+ startMs: 11600,+ endMs: 13480,+ timestampMs: 12540,+ confidence: null,+ pageBreakAfter: true,+ },+ ]}+ width={1400}+ style={{position: 'absolute', left: 260, bottom: 90}}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Approaching the crossing"+ durationInFrames={321}+ premountFor={fps}+ >+ <Video+ src={rollerSkiAsset('footage/IMG_0464.MOV')}+ trimBefore={1 * FPS}+ style={videoStyle}+ objectFit="cover"+ premountFor={fps}+ effects={[lut({content: outdoorLut})]}+ />+ <BasicCaptions+ name="Approaching the crossing captions"+ captions={[+ {+ text: 'Okay,',+ startMs: 220,+ endMs: 320,+ timestampMs: 270,+ confidence: null,+ },+ {+ text: " I'm",+ startMs: 400,+ endMs: 720,+ timestampMs: 560,+ confidence: null,+ },+ {+ text: ' standing',+ startMs: 720,+ endMs: 940,+ timestampMs: 830,+ confidence: null,+ },+ {+ text: ' on',+ startMs: 940,+ endMs: 1340,+ timestampMs: 1140,+ confidence: null,+ },+ {+ text: ' top',+ startMs: 1340,+ endMs: 1820,+ timestampMs: 1580,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' of',+ startMs: 1820,+ endMs: 2220,+ timestampMs: 2020,+ confidence: null,+ },+ {+ text: ' a',+ startMs: 2220,+ endMs: 3060,+ timestampMs: 2640,+ confidence: null,+ },+ {+ text: ' small',+ startMs: 3060,+ endMs: 3680,+ timestampMs: 3370,+ confidence: null,+ },+ {+ text: ' decline',+ startMs: 3680,+ endMs: 4000,+ timestampMs: 3840,+ confidence: null,+ },+ {+ text: ' and',+ startMs: 4000,+ endMs: 4160,+ timestampMs: 4080,+ confidence: null,+ },+ {+ text: ' it',+ startMs: 4160,+ endMs: 4340,+ timestampMs: 4250,+ confidence: null,+ },+ {+ text: ' goes',+ startMs: 4340,+ endMs: 4700,+ timestampMs: 4520,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' right',+ startMs: 4700,+ endMs: 4940,+ timestampMs: 4820,+ confidence: null,+ },+ {+ text: ' onto',+ startMs: 4940,+ endMs: 5120,+ timestampMs: 5030,+ confidence: null,+ },+ {+ text: ' the',+ startMs: 5120,+ endMs: 5440,+ timestampMs: 5280,+ confidence: null,+ },+ {+ text: ' street.',+ startMs: 5440,+ endMs: 6400,+ timestampMs: 5920,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' And',+ startMs: 6940,+ endMs: 7740,+ timestampMs: 7340,+ confidence: null,+ },+ {+ text: ' here',+ startMs: 7740,+ endMs: 8000,+ timestampMs: 7870,+ confidence: null,+ },+ {+ text: ' comes',+ startMs: 8000,+ endMs: 8340,+ timestampMs: 8170,+ confidence: null,+ },+ {+ text: ' one',+ startMs: 8340,+ endMs: 8520,+ timestampMs: 8430,+ confidence: null,+ },+ {+ text: ' of',+ startMs: 8520,+ endMs: 8700,+ timestampMs: 8610,+ confidence: null,+ },+ {+ text: ' the',+ startMs: 8700,+ endMs: 9180,+ timestampMs: 8940,+ confidence: null,+ },+ {+ text: ' problems',+ startMs: 9180,+ endMs: 9580,+ timestampMs: 9380,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' with',+ startMs: 9580,+ endMs: 9980,+ timestampMs: 9780,+ confidence: null,+ },+ {+ text: ' roller',+ startMs: 9980,+ endMs: 10280,+ timestampMs: 10130,+ confidence: null,+ },+ {+ text: ' skis.',+ startMs: 10280,+ endMs: 10520,+ timestampMs: 10400,+ confidence: null,+ pageBreakAfter: true,+ },+ ]}+ width={1400}+ style={{position: 'absolute', left: 260, bottom: 90}}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Mehmet considers the roller skis"+ durationInFrames={20.733333333333334 * FPS}+ premountFor={fps}+ trimBefore={71}+ >+ <Video+ src={rollerSkiAsset('footage/IMG_0475.MOV')}+ trimBefore={42 * FPS}+ style={videoStyle}+ objectFit="cover"+ premountFor={fps}+ effects={[lut({content: studioLut})]}+ />+ <BasicCaptions+ name="Mehmet conversation captions"+ captions={[+ {+ text: 'And Mehmet, would you try it?',+ startMs: 340,+ endMs: 4800,+ timestampMs: 2570,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: 'If you give me a one-on-one, then maybe I would.',+ startMs: 6500,+ endMs: 12400,+ timestampMs: 9450,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: 'But I would be scared, to be honest. It seems rather difficult.',+ startMs: 13300,+ endMs: 18400,+ timestampMs: 15850,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: 'Yes, there are no brakes.',+ startMs: 19740,+ endMs: 21200,+ timestampMs: 20470,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: 'Yeah, I see.',+ startMs: 21720,+ endMs: 23000,+ timestampMs: 22360,+ confidence: null,+ pageBreakAfter: true,+ },+ ]}+ italicRangesMs={[+ [6500, 18400],+ [21720, 23000],+ ]}+ width={1400}+ style={{position: 'absolute', left: 260, bottom: 90}}+ />+ </Series.Sequence>+ <Series.Sequence+ name="After the descent"+ durationInFrames={924}+ premountFor={fps}+ >+ <Video+ src={rollerSkiAsset('footage/IMG_0465.MOV')}+ trimBefore={0}+ style={videoStyle}+ objectFit="cover"+ premountFor={fps}+ effects={[lut({content: outdoorLut})]}+ />+ <BasicCaptions+ name="After the descent captions"+ captions={[+ {+ text: 'Okay,',+ startMs: 940,+ endMs: 1100,+ timestampMs: 1020,+ confidence: null,+ },+ {+ text: ' I',+ startMs: 1100,+ endMs: 1360,+ timestampMs: 1230,+ confidence: null,+ },+ {+ text: ' stopped',+ startMs: 1360,+ endMs: 1900,+ timestampMs: 1630,+ confidence: null,+ },+ {+ text: ' filming',+ startMs: 1900,+ endMs: 2320,+ timestampMs: 2110,+ confidence: null,+ },+ {+ text: ' right',+ startMs: 2320,+ endMs: 2620,+ timestampMs: 2470,+ confidence: null,+ },+ {+ text: ' there',+ startMs: 2620,+ endMs: 2980,+ timestampMs: 2800,+ confidence: null,+ },+ {+ text: ' because',+ startMs: 2980,+ endMs: 3400,+ timestampMs: 3190,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' a',+ startMs: 3400,+ endMs: 3460,+ timestampMs: 3430,+ confidence: null,+ },+ {+ text: ' group',+ startMs: 3460,+ endMs: 4040,+ timestampMs: 3750,+ confidence: null,+ },+ {+ text: ' of',+ startMs: 4040,+ endMs: 4040,+ timestampMs: 4040,+ confidence: null,+ },+ {+ text: ' kindergarten',+ startMs: 4040,+ endMs: 4520,+ timestampMs: 4280,+ confidence: null,+ },+ {+ text: ' kids',+ startMs: 4520,+ endMs: 5540,+ timestampMs: 5030,+ confidence: null,+ },+ {+ text: ' was',+ startMs: 5540,+ endMs: 5540,+ timestampMs: 5540,+ confidence: null,+ },+ {+ text: ' coming',+ startMs: 5940,+ endMs: 6300,+ timestampMs: 6120,+ confidence: null,+ },+ {+ text: ' towards',+ startMs: 6300,+ endMs: 6580,+ timestampMs: 6440,+ confidence: null,+ },+ {+ text: ' me',+ startMs: 6580,+ endMs: 6740,+ timestampMs: 6660,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' and',+ startMs: 6740,+ endMs: 6940,+ timestampMs: 6840,+ confidence: null,+ },+ {+ text: ' then',+ startMs: 6940,+ endMs: 7280,+ timestampMs: 7110,+ confidence: null,+ },+ {+ text: ' and',+ startMs: 7280,+ endMs: 7380,+ timestampMs: 7330,+ confidence: null,+ },+ {+ text: ' I',+ startMs: 7380,+ endMs: 7580,+ timestampMs: 7480,+ confidence: null,+ },+ {+ text: " didn't",+ startMs: 7580,+ endMs: 7780,+ timestampMs: 7680,+ confidence: null,+ },+ {+ text: ' want',+ startMs: 7780,+ endMs: 8080,+ timestampMs: 7930,+ confidence: null,+ },+ {+ text: ' to',+ startMs: 8080,+ endMs: 8920,+ timestampMs: 8500,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' film',+ startMs: 8920,+ endMs: 9200,+ timestampMs: 9060,+ confidence: null,+ },+ {+ text: ' with',+ startMs: 9200,+ endMs: 9420,+ timestampMs: 9310,+ confidence: null,+ },+ {+ text: ' them',+ startMs: 9420,+ endMs: 9600,+ timestampMs: 9510,+ confidence: null,+ },+ {+ text: ' being',+ startMs: 9600,+ endMs: 10000,+ timestampMs: 9800,+ confidence: null,+ },+ {+ text: ' around',+ startMs: 10000,+ endMs: 10260,+ timestampMs: 10130,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' and',+ startMs: 10260,+ endMs: 10320,+ timestampMs: 10290,+ confidence: null,+ },+ {+ text: ' talking',+ startMs: 10600,+ endMs: 10780,+ timestampMs: 10690,+ confidence: null,+ },+ {+ text: ' to',+ startMs: 10780,+ endMs: 10880,+ timestampMs: 10830,+ confidence: null,+ },+ {+ text: ' a',+ startMs: 10880,+ endMs: 11200,+ timestampMs: 11040,+ confidence: null,+ },+ {+ text: ' camera',+ startMs: 11200,+ endMs: 11400,+ timestampMs: 11300,+ confidence: null,+ },+ {+ text: ' while',+ startMs: 11400,+ endMs: 11640,+ timestampMs: 11520,+ confidence: null,+ },+ {+ text: ' being',+ startMs: 11640,+ endMs: 11840,+ timestampMs: 11740,+ confidence: null,+ },+ {+ text: ' on',+ startMs: 11840,+ endMs: 12120,+ timestampMs: 11980,+ confidence: null,+ },+ {+ text: ' roller',+ startMs: 12120,+ endMs: 12380,+ timestampMs: 12250,+ confidence: null,+ },+ {+ text: ' skis',+ startMs: 12380,+ endMs: 13280,+ timestampMs: 12830,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' and',+ startMs: 13280,+ endMs: 13640,+ timestampMs: 13460,+ confidence: null,+ },+ {+ text: ' falling',+ startMs: 13640,+ endMs: 14140,+ timestampMs: 13890,+ confidence: null,+ },+ {+ text: ' down',+ startMs: 14140,+ endMs: 16080,+ timestampMs: 15110,+ confidence: null,+ },+ {+ text: ' this',+ startMs: 16080,+ endMs: 16540,+ timestampMs: 16310,+ confidence: null,+ },+ {+ text: ' decline.',+ startMs: 16540,+ endMs: 17380,+ timestampMs: 16960,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' So',+ startMs: 18400,+ endMs: 18500,+ timestampMs: 18450,+ confidence: null,+ },+ {+ text: ' let',+ startMs: 18500,+ endMs: 18600,+ timestampMs: 18550,+ confidence: null,+ },+ {+ text: ' me',+ startMs: 18600,+ endMs: 18740,+ timestampMs: 18670,+ confidence: null,+ },+ {+ text: ' tell',+ startMs: 18740,+ endMs: 18820,+ timestampMs: 18780,+ confidence: null,+ },+ {+ text: ' you',+ startMs: 18820,+ endMs: 18960,+ timestampMs: 18890,+ confidence: null,+ },+ {+ text: ' how',+ startMs: 18960,+ endMs: 19080,+ timestampMs: 19020,+ confidence: null,+ },+ {+ text: ' it',+ startMs: 19080,+ endMs: 19200,+ timestampMs: 19140,+ confidence: null,+ },+ {+ text: ' went.',+ startMs: 19200,+ endMs: 19400,+ timestampMs: 19300,+ confidence: null,+ },+ {+ text: ' I',+ startMs: 19500,+ endMs: 19900,+ timestampMs: 19700,+ confidence: null,+ },+ {+ text: ' only',+ startMs: 19900,+ endMs: 20500,+ timestampMs: 20200,+ confidence: null,+ },+ {+ text: ' almost',+ startMs: 20500,+ endMs: 21020,+ timestampMs: 20760,+ confidence: null,+ },+ {+ text: ' fell',+ startMs: 21020,+ endMs: 21240,+ timestampMs: 21130,+ confidence: null,+ },+ {+ text: ' on',+ startMs: 21240,+ endMs: 21420,+ timestampMs: 21330,+ confidence: null,+ },+ {+ text: ' my',+ startMs: 21420,+ endMs: 21780,+ timestampMs: 21600,+ confidence: null,+ },+ {+ text: ' ass',+ startMs: 21780,+ endMs: 22800,+ timestampMs: 22290,+ confidence: null,+ },+ {+ text: ' but',+ startMs: 22800,+ endMs: 23100,+ timestampMs: 22950,+ confidence: null,+ },+ {+ text: ' I',+ startMs: 23100,+ endMs: 23480,+ timestampMs: 23290,+ confidence: null,+ },+ {+ text: ' managed',+ startMs: 23480,+ endMs: 23680,+ timestampMs: 23580,+ confidence: null,+ },+ {+ text: ' to',+ startMs: 23680,+ endMs: 23680,+ timestampMs: 23680,+ confidence: null,+ },+ {+ text: ' rescue',+ startMs: 24000,+ endMs: 24600,+ timestampMs: 24300,+ confidence: null,+ },+ {+ text: ' myself',+ startMs: 24600,+ endMs: 25460,+ timestampMs: 25030,+ confidence: null,+ },+ {+ text: ' in',+ startMs: 25460,+ endMs: 25560,+ timestampMs: 25510,+ confidence: null,+ },+ {+ text: ' the',+ startMs: 25560,+ endMs: 25740,+ timestampMs: 25650,+ confidence: null,+ },+ {+ text: ' last',+ startMs: 25740,+ endMs: 26060,+ timestampMs: 25900,+ confidence: null,+ },+ {+ text: ' second.',+ startMs: 26060,+ endMs: 26340,+ timestampMs: 26200,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: " Let's",+ startMs: 26500,+ endMs: 26780,+ timestampMs: 26640,+ confidence: null,+ },+ {+ text: ' go.',+ startMs: 26780,+ endMs: 27160,+ timestampMs: 26970,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' Because',+ startMs: 27460,+ endMs: 27660,+ timestampMs: 27560,+ confidence: null,+ },+ {+ text: ' last',+ startMs: 27660,+ endMs: 28000,+ timestampMs: 27830,+ confidence: null,+ },+ {+ text: ' time',+ startMs: 28000,+ endMs: 29220,+ timestampMs: 28610,+ confidence: null,+ },+ {+ text: ' it',+ startMs: 29220,+ endMs: 29480,+ timestampMs: 29350,+ confidence: null,+ },+ {+ text: ' went',+ startMs: 29480,+ endMs: 29760,+ timestampMs: 29620,+ confidence: null,+ },+ {+ text: ' way',+ startMs: 29760,+ endMs: 29960,+ timestampMs: 29860,+ confidence: null,+ },+ {+ text: ' more',+ startMs: 29960,+ endMs: 30300,+ timestampMs: 30130,+ confidence: null,+ },+ {+ text: ' poorly.',+ startMs: 30300,+ endMs: 30480,+ timestampMs: 30390,+ confidence: null,+ },+ ]}+ width={1400}+ style={{position: 'absolute', left: 260, bottom: 90}}+ combineTokensWithinMilliseconds={3500}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Arriving at Remotion"+ durationInFrames={230}+ premountFor={fps}+ >+ <Video+ src={rollerSkiAsset('footage/IMG_0473.MOV')}+ trimBefore={0}+ style={videoStyle}+ objectFit="cover"+ premountFor={fps}+ effects={[lut({content: outdoorLut})]}+ />+ <BasicCaptions+ name="Arriving at Remotion captions"+ captions={[+ {+ text: 'Here we are, baby!',+ startMs: 3960,+ endMs: 5000,+ timestampMs: 4480,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: 'Remotion headquarters.',+ startMs: 5840,+ endMs: 8000,+ timestampMs: 6920,+ confidence: null,+ pageBreakAfter: true,+ },+ ]}+ width={1400}+ style={{position: 'absolute', left: 260, bottom: 90}}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Remotion office exterior"+ durationInFrames={150}+ premountFor={fps}+ trimBefore={95}+ >+ <Video+ src={rollerSkiAsset('footage/IMG_0474.MOV')}+ trimBefore={0}+ style={videoStyle}+ objectFit="cover"+ premountFor={fps}+ effects={[lut({content: outdoorLut})]}+ />+ <BasicCaptions+ name="Remotion office exterior captions"+ captions={[+ {+ text: '',+ startMs: 2340,+ endMs: 3320,+ timestampMs: 2830,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: 'Mehmet is already working',+ startMs: 4420,+ endMs: 6658,+ timestampMs: 5539,+ confidence: null,+ pageBreakAfter: false,+ },+ {+ text: ' doing business!',+ startMs: 6658,+ endMs: 8000,+ timestampMs: 7329,+ confidence: null,+ pageBreakAfter: true,+ },+ ]}+ width={1400}+ style={{position: 'absolute', left: 260, bottom: 90}}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Closing thoughts"+ durationInFrames={798}+ premountFor={fps}+ >+ <Video+ src={rollerSkiAsset('footage/webcam1790859120255.mp4')}+ trimBefore={90}+ style={{+ ...videoStyle,+ transform: 'translateY(-55px) scale(1.12)',+ }}+ objectFit="cover"+ premountFor={fps}+ effects={[lut({content: studioLut})]}+ />+ <Sequence+ name="Four Strava rides b-roll"+ from={2 * FPS}+ durationInFrames={STRAVA_BROLL_DURATION}+ premountFor={fps}+ >+ <StravaRidesBroll />+ </Sequence>+ <BasicCaptions+ name="Closing thoughts captions"+ captions={closingThoughtsBeforeCaptions}+ width={1400}+ style={{position: 'absolute', left: 260, bottom: 90}}+ combineTokensWithinMilliseconds={3500}+ />+ </Series.Sequence>+ <Series.Sequence+ name="How to brake — demonstration"+ durationInFrames={1164}+ premountFor={fps}+ >+ <Video+ src={rollerSkiAsset('footage/IMG_0478.MOV')}+ trimBefore={95}+ style={videoStyle}+ objectFit="cover"+ premountFor={fps}+ effects={[lut({content: outdoorLut})]}+ />+ <BasicCaptions+ name="How to brake captions"+ captions={brakingDemonstrationCaptions}+ width={1400}+ style={{position: 'absolute', left: 260, bottom: 90}}+ />+ </Series.Sequence>+ <Series.Sequence+ name="How to brake — conclusion"+ durationInFrames={82}+ premountFor={fps}+ >+ <Video+ src={rollerSkiAsset('footage/IMG_0478.MOV')}+ trimBefore={1602}+ style={videoStyle}+ objectFit="cover"+ premountFor={fps}+ effects={[lut({content: outdoorLut})]}+ />+ <BasicCaptions+ name="How to brake conclusion captions"+ captions={brakingConclusionCaptions}+ width={1400}+ style={{position: 'absolute', left: 260, bottom: 90}}+ />+ </Series.Sequence>+ <Series.Sequence+ name="Closing thoughts (continued)"+ durationInFrames={1567}+ premountFor={fps}+ >+ <Video+ src={rollerSkiAsset('footage/webcam1790859120255.mp4')}+ trimBefore={899}+ style={{+ ...videoStyle,+ transform: 'translateY(-55px) scale(1.12)',+ }}+ objectFit="cover"+ premountFor={fps}+ effects={[lut({content: studioLut})]}+ />+ <BasicCaptions+ name="Closing thoughts continued captions"+ captions={closingThoughtsAfterCaptions}+ width={1400}+ style={{position: 'absolute', left: 260, bottom: 90}}+ combineTokensWithinMilliseconds={3500}+ />+ </Series.Sequence>+ <Series.Sequence name="Outro" durationInFrames={287} premountFor={fps}>+ <Video+ src={rollerSkiAsset('footage/webcam1790859310676.mp4')}+ trimBefore={30}+ style={videoStyle}+ objectFit="cover"+ premountFor={fps}+ effects={[lut({content: studioLut})]}+ />+ <BasicCaptions+ name="Outro captions"+ captions={[+ {+ text: 'Thank',+ startMs: 440,+ endMs: 580,+ timestampMs: 510,+ confidence: null,+ },+ {+ text: ' you',+ startMs: 580,+ endMs: 780,+ timestampMs: 680,+ confidence: null,+ },+ {+ text: ' for',+ startMs: 780,+ endMs: 1040,+ timestampMs: 910,+ confidence: null,+ },+ {+ text: ' sticking',+ startMs: 1040,+ endMs: 1300,+ timestampMs: 1170,+ confidence: null,+ },+ {+ text: ' to',+ startMs: 1300,+ endMs: 1420,+ timestampMs: 1360,+ confidence: null,+ },+ {+ text: ' the',+ startMs: 1420,+ endMs: 1560,+ timestampMs: 1490,+ confidence: null,+ },+ {+ text: ' end',+ startMs: 1560,+ endMs: 1720,+ timestampMs: 1640,+ confidence: null,+ },+ {+ text: ' and',+ startMs: 1720,+ endMs: 2180,+ timestampMs: 1950,+ confidence: null,+ },+ {+ text: ' actually',+ startMs: 2180,+ endMs: 2500,+ timestampMs: 2340,+ confidence: null,+ },+ {+ text: ' watching',+ startMs: 2500,+ endMs: 2800,+ timestampMs: 2650,+ confidence: null,+ },+ {+ text: ' a',+ startMs: 2800,+ endMs: 3140,+ timestampMs: 2970,+ confidence: null,+ },+ {+ text: ' random',+ startMs: 3140,+ endMs: 3440,+ timestampMs: 3290,+ confidence: null,+ },+ {+ text: ' video',+ startMs: 3440,+ endMs: 3800,+ timestampMs: 3620,+ confidence: null,+ },+ {+ text: ' about',+ startMs: 3800,+ endMs: 4120,+ timestampMs: 3960,+ confidence: null,+ },+ {+ text: ' roller',+ startMs: 4120,+ endMs: 4440,+ timestampMs: 4280,+ confidence: null,+ },+ {+ text: ' skis.',+ startMs: 4440,+ endMs: 5080,+ timestampMs: 4760,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' I',+ startMs: 5360,+ endMs: 5700,+ timestampMs: 5530,+ confidence: null,+ },+ {+ text: ' really',+ startMs: 5700,+ endMs: 5940,+ timestampMs: 5820,+ confidence: null,+ },+ {+ text: ' really',+ startMs: 5940,+ endMs: 6540,+ timestampMs: 6240,+ confidence: null,+ },+ {+ text: ' appreciate',+ startMs: 6540,+ endMs: 6960,+ timestampMs: 6750,+ confidence: null,+ },+ {+ text: ' you',+ startMs: 6960,+ endMs: 7560,+ timestampMs: 7260,+ confidence: null,+ },+ {+ text: ' for',+ startMs: 7560,+ endMs: 7800,+ timestampMs: 7680,+ confidence: null,+ },+ {+ text: ' doing',+ startMs: 7800,+ endMs: 8180,+ timestampMs: 7990,+ confidence: null,+ },+ {+ text: ' that.',+ startMs: 8180,+ endMs: 8640,+ timestampMs: 8410,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' Cheers!',+ startMs: 8800,+ endMs: 9120,+ timestampMs: 8960,+ confidence: null,+ pageBreakAfter: true,+ },+ ]}+ width={1400}+ style={{position: 'absolute', left: 260, bottom: 90}}+ />+ </Series.Sequence>+ </Series>+ <Sequence+ name="Jonny Burger YouTube end card"+ from={END_CARD_START}+ durationInFrames={END_CARD_DURATION_IN_FRAMES}+ premountFor={fps}+ >+ <AbsoluteFill+ style={{+ translate: interpolate(+ frame,+ [12115, 12139],+ ['1920px 0px', '0px 0px'],+ {+ easing: [Easing.bezier(0.22, 1, 0.36, 1)],+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ ),+ }}+ >+ <YouTubeEndCard />+ </AbsoluteFill>+ </Sequence>+ <Audio+ name="No School Today music"+ src={rollerSkiAsset('audio/no-school-today-femme-tov.wav')}+ from={2212}+ durationInFrames={450}+ premountFor={fps}+ volume={(audioFrame) =>+ interpolate(+ audioFrame,+ [0, 12, 48, 78, 390, 414, 449],+ [0, 0.22, 0.22, 0.5, 0.5, 0.26, 0],+ {extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},+ )+ }+ />+ <Audio+ name="No School Today music (end card)"+ src={rollerSkiAsset('audio/no-school-today-femme-tov.wav')}+ from={END_CARD_START + 20}+ durationInFrames={END_CARD_DURATION_IN_FRAMES}+ premountFor={fps}+ volume={(audioFrame) =>+ interpolate(+ audioFrame,+ [0, 12, 10 * FPS, END_CARD_DURATION_IN_FRAMES - 1],+ [0, 0.2, 0.2, 0],+ {extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},+ )+ }+ />+ </>+ );+};diff --git a/packages/jonnys-videos/src/roller-skis/IntroLowerThird.tsx b/packages/jonnys-videos/src/roller-skis/IntroLowerThird.tsxnew file mode 100644index 0000000000..dc0b097f86--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis/IntroLowerThird.tsx@@ -0,0 +1,114 @@+import type React from 'react';+import {+ Easing,+ Interactive,+ interpolate,+ useCurrentFrame,+ type InteractivitySchema,+} from 'remotion';++type IntroLowerThirdProps = {+ readonly nameText: string;+ readonly roleText: string;+ readonly style?: React.CSSProperties;+};++const IntroLowerThirdContent: React.FC<IntroLowerThirdProps> = ({+ nameText,+ roleText,+ style,+}) => {+ const frame = useCurrentFrame();++ return (+ <Interactive.Div+ name="Presenter card"+ style={{+ position: 'absolute',+ left: 70,+ top: 70,+ backgroundColor: 'white',+ fontFamily: 'GT Planar, Arial, Helvetica, sans-serif',+ fontFeatureSettings: "'ss03' 1",+ padding: '24px 44px',+ borderRadius: 18,+ boxShadow: '0 0 30px rgba(0, 0, 0, 0.1)',+ translate: interpolate(+ frame,+ [0, 8, 31, 84, 107],+ [+ '-600px -300px',+ '-600px -300px',+ '0px 0px',+ '0px 0px',+ '-600px -300px',+ ],+ {+ easing: [+ Easing.linear,+ Easing.spring({damping: 200}),+ Easing.linear,+ Easing.spring({damping: 200}),+ ],+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ ),+ rotate: interpolate(+ frame,+ [0, 8, 31, 84, 107],+ ['-5.4deg', '-5.4deg', '0deg', '0deg', '-5.4deg'],+ {+ easing: [+ Easing.linear,+ Easing.spring({damping: 200}),+ Easing.linear,+ Easing.spring({damping: 200}),+ ],+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ ),+ ...style,+ }}+ >+ <Interactive.Div+ name="Presenter name"+ style={{fontSize: 50, fontWeight: 700, color: '#111'}}+ >+ {nameText}+ </Interactive.Div>+ <Interactive.Div+ name="Presenter role"+ style={{+ fontSize: 36,+ fontWeight: 400,+ marginTop: 8,+ color: '#4290f5',+ }}+ >+ {roleText}+ </Interactive.Div>+ </Interactive.Div>+ );+};++const lowerThirdSchema = {+ nameText: {+ type: 'text-content',+ default: 'Jonny Burger',+ description: 'Name',+ },+ roleText: {+ type: 'text-content',+ default: 'Roller Ski Enthusiast',+ description: 'Role',+ },+} as const satisfies InteractivitySchema;++export const IntroLowerThird = Interactive.withSchema({+ Component: IntroLowerThirdContent,+ componentName: '<IntroLowerThird>',+ schema: lowerThirdSchema,+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/roller-skis/Root.tsx b/packages/jonnys-videos/src/roller-skis/Root.tsxnew file mode 100644index 0000000000..e7b410a0df--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis/Root.tsx@@ -0,0 +1,50 @@+import {Composition, Still} from 'remotion';+import {RollerSkiBlueprintCompositions} from './blueprint/RollerSkiBlueprint';+import {CommuteMotionGraphic} from './CommuteMotionGraphic';+import {MyComposition} from './Composition';+import {IntroLowerThird} from './IntroLowerThird';+import {NordicRoutes} from './nordic/NordicRoutes';+import {Thumbnail} from './Thumbnail';++export const RemotionRoot: React.FC = () => {+ return (+ <>+ <MyComposition />+ <Composition+ id="NordicRoutes"+ component={NordicRoutes}+ durationInFrames={180}+ fps={30}+ width={1920}+ height={1080}+ />+ <Composition+ id="CommuteMotionGraphic"+ component={CommuteMotionGraphic}+ durationInFrames={245}+ fps={30}+ width={1920}+ height={1080}+ />+ <Composition+ id="IntroLowerThird"+ component={IntroLowerThird}+ durationInFrames={108}+ fps={30}+ width={1920}+ height={1080}+ defaultProps={{+ nameText: 'Jonny Burger',+ roleText: 'Roller Ski Enthusiast',+ }}+ />+ <RollerSkiBlueprintCompositions />+ <Still+ id="RollerSkiThumbnail"+ component={Thumbnail}+ width={1920}+ height={1080}+ />+ </>+ );+};diff --git a/packages/jonnys-videos/src/roller-skis/Thumbnail.tsx b/packages/jonnys-videos/src/roller-skis/Thumbnail.tsxnew file mode 100644index 0000000000..9c1eeb61e4--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis/Thumbnail.tsx@@ -0,0 +1,61 @@+import {AbsoluteFill, CanvasImage, Interactive} from 'remotion';+import {rollerSkiAsset} from './assets';++export const Thumbnail: React.FC = () => {+ return (+ <>+ <AbsoluteFill+ style={{+ translate: '-91.1px 0px',+ }}+ >+ <div+ style={{+ position: 'absolute',+ left: 0,+ top: 0,+ width: 960,+ height: 1080,+ overflow: 'hidden',+ }}+ ></div>++ <div+ style={{+ position: 'absolute',+ left: 960,+ top: 0,+ width: 960,+ height: 1080,+ overflow: 'hidden',+ }}+ >+ <CanvasImage+ src={rollerSkiAsset('images/thumbnail-selfie.png')}+ style={{+ position: 'absolute',+ left: -135,+ top: 0,+ width: 1920,+ height: 1080,+ scale: 1.186,+ translate: '-66.5px -75.7px',+ }}+ />+ </div>++ <Interactive.Div+ style={{+ position: 'absolute',+ left: 954,+ top: 0,+ width: 12,+ height: 1080,+ backgroundColor: '#FFFFFF',+ translate: '-127.7px 0px',+ }}+ />+ </AbsoluteFill>+ </>+ );+};diff --git a/packages/jonnys-videos/src/roller-skis/YouTubeEndCard.tsx b/packages/jonnys-videos/src/roller-skis/YouTubeEndCard.tsxnew file mode 100644index 0000000000..3eb08498c6--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis/YouTubeEndCard.tsx@@ -0,0 +1,339 @@+// Adapted from https://www.remotion.dev/elements/youtube/youtube-end-card/+import {fontFamily, loadFont} from '@remotion/google-fonts/Inter';+import React from 'react';+import {+ AbsoluteFill,+ Easing,+ Img,+ Interactive,+ interpolate,+ spring,+ useCurrentFrame,+ useVideoConfig,+} from 'remotion';+import {rollerSkiAsset} from './assets';++loadFont('normal', {+ weights: ['500'],+});++const LinkedInIcon: React.FC<{height: number}> = ({height}) => {+ return (+ <Interactive.Svg+ name="LinkedIn icon"+ height={height}+ viewBox="0 0 448 512"+ style={{translate: '0 -4px'}}+ >+ <path+ fill="currentColor"+ d="M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"+ />+ </Interactive.Svg>+ );+};++const XIcon: React.FC<{height: number}> = ({height}) => {+ return (+ <Interactive.Svg name="X icon" height={height} viewBox="0 0 512 512">+ <path+ fill="currentColor"+ d="M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"+ />+ </Interactive.Svg>+ );+};++const LinkIcon: React.FC<{height: number}> = ({height}) => {+ return (+ <Interactive.Svg name="Website icon" height={height} viewBox="0 0 640 512">+ <path+ fill="currentColor"+ d="M580.2 267.3c56.2-56.2 56.2-147.4 0-203.6S432.8 7.4 376.6 63.7L365.3 75l45.3 45.3 11.3-11.3c31.2-31.2 81.9-31.2 113.1 0s31.2 81.9 0 113.1L421.8 335.2c-31.2 31.2-81.9 31.2-113.1 0c-25.6-25.6-30.3-64.3-13.8-94.6c1.8-3.4 3.9-6.7 6.3-9.8l-51.2-38.4c-4.3 5.7-8.1 11.6-11.4 17.8c-29.5 54.6-21.3 124.2 24.9 170.3c56.2 56.2 147.4 56.2 203.6 0L580.2 267.3zM59.8 244.7c-56.2 56.2-56.2 147.4 0 203.6s147.4 56.2 203.6 0L274.7 437l-45.3-45.3-11.3 11.3c-31.2 31.2-81.9 31.2-113.1 0s-31.2-81.9 0-113.1L218.2 176.8c31.2-31.2 81.9-31.2 113.1 0c25.6 25.6 30.3 64.3 13.8 94.6c-1.8 3.4-3.9 6.7-6.3 9.8l51.2 38.4c4.3-5.7 8.1-11.6 11.4-17.8c29.5-54.6 21.3-124.2-24.9-170.3c-56.2-56.2-147.4-56.2-203.6 0L59.8 244.7z"+ />+ </Interactive.Svg>+ );+};++const YouTubeIcon: React.FC<{height: number}> = ({height}) => {+ return (+ <Interactive.Svg name="YouTube icon" height={height} viewBox="0 0 48 34">+ <path+ fill="currentColor"+ fillRule="evenodd"+ d="M10 0H38C43.5 0 48 4.5 48 10V24C48 29.5 43.5 34 38 34H10C4.5 34 0 29.5 0 24V10C0 4.5 4.5 0 10 0ZM20 9V25L34 17 20 9Z"+ />+ </Interactive.Svg>+ );+};++const SocialLink: React.FC<{+ children: React.ReactNode;+ icon: React.ReactNode;+ indexFromLast: number;+}> = ({children, icon, indexFromLast}) => {+ const frame = useCurrentFrame();++ return (+ <div+ style={{+ display: 'flex',+ flexDirection: 'row',+ alignItems: 'center',+ paddingTop: 20,+ paddingBottom: 20,+ opacity: interpolate(+ frame,+ [+ 35 + ((indexFromLast - 1) / 4) * (30 - 15),+ 50 + ((indexFromLast - 1) / 4) * (30 - 15),+ ],+ [0, 1],+ {+ easing: Easing.spring({damping: 200}),+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ ),+ }}+ >+ <div+ style={{+ display: 'flex',+ alignItems: 'center',+ justifyContent: 'center',+ height: 60,+ width: 140,+ translate: '0 4px',+ }}+ >+ {icon}+ </div>+ <div style={{width: 30}} />+ {children}+ </div>+ );+};++const WebsiteRow = () => {+ const {fps} = useVideoConfig();+ const frame = useCurrentFrame();+ const opacity = spring({+ fps,+ frame,+ config: {+ damping: 200,+ },+ delay: 35,+ durationInFrames: 15,+ });++ return (+ <>+ <div style={{height: 80}} />+ <Interactive.Div+ name="Website row"+ style={{+ display: 'flex',+ flexDirection: 'row',+ alignItems: 'center',+ paddingTop: 20,+ paddingBottom: 20,+ opacity,+ }}+ >+ <div+ style={{+ display: 'flex',+ alignItems: 'center',+ justifyContent: 'center',+ height: 60,+ width: 140,+ translate: '0 4px',+ }}+ >+ <LinkIcon height={60} />+ </div>+ <div style={{width: 30}} />+ <Interactive.Div+ name="Website"+ style={{+ fontSize: 50,+ fontFamily,+ fontWeight: 500,+ marginLeft: 20,+ }}+ >+ youtube.com/@JonnyBurger+ </Interactive.Div>+ </Interactive.Div>+ </>+ );+};++const SubscribeButton = () => {+ return (+ <Interactive.Div+ style={{+ height: 140,+ borderRadius: 70,+ width: 400,+ backgroundColor: 'black',+ color: 'white',+ display: 'flex',+ justifyContent: 'center',+ alignItems: 'center',+ fontSize: 50,+ fontFamily,+ fontWeight: 500,+ }}+ name="Subscribe button"+ >+ Subscribe+ </Interactive.Div>+ );+};++const Avatar = () => {+ return (+ <Img+ style={{+ height: 140,+ width: 140,+ borderRadius: '50%',+ boxShadow: '0px 0px 20px rgba(0, 0, 0, 0.2)',+ }}+ src={rollerSkiAsset('images/jonny-youtube-avatar.jpg')}+ />+ );+};++const SubscribeCTA = () => {+ return (+ <div style={{display: 'inline-flex', alignItems: 'center'}}>+ <Avatar />+ <div style={{width: 30}} />+ <SubscribeButton />+ </div>+ );+};++const LeftSide = () => {+ const frame = useCurrentFrame();++ return (+ <Interactive.Div+ style={{+ display: 'flex',+ position: 'absolute',+ height: '100%',+ flexDirection: 'column',+ left: 80,+ justifyContent: 'center',+ }}+ showInTimeline={false}+ >+ <Interactive.Div+ name={'Call to action'}+ style={{+ display: 'inline-block',+ translate: interpolate(frame, [-77, -47], ['0px 281px', '0px 0px'], {+ easing: [+ Easing.spring({+ damping: 200,+ mass: 1,+ stiffness: 100,+ overshootClamping: false,+ }),+ ],+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ }}+ >+ <SubscribeCTA />+ </Interactive.Div>+ <div style={{marginTop: 80}}>+ <Interactive.Div name="YouTube row">+ <SocialLink icon={<YouTubeIcon height={70} />} indexFromLast={4}>+ <Interactive.Div+ name="YouTube handle"+ style={{+ fontSize: 50,+ fontFamily,+ fontWeight: 500,+ marginLeft: 20,+ }}+ >+ @JonnyBurger+ </Interactive.Div>+ </SocialLink>+ </Interactive.Div>+ <Interactive.Div name="LinkedIn row">+ <SocialLink icon={<LinkedInIcon height={60} />} indexFromLast={3}>+ <Interactive.Div+ name="LinkedIn handle"+ style={{+ fontSize: 50,+ fontFamily,+ fontWeight: 500,+ marginLeft: 20,+ }}+ >+ Jonny Burger+ </Interactive.Div>+ </SocialLink>+ </Interactive.Div>+ <Interactive.Div name="X row">+ <SocialLink icon={<XIcon height={60} />} indexFromLast={2}>+ <Interactive.Div+ name="X handle"+ style={{+ fontSize: 50,+ fontFamily,+ fontWeight: 500,+ marginLeft: 20,+ }}+ >+ @JNYBGR+ </Interactive.Div>+ </SocialLink>+ </Interactive.Div>+ <WebsiteRow />+ </div>+ </Interactive.Div>+ );+};++export const YouTubeEndCard = () => {+ return (+ <AbsoluteFill+ style={{backgroundColor: '#FAFAFA', color: 'black'}}+ name="Container"+ >+ <LeftSide />+ <Interactive.Div+ name="Top thumbnail"+ style={{+ position: 'absolute',+ top: 135,+ right: 100,+ width: 631,+ height: 361,+ border: '6px solid black',+ }}+ />+ <Interactive.Div+ name="Bottom thumbnail"+ style={{+ position: 'absolute',+ right: 100,+ bottom: 155,+ width: 631,+ height: 361,+ border: '6px solid black',+ }}+ />+ </AbsoluteFill>+ );+};diff --git a/packages/jonnys-videos/src/roller-skis/assets.ts b/packages/jonnys-videos/src/roller-skis/assets.tsnew file mode 100644index 0000000000..407fe79bb7--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis/assets.ts@@ -0,0 +1,3 @@+const ASSET_BASE_URL = 'https://remotion.media/jonnys-videos/roller-skis/';++export const rollerSkiAsset = (path: string) => `${ASSET_BASE_URL}${path}`;diff --git a/packages/jonnys-videos/src/roller-skis/basic-captions.tsx b/packages/jonnys-videos/src/roller-skis/basic-captions.tsxnew file mode 100644index 0000000000..06844d9597--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis/basic-captions.tsx@@ -0,0 +1,110 @@+import type {Caption} from '@remotion/captions';+import {createTikTokStyleCaptions} from '@remotion/captions';+import React, {useMemo} from 'react';+import {+ Interactive,+ useCurrentFrame,+ useVideoConfig,+ type InteractiveTransformProps,+ type InteractivitySchema,+ type SequenceProps,+} from 'remotion';++type BasicCaptionsProps = InteractiveTransformProps &+ Pick<SequenceProps, 'width'> & {+ readonly captions: Caption[];+ readonly combineTokensWithinMilliseconds?: number;+ readonly italicRangesMs?: ReadonlyArray<readonly [number, number]>;+ };++const defaultCombineTokensWithinMilliseconds = 2000;+const defaultWidth = 900;++const basicCaptionsSchema = {+ ...Interactive.captionsSchema,+ width: {+ type: 'number',+ min: 1,+ step: 1,+ default: undefined,+ description: 'Caption area width',+ hiddenFromList: false,+ },+ combineTokensWithinMilliseconds: {+ type: 'number',+ min: 0,+ step: 50,+ default: defaultCombineTokensWithinMilliseconds,+ description: 'Time between caption pages',+ hiddenFromList: false,+ },+} as const satisfies InteractivitySchema;++const BasicCaptionsContent: React.FC<BasicCaptionsProps> = ({+ captions,+ combineTokensWithinMilliseconds = defaultCombineTokensWithinMilliseconds,+ italicRangesMs = [],+ style,+ width = defaultWidth,+}) => {+ const frame = useCurrentFrame();+ const {fps} = useVideoConfig();+ const pages = useMemo(+ () =>+ createTikTokStyleCaptions({+ captions,+ combineTokensWithinMilliseconds,+ }).pages,+ [captions, combineTokensWithinMilliseconds],+ );+ const currentTimeMs = (frame / fps) * 1000;+ const page = pages.find(+ (candidate) =>+ currentTimeMs >= candidate.startMs &&+ currentTimeMs < candidate.startMs + candidate.durationMs,+ );+ const isItalic = page+ ? italicRangesMs.some(+ ([startMs, endMs]) => page.startMs >= startMs && page.startMs < endMs,+ )+ : false;++ return (+ <div+ style={{+ alignItems: 'center',+ display: 'flex',+ justifyContent: 'center',+ width,+ ...style,+ }}+ >+ {page ? (+ <div+ style={{+ backgroundColor: 'rgba(64, 64, 64, 0.75)',+ color: '#ffffff',+ fontFamily: 'Arial, Helvetica, sans-serif',+ fontStyle: isItalic ? 'italic' : 'normal',+ fontSize: 64,+ fontWeight: 400,+ lineHeight: 1.2,+ padding: '14px 22px',+ textAlign: 'center',+ textWrap: 'balance',+ whiteSpace: 'pre-wrap',+ }}+ >+ {page.text.trim()}+ </div>+ ) : null}+ </div>+ );+};++export const BasicCaptions = Interactive.withSchema({+ Component: BasicCaptionsContent,+ componentName: '<BasicCaptions>',+ schema: basicCaptionsSchema,+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/roller-skis/blueprint/BlueprintStage.tsx b/packages/jonnys-videos/src/roller-skis/blueprint/BlueprintStage.tsxnew file mode 100644index 0000000000..1a1900e642--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis/blueprint/BlueprintStage.tsx@@ -0,0 +1,93 @@+import type React from 'react';+import {useLayoutEffect, useRef} from 'react';+import {+ Interactive,+ type InteractivitySchema,+ useCurrentFrame,+ useRemotionEnvironment,+ useVideoConfig,+} from 'remotion';+import {BlueprintRenderer} from './renderer';++type BlueprintStageProps = {+ readonly lineColor: string;+ readonly lineWidth: number;+ readonly occluderColor?: string;+ readonly stillTimeSeconds?: number;+ readonly style?: React.CSSProperties;+};++const BlueprintStageInner: React.FC<BlueprintStageProps> = ({+ lineColor,+ lineWidth,+ occluderColor,+ stillTimeSeconds,+ style,+}) => {+ const frame = useCurrentFrame();+ const {fps, width, height} = useVideoConfig();+ const {isRendering} = useRemotionEnvironment();+ const container = useRef<HTMLDivElement>(null);+ const renderer = useRef<BlueprintRenderer | null>(null);+ // Match `--scale` when rendering; the Studio preview stays at 1x.+ const pixelRatio = isRendering ? window.devicePixelRatio : 1;++ // Each mount gets its own canvas, so a remount never reuses a lost context.+ useLayoutEffect(() => {+ const canvas = document.createElement('canvas');+ canvas.style.width = '100%';+ canvas.style.height = '100%';+ canvas.style.display = 'block';+ container.current?.appendChild(canvas);+ renderer.current = new BlueprintRenderer(canvas, width, height, pixelRatio);+ return () => {+ renderer.current?.dispose();+ renderer.current = null;+ canvas.remove();+ };+ }, [width, height, pixelRatio]);++ useLayoutEffect(() => {+ renderer.current?.setStyle(lineColor, lineWidth, occluderColor);+ renderer.current?.draw(stillTimeSeconds ?? frame / fps);+ }, [+ frame,+ fps,+ lineColor,+ lineWidth,+ occluderColor,+ stillTimeSeconds,+ width,+ height,+ pixelRatio,+ ]);++ return (+ <div ref={container} style={{position: 'absolute', inset: 0, ...style}} />+ );+};++const blueprintStageSchema = {+ lineColor: {type: 'color', default: '#1F4FD8', description: 'Line color'},+ lineWidth: {+ type: 'number',+ default: 1.6,+ min: 0.5,+ max: 6,+ step: 0.1,+ description: 'Line width (px)',+ hiddenFromList: false,+ },+ occluderColor: {+ type: 'color',+ default: '#FFFFFF',+ description: 'Color of hidden-line surfaces',+ },+} as const satisfies InteractivitySchema;++export const BlueprintStage = Interactive.withSchema({+ Component: BlueprintStageInner,+ componentName: '<BlueprintStage>',+ schema: blueprintStageSchema,+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/roller-skis/blueprint/CodeCard.tsx b/packages/jonnys-videos/src/roller-skis/blueprint/CodeCard.tsxnew file mode 100644index 0000000000..6a975b4784--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis/blueprint/CodeCard.tsx@@ -0,0 +1,159 @@+import {loadFont} from '@remotion/google-fonts/JetBrainsMono';+import type React from 'react';+import {+ Interactive,+ type InteractivitySchema,+ useCurrentFrame,+ useVideoConfig,+} from 'remotion';++const {fontFamily} = loadFont('normal', {+ weights: ['700'],+ subsets: ['latin'],+});++// JetBrains Mono advances every glyph by 0.6 em.+const ADVANCE = 0.6;++type CodeCardProps = {+ readonly header: string;+ readonly line1: string;+ readonly line2: string;+ readonly line3: string;+ readonly line4: string;+ readonly typeSeconds: number;+ readonly color: string;+ readonly tint: string;+ readonly fontSize: number;+ readonly lineSpacing: number;+ readonly style?: React.CSSProperties;+};++/** A code-comment info block that types on with a block cursor. */+const CodeCardInner: React.FC<CodeCardProps> = ({+ header,+ line1,+ line2,+ line3,+ line4,+ typeSeconds,+ color,+ tint,+ fontSize,+ lineSpacing,+ style,+}) => {+ const frame = useCurrentFrame();+ const {fps} = useVideoConfig();+ const t = frame / fps;+ const lines = [header, line1, line2, line3, line4];+ const total = lines.reduce((sum, line) => sum + line.length, 0);+ const typed = Math.floor(Math.max(0, Math.min(1, t / typeSeconds)) * total);++ let remaining = typed;+ let active = lines.length - 1;+ let activeChars = lines[active].length;+ for (let i = 0; i < lines.length; i++) {+ if (remaining < lines[i].length) {+ active = i;+ activeChars = remaining;+ break;+ }+ remaining -= lines[i].length;+ }+ const done = typed >= total;+ const cursorVisible = !done || Math.floor((t - typeSeconds) * 2) % 2 === 0;+ const cursorHeight = fontSize * 1.09;++ let before = 0;+ return (+ <div+ style={{+ position: 'absolute',+ fontFamily,+ fontWeight: 700,+ fontSize,+ lineHeight: `${lineSpacing}px`,+ color,+ whiteSpace: 'pre',+ fontVariantLigatures: 'none',+ ...style,+ }}+ >+ {lines.map((line, i) => {+ const shown = Math.max(0, Math.min(line.length, typed - before));+ before += line.length;+ const text = line.slice(0, shown);+ const numbered = i > 0 && /^\d\d/.test(line);+ return (+ <div key={i} style={{height: lineSpacing}}>+ {numbered ? (+ <>+ <span style={{color: tint}}>{text.slice(0, 2)}</span>+ {text.slice(2)}+ </>+ ) : (+ text+ )}+ </div>+ );+ })}+ <div+ style={{+ position: 'absolute',+ left: activeChars * fontSize * ADVANCE + 2,+ top: active * lineSpacing + (lineSpacing - cursorHeight) / 2,+ width: fontSize * 0.565,+ height: cursorHeight,+ backgroundColor: color,+ opacity: cursorVisible ? 1 : 0,+ }}+ />+ </div>+ );+};++const codeCardSchema = {+ header: {+ type: 'text-content',+ default: '// ski.system',+ description: 'Header',+ },+ line1: {type: 'text-content', default: '', description: 'Line 01'},+ line2: {type: 'text-content', default: '', description: 'Line 02'},+ line3: {type: 'text-content', default: '', description: 'Line 03'},+ line4: {type: 'text-content', default: '', description: 'Line 04'},+ typeSeconds: {+ type: 'number',+ default: 1.5,+ min: 0.1,+ step: 0.05,+ description: 'Typing duration (s)',+ hiddenFromList: false,+ },+ color: {type: 'color', default: '#1F4FD8', description: 'Text color'},+ tint: {type: 'color', default: '#91A9EC', description: 'Line number tint'},+ fontSize: {+ type: 'number',+ default: 23,+ min: 8,+ step: 1,+ description: 'Font size',+ hiddenFromList: false,+ },+ lineSpacing: {+ type: 'number',+ default: 42,+ min: 10,+ step: 1,+ description: 'Line spacing',+ hiddenFromList: false,+ },+} as const satisfies InteractivitySchema;++export const CodeCard = Interactive.withSchema({+ Component: CodeCardInner,+ componentName: '<CodeCard>',+ schema: codeCardSchema,+ wrapInSequence: true,+});diff --git a/packages/jonnys-videos/src/roller-skis/blueprint/LICENSE-soundtrack.txt b/packages/jonnys-videos/src/roller-skis/blueprint/LICENSE-soundtrack.txtnew file mode 100644index 0000000000..ee5de38826--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis/blueprint/LICENSE-soundtrack.txt@@ -0,0 +1,24 @@+soundtrack.wav is an edit of the score from the "leica-m6-blueprint" project in+https://github.com/diffusionstudio/open-projects, used under the MIT License:++MIT License++Copyright (c) 2026 Diffusion Studio Inc.++Permission is hereby granted, free of charge, to any person obtaining a copy+of this software and associated documentation files (the "Software"), to deal+in the Software without restriction, including without limitation the rights+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+copies of the Software, and to permit persons to whom the Software is+furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in all+copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.diff --git a/packages/jonnys-videos/src/roller-skis/blueprint/RollerSkiBlueprint.tsx b/packages/jonnys-videos/src/roller-skis/blueprint/RollerSkiBlueprint.tsxnew file mode 100644index 0000000000..85032fe302--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis/blueprint/RollerSkiBlueprint.tsx@@ -0,0 +1,127 @@+import {Audio} from '@remotion/media';+import {+ AbsoluteFill,+ Composition,+ Folder,+ Interactive,+ useVideoConfig,+} from 'remotion';+import {rollerSkiAsset} from '../assets';+import {BlueprintStage} from './BlueprintStage';+import {CodeCard} from './CodeCard';++// Timing follows src/blueprint/timeline.ts: drop and whip-in at frame 255,+// cuts on the beat of the 113 BPM score.+export const RollerSkiBlueprint: React.FC = () => {+ const {fps} = useVideoConfig();++ return (+ <AbsoluteFill style={{backgroundColor: '#FFFFFF'}}>+ <Audio+ name="Score · drop at 8.5 s"+ src={rollerSkiAsset('blueprint/soundtrack.wav')}+ volume={0.8}+ />+ <Audio+ name="Whoosh · elevations in"+ src={rollerSkiAsset('blueprint/whoosh-in.wav')}+ from={252}+ volume={0.45}+ premountFor={fps}+ />+ <Audio+ name="Whoosh · elevations out"+ src={rollerSkiAsset('blueprint/whoosh-out.wav')}+ from={354}+ volume={0.35}+ premountFor={fps}+ />+ <Audio+ name="Ratchet · pawl ticks and lock"+ src={rollerSkiAsset('blueprint/ratchet.wav')}+ from={366}+ volume={0.7}+ premountFor={fps}+ />+ <Audio+ name="Whoosh · hero in"+ src={rollerSkiAsset('blueprint/whoosh-hero.wav')}+ from={456}+ volume={0.5}+ premountFor={fps}+ />+ <BlueprintStage+ name="3D model · hidden-line render"+ durationInFrames={525}+ premountFor={fps}+ lineColor="#1F4FD8"+ lineWidth={1.6}+ />+ <Interactive.Div+ name="Title"+ from={255}+ durationInFrames={270}+ premountFor={fps}+ style={{+ position: 'absolute',+ zIndex: 1,+ left: 112,+ top: 866,+ fontFamily: 'JetBrains Mono',+ fontSize: 98,+ fontWeight: 700,+ lineHeight: 1.2,+ color: '#1F4FD8',+ whiteSpace: 'pre',+ }}+ >+ {'> ROLLER SKI'}+ </Interactive.Div>+ </AbsoluteFill>+ );+};++export const RollerSkiBlueprintCompositions: React.FC = () => {+ return (+ <Folder name="Roller-Ski-Blueprint">+ <Composition+ id="RollerSkiBlueprint"+ component={RollerSkiBlueprint}+ durationInFrames={525}+ fps={30}+ width={1920}+ height={1080}+ />+ <Composition+ id="BlueprintStage"+ component={BlueprintStage}+ durationInFrames={525}+ fps={30}+ width={1920}+ height={1080}+ defaultProps={{lineColor: '#1F4FD8', lineWidth: 1.6}}+ />+ <Composition+ id="BlueprintCodeCard"+ component={CodeCard}+ durationInFrames={71}+ fps={30}+ width={1920}+ height={1080}+ defaultProps={{+ header: '// ski.system',+ line1: '01 // Swix Roadline Classic, built for classic technique.',+ line2: '02 // 790 mm long, 725 mm from axle to axle.',+ line3: '03 // Hollow aluminum U-frame, lowered center of gravity.',+ line4: '04 // Pre-drilled for Rottefella and SNS/Prolink bindings.',+ typeSeconds: 1.55,+ color: '#1F4FD8',+ tint: '#91A9EC',+ fontSize: 23,+ lineSpacing: 42,+ style: {left: 1010, top: 150},+ }}+ />+ </Folder>+ );+};diff --git a/packages/jonnys-videos/src/roller-skis/blueprint/line-art.ts b/packages/jonnys-videos/src/roller-skis/blueprint/line-art.tsnew file mode 100644index 0000000000..0e4689d436--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis/blueprint/line-art.ts@@ -0,0 +1,297 @@+import {+ BufferGeometry,+ Camera,+ Color,+ DoubleSide,+ InstancedInterleavedBuffer,+ InterleavedBufferAttribute,+ Matrix4,+ Mesh,+ MeshBasicMaterial,+ Object3D,+ Vector2,+ Vector3,+} from 'three';+import {LineMaterial} from 'three/examples/jsm/lines/LineMaterial.js';+import {LineSegments2} from 'three/examples/jsm/lines/LineSegments2.js';+import {LineSegmentsGeometry} from 'three/examples/jsm/lines/LineSegmentsGeometry.js';++// Edges between faces bending more than this are always drawn.+const CREASE_COS = Math.cos(0.55);+const COPLANAR_COS = 0.999999;++type EdgeData = {+ readonly count: number;+ // Per edge: endpoints a, b (6 floats) and the normals of both faces (6 floats).+ readonly positions: Float32Array;+ readonly normals: Float32Array;+ readonly crease: Uint8Array;+};++type EdgeModel = {+ readonly mesh: Mesh;+ readonly data: EdgeData;+ readonly geometry: LineSegmentsGeometry;+ readonly buffer: InstancedInterleavedBuffer;+ readonly out: Float32Array;+};++const extractEdges = (geometry: BufferGeometry): EdgeData => {+ const position = geometry.attributes.position;+ const index = geometry.index;+ const vertexCount = position.count;+ const ids = new Int32Array(vertexCount);+ const welded = new Map<string, number>();+ const verts: number[] = [];+ for (let i = 0; i < vertexCount; i++) {+ const x = position.getX(i);+ const y = position.getY(i);+ const z = position.getZ(i);+ const key = `${Math.round(x * 1000)},${Math.round(y * 1000)},${Math.round(z * 1000)}`;+ let id = welded.get(key);+ if (id === undefined) {+ id = verts.length / 3;+ welded.set(key, id);+ verts.push(x, y, z);+ }+ ids[i] = id;+ }++ const unique = verts.length / 3;+ const edgeIndex = new Map<number, number>();+ const ends: number[] = [];+ const normals: number[] = [];+ const faces: number[] = [];+ const triangles = (index ? index.count : vertexCount) / 3;+ for (let t = 0; t < triangles; t++) {+ const tri = [0, 1, 2].map(+ (j) => ids[index ? index.getX(t * 3 + j) : t * 3 + j],+ );+ const [a, b, c] = tri;+ const ux = verts[b * 3] - verts[a * 3];+ const uy = verts[b * 3 + 1] - verts[a * 3 + 1];+ const uz = verts[b * 3 + 2] - verts[a * 3 + 2];+ const vx = verts[c * 3] - verts[a * 3];+ const vy = verts[c * 3 + 1] - verts[a * 3 + 1];+ const vz = verts[c * 3 + 2] - verts[a * 3 + 2];+ let nx = uy * vz - uz * vy;+ let ny = uz * vx - ux * vz;+ let nz = ux * vy - uy * vx;+ const length = Math.hypot(nx, ny, nz);+ if (length < 1e-9) continue;+ nx /= length;+ ny /= length;+ nz /= length;+ for (let j = 0; j < 3; j++) {+ const p = tri[j];+ const q = tri[(j + 1) % 3];+ if (p === q) continue;+ const key = Math.min(p, q) * unique + Math.max(p, q);+ const existing = edgeIndex.get(key);+ if (existing === undefined) {+ edgeIndex.set(key, faces.length);+ ends.push(p, q);+ normals.push(nx, ny, nz, nx, ny, nz);+ faces.push(1);+ } else {+ if (faces[existing] === 1) {+ normals[existing * 6 + 3] = nx;+ normals[existing * 6 + 4] = ny;+ normals[existing * 6 + 5] = nz;+ }+ faces[existing]++;+ }+ }+ }++ const keep: number[] = [];+ for (let e = 0; e < faces.length; e++) {+ const dot =+ normals[e * 6] * normals[e * 6 + 3] ++ normals[e * 6 + 1] * normals[e * 6 + 4] ++ normals[e * 6 + 2] * normals[e * 6 + 5];+ if (faces[e] !== 2 || dot < COPLANAR_COS) keep.push(e);+ }+ const count = keep.length;+ const outPositions = new Float32Array(count * 6);+ const outNormals = new Float32Array(count * 6);+ const crease = new Uint8Array(count);+ keep.forEach((e, k) => {+ const p = ends[e * 2];+ const q = ends[e * 2 + 1];+ outPositions.set(+ [+ verts[p * 3],+ verts[p * 3 + 1],+ verts[p * 3 + 2],+ verts[q * 3],+ verts[q * 3 + 1],+ verts[q * 3 + 2],+ ],+ k * 6,+ );+ outNormals.set(normals.slice(e * 6, e * 6 + 6), k * 6);+ const dot =+ normals[e * 6] * normals[e * 6 + 3] ++ normals[e * 6 + 1] * normals[e * 6 + 4] ++ normals[e * 6 + 2] * normals[e * 6 + 5];+ crease[k] = faces[e] !== 2 || dot < CREASE_COS ? 1 : 0;+ });+ return {count, positions: outPositions, normals: outNormals, crease};+};++const isShown = (object: Object3D) => {+ let current: Object3D | null = object;+ while (current) {+ if (!current.visible) return false;+ current = current.parent;+ }+ return true;+};++/**+ * Hidden-line drawing kit. Every mesh is a white, depth-writing occluder; its+ * lines are the crease edges plus whichever edges sit on the silhouette from+ * the current viewpoint, so perspective, occlusion and parallax always come+ * from the geometry itself.+ */+export class LineArt {+ readonly faces = new MeshBasicMaterial({+ color: 0xffffff,+ side: DoubleSide,+ polygonOffset: true,+ polygonOffsetFactor: 1,+ polygonOffsetUnits: 1,+ });++ readonly lines: LineMaterial;++ private readonly models: EdgeModel[] = [];+ private readonly cache = new WeakMap<BufferGeometry, EdgeData>();+ private readonly inverse = new Matrix4();+ private readonly cameraPosition = new Vector3();+ private readonly cameraDirection = new Vector3();+ private readonly local = new Vector3();++ constructor(width: number, height: number) {+ this.lines = new LineMaterial({+ color: 0x1f4fd8,+ linewidth: 1.6,+ worldUnits: false,+ resolution: new Vector2(width, height),+ });+ this.lines.side = DoubleSide;+ }++ setStyle(color: string, width: number, occluderColor = '#FFFFFF') {+ this.lines.color = new Color(color);+ this.lines.linewidth = width;+ this.faces.color = new Color(occluderColor);+ }++ add(+ parent: Object3D,+ geometry: BufferGeometry,+ name: string,+ x = 0,+ y = 0,+ z = 0,+ ) {+ const mesh = new Mesh(geometry, this.faces);+ mesh.name = name;+ mesh.position.set(x, y, z);+ parent.add(mesh);++ let data = this.cache.get(geometry);+ if (!data) {+ data = extractEdges(geometry);+ this.cache.set(geometry, data);+ }+ const out = new Float32Array(Math.max(6, data.count * 6));+ const lineGeometry = new LineSegmentsGeometry();+ lineGeometry.setPositions(out);+ lineGeometry.instanceCount = 0;+ const buffer = (+ lineGeometry.attributes.instanceStart as InterleavedBufferAttribute+ ).data as InstancedInterleavedBuffer;+ const line = new LineSegments2(lineGeometry, this.lines);+ line.frustumCulled = false;+ line.renderOrder = 2;+ mesh.add(line);+ this.models.push({mesh, data, geometry: lineGeometry, buffer, out});+ return mesh;+ }++ /** Re-pick the silhouette edges of every visible mesh for `camera`. */+ update(camera: Camera) {+ camera.updateMatrixWorld();+ this.cameraPosition.setFromMatrixPosition(camera.matrixWorld);+ camera.getWorldDirection(this.cameraDirection);+ const ortho =+ (camera as {isOrthographicCamera?: boolean}).isOrthographicCamera ===+ true;++ for (const model of this.models) {+ if (!isShown(model.mesh)) continue;+ this.inverse.copy(model.mesh.matrixWorld).invert();+ let vx: number;+ let vy: number;+ let vz: number;+ if (ortho) {+ this.local+ .copy(this.cameraDirection)+ .transformDirection(this.inverse)+ .negate();+ } else {+ this.local.copy(this.cameraPosition).applyMatrix4(this.inverse);+ }+ const {count, positions, normals, crease} = model.data;+ const out = model.out;+ let k = 0;+ for (let e = 0; e < count; e++) {+ const o = e * 6;+ let show = crease[e] === 1;+ if (!show) {+ if (ortho) {+ vx = this.local.x;+ vy = this.local.y;+ vz = this.local.z;+ } else {+ vx = this.local.x - positions[o];+ vy = this.local.y - positions[o + 1];+ vz = this.local.z - positions[o + 2];+ }+ const s0 =+ normals[o] * vx + normals[o + 1] * vy + normals[o + 2] * vz;+ const s1 =+ normals[o + 3] * vx + normals[o + 4] * vy + normals[o + 5] * vz;+ show = s0 >= 0 !== s1 >= 0;+ }+ if (show) {+ out[k] = positions[o];+ out[k + 1] = positions[o + 1];+ out[k + 2] = positions[o + 2];+ out[k + 3] = positions[o + 3];+ out[k + 4] = positions[o + 4];+ out[k + 5] = positions[o + 5];+ k += 6;+ }+ }+ model.buffer.clearUpdateRanges();+ model.buffer.addUpdateRange(0, Math.max(6, k));+ model.buffer.needsUpdate = true;+ model.geometry.instanceCount = k / 6;+ }+ }++ dispose() {+ const geometries = new Set<BufferGeometry>();+ for (const model of this.models) {+ geometries.add(model.mesh.geometry);+ model.geometry.dispose();+ }+ geometries.forEach((g) => g.dispose());+ this.faces.dispose();+ this.lines.dispose();+ }+}diff --git a/packages/jonnys-videos/src/roller-skis/blueprint/model.ts b/packages/jonnys-videos/src/roller-skis/blueprint/model.tsnew file mode 100644index 0000000000..c849ad1018--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis/blueprint/model.ts@@ -0,0 +1,716 @@+import {+ BoxGeometry,+ CatmullRomCurve3,+ CylinderGeometry,+ ExtrudeGeometry,+ Group,+ LatheGeometry,+ Object3D,+ Path,+ Shape,+ Vector2,+ Vector3,+} from 'three';+import type {LineArt} from './line-art';+import {PAWL_ANGLES, TOOTH_PITCH, RATCHET_TEETH} from './timeline';++// Swix Roadline Classic (RSRC10), in millimetres. Ski length runs along +x+// (front), +y is up from the ground and +z is the outer side of the ski.+// Published figures: 790 mm long, 725 mm wheelbase, 45 mm shaft, 67 x 50 mm+// wheels with a 43 mm rolling surface, 3.5 mm RCT spacers (51.6 mm over the+// spacers). Everything else is proportioned from product photos.+export const SPEC = {+ axleX: 362.5,+ axleY: 33.5,+ wheelRadius: 33.5,+ frameHalfLength: 300,+ frameHalfWidth: 22.5,+ frameBottom: 33,+ frameTop: 55,+ spacerOuter: 25.8,+ cheekThickness: 6,+};++const RING_TIP = 8.4;+const RING_ROOT = 9.6;+const PAWL_PIVOT_RADIUS = 6.4;+const PAWL_LENGTH = 4;++type Kit = LineArt;++// Revolves a closed (r, z) outline around the z axis.+const lathe = (profile: [number, number][], segments: number) => {+ const points = profile.map(([r, z]) => new Vector2(r, z));+ points.push(points[0].clone());+ const geometry = new LatheGeometry(points, segments);+ geometry.rotateX(Math.PI / 2);+ return geometry;+};++const disk = (radius: number, height: number, segments = 48) => {+ const geometry = new CylinderGeometry(radius, radius, height, segments);+ geometry.rotateX(Math.PI / 2);+ return geometry;+};++const extrude = (+ shape: Shape,+ depth: number,+ curveSegments = 24,+ bevel = 0,+) => {+ const geometry = new ExtrudeGeometry(shape, {+ depth,+ curveSegments,+ bevelEnabled: bevel > 0,+ bevelSize: bevel,+ bevelThickness: bevel,+ bevelSegments: 2,+ });+ geometry.translate(0, 0, -depth / 2);+ return geometry;+};++const roundedRect = (+ x0: number,+ y0: number,+ x1: number,+ y1: number,+ r: number,+) => {+ const s = new Shape();+ s.moveTo(x0 + r, y0);+ s.lineTo(x1 - r, y0);+ s.quadraticCurveTo(x1, y0, x1, y0 + r);+ s.lineTo(x1, y1 - r);+ s.quadraticCurveTo(x1, y1, x1 - r, y1);+ s.lineTo(x0 + r, y1);+ s.quadraticCurveTo(x0, y1, x0, y1 - r);+ s.lineTo(x0, y0 + r);+ s.quadraticCurveTo(x0, y0, x0 + r, y0);+ return s;+};++// A plan-view outline (x along the ski, z across) extruded upwards.+const plate = (+ x0: number,+ x1: number,+ halfWidth: number,+ r: number,+ height: number,+) => {+ const geometry = extrude(+ roundedRect(x0, -halfWidth, x1, halfWidth, r),+ height,+ 8,+ );+ geometry.rotateX(-Math.PI / 2);+ geometry.translate(0, height / 2, 0);+ return geometry;+};++const group = (parent: Object3D, name: string, x = 0, y = 0, z = 0) => {+ const g = new Group();+ g.name = name;+ g.position.set(x, y, z);+ parent.add(g);+ return g;+};++// ---------------------------------------------------------------------------+// Shaft++const buildFrame = (kit: Kit, parent: Object3D) => {+ const frame = group(parent, 'Hollow aluminium U-profile shaft');+ const W = SPEC.frameHalfWidth;+ const B = SPEC.frameBottom;+ const top = SPEC.frameTop;+ const wall = 2.4;+ const deck = 2.6;+ const lip = 2.2;+ const lipIn = 2.1;+ const r = 3;+ const s = new Shape();+ s.moveTo(-W, B);+ s.lineTo(-W + wall + lipIn, B);+ s.lineTo(-W + wall + lipIn, B + lip);+ s.lineTo(-W + wall, B + lip);+ s.lineTo(-W + wall, top - deck);+ s.lineTo(W - wall, top - deck);+ s.lineTo(W - wall, B + lip);+ s.lineTo(W - wall - lipIn, B + lip);+ s.lineTo(W - wall - lipIn, B);+ s.lineTo(W, B);+ s.lineTo(W, top - r);+ s.quadraticCurveTo(W, top, W - r, top);+ s.lineTo(-W + r, top);+ s.quadraticCurveTo(-W, top, -W, top - r);+ s.closePath();+ const length = SPEC.frameHalfLength * 2;+ const geometry = new ExtrudeGeometry(s, {+ depth: length,+ bevelEnabled: false,+ curveSegments: 6,+ });+ geometry.rotateY(Math.PI / 2);+ geometry.translate(-SPEC.frameHalfLength, 0, 0);+ kit.add(frame, geometry, 'Shaft extrusion');++ // The reflective side stripe, as a barely raised band on both faces.+ const stripe = new BoxGeometry(392, 6, 0.24);+ kit.add(frame, stripe, 'Side stripe (outer)', -46, 42.5, W + 0.12);+ kit.add(frame, stripe, 'Side stripe (inner)', -46, 42.5, -W - 0.12);++ // A few of the pre-drilled binding holes outside the binding footprint.+ const hole = new CylinderGeometry(1.7, 1.7, 0.3, 24);+ for (const x of [148, 166, 184, -226, -244, -262]) {+ kit.add(frame, hole, 'Pre-drilled binding hole', x, top + 0.15, 0);+ }+ return frame;+};++// ---------------------------------------------------------------------------+// Fork (built for the rear end: axle at the origin, shaft towards +x)++const cheekShape = () => {+ const boss = 12;+ const slot = 3.2;+ const slotAngle = Math.acos(slot / boss);+ const s = new Shape();+ s.moveTo(72, 23.5);+ s.bezierCurveTo(48, 23.5, 30, boss + 0.6, 0, boss);+ s.absarc(0, 0, boss, Math.PI / 2, Math.PI + slotAngle, false);+ s.lineTo(-slot, 0);+ s.absarc(0, 0, slot, Math.PI, 0, true);+ s.lineTo(slot, -Math.sqrt(boss * boss - slot * slot));+ s.absarc(0, 0, boss, Math.PI * 2 - slotAngle, Math.PI * 2 - 0.36, false);+ s.bezierCurveTo(28, -6, 46, -2.5, 72, -2.5);+ s.closePath();+ return s;+};++const buildBolt = (+ kit: Kit,+ parent: Object3D,+ name: string,+ z: number,+ outward: 1 | -1,+) => {+ const bolt = group(parent, name, 0, 0, z);+ bolt.scale.z = outward;+ kit.add(+ bolt,+ lathe(+ [+ [0.01, 0],+ [5, 0],+ [5, 1.8],+ [4.3, 2.5],+ [0.01, 2.5],+ ],+ 48,+ ),+ 'Axle screw head',+ );+ const hex = new CylinderGeometry(2.3, 2.3, 0.1, 6);+ hex.rotateX(Math.PI / 2);+ kit.add(bolt, hex, 'Hex socket', 0, 0, 2.55);+ return bolt;+};++const buildFender = (kit: Kit, parent: Object3D) => {+ const fender = group(parent, 'Fender with vibration damping');+ const R = 39;+ const join = (50 * Math.PI) / 180;+ const joinX = Math.cos(join) * R;+ const joinY = Math.sin(join) * R;+ const path = new Path();+ path.moveTo(58, 26);+ path.lineTo(41, 26);+ path.bezierCurveTo(+ 35,+ 26,+ joinX + Math.sin(join) * 5,+ joinY - Math.cos(join) * 5,+ joinX,+ joinY,+ );+ path.absarc(0, 0, R, join, Math.PI * 1.075, false);+ const end = new Vector2(+ Math.cos(Math.PI * 1.075) * R,+ Math.sin(Math.PI * 1.075) * R,+ );+ path.bezierCurveTo(+ end.x + 1.2,+ end.y - 4,+ end.x - 2.5,+ end.y - 7.5,+ end.x - 5.5,+ end.y - 9,+ );+ const points = path.getSpacedPoints(140).map((p) => new Vector3(p.x, p.y, 0));+ const curve = new CatmullRomCurve3(points, false, 'centripetal');++ const half = 29;+ const skirt = 6;+ const shell = 2.4;+ const section = new Shape();+ section.moveTo(-half + 1.5, 0);+ section.lineTo(half - 1.5, 0);+ section.quadraticCurveTo(half, 0, half, 1.5);+ section.lineTo(half, skirt);+ section.lineTo(half - shell, skirt);+ section.lineTo(half - shell, shell);+ section.lineTo(-half + shell, shell);+ section.lineTo(-half + shell, skirt);+ section.lineTo(-half, skirt);+ section.lineTo(-half, 1.5);+ section.quadraticCurveTo(-half, 0, -half + 1.5, 0);+ const geometry = new ExtrudeGeometry(section, {+ steps: 150,+ bevelEnabled: false,+ extrudePath: curve,+ curveSegments: 4,+ });+ kit.add(fender, geometry, 'Fender shell');+ const screw = disk(2.6, 1, 32);+ screw.rotateX(Math.PI / 2);+ kit.add(fender, screw, 'Fender screw', 47, 26.5, 13);+ kit.add(fender, screw, 'Fender screw', 47, 26.5, -13);+ return fender;+};++const buildFork = (kit: Kit, parent: Object3D, name: string) => {+ const fork = group(parent, name);+ const bridge = plate(38, 74, SPEC.spacerOuter + SPEC.cheekThickness, 4, 26);+ bridge.translate(0, -2.5, 0);+ kit.add(fork, bridge, 'Fork crown');+ const cheek = extrude(cheekShape(), SPEC.cheekThickness, 48);+ const cheekZ = SPEC.spacerOuter + SPEC.cheekThickness / 2;+ kit.add(fork, cheek, 'CNC-machined RCT fork cheek (outer)', 0, 0, cheekZ);+ kit.add(fork, cheek, 'CNC-machined RCT fork cheek (inner)', 0, 0, -cheekZ);+ const crownBolt = disk(3.2, 1.2, 32);+ const outerFace = SPEC.spacerOuter + SPEC.cheekThickness;+ kit.add(fork, crownBolt, 'Crown bolt', 57, 10.5, outerFace + 0.6);+ kit.add(fork, crownBolt, 'Crown bolt', 57, 10.5, -outerFace - 0.6);+ const outerBolt = buildBolt(kit, fork, 'Axle screw (outer)', outerFace, 1);+ const innerBolt = buildBolt(kit, fork, 'Axle screw (inner)', -outerFace, -1);+ buildFender(kit, fork);+ return {fork, bolts: [outerBolt, innerBolt]};+};++// ---------------------------------------------------------------------------+// Wheel++export type WheelPart = {+ readonly group: Group;+ readonly base: number;+ spread: number;+};++const tyreProfile = (section: boolean): [number, number][] => {+ const shoulder: [number, number][] = [];+ for (let i = 0; i <= 6; i++) {+ const a = (i / 6) * (Math.PI / 2);+ shoulder.push([28.5 + 5 * Math.sin(a), 21.5 + 3.5 * Math.cos(a)]);+ }+ const far = shoulder.map(([r, z]) => [r, -z] as [number, number]);+ const near = [...shoulder].reverse();+ if (section) {+ return [[16, -25], ...far, [33.5, -0.6], [32.9, 0], [16, 0]];+ }+ return [+ [16, -25],+ ...far,+ [33.5, -0.6],+ [32.9, 0],+ [33.5, 0.6],+ ...near,+ [16, 25],+ ];+};++const toothRing = (depth: number) => {+ const s = new Shape();+ s.absarc(0, 0, 11, 0, Math.PI * 2, false);+ const hole = new Path();+ const steps = 4;+ for (let k = 0; k < RATCHET_TEETH; k++) {+ const a0 = k * TOOTH_PITCH;+ const root = new Vector2(+ Math.cos(a0) * RING_ROOT,+ Math.sin(a0) * RING_ROOT,+ );+ if (k === 0) hole.moveTo(root.x, root.y);+ else hole.lineTo(root.x, root.y);+ for (let j = 1; j <= steps; j++) {+ const a = a0 + (TOOTH_PITCH * j) / steps;+ const r = RING_ROOT - ((RING_ROOT - RING_TIP) * j) / steps;+ hole.lineTo(Math.cos(a) * r, Math.sin(a) * r);+ }+ }+ hole.closePath();+ s.holes.push(hole);+ return extrude(s, depth, 96);+};++const pawlShape = () => {+ const L = PAWL_LENGTH;+ const s = new Shape();+ s.moveTo(0, -1);+ s.lineTo(L - 0.45, -0.55);+ s.lineTo(L, 0.05);+ s.lineTo(L - 0.3, 0.62);+ s.lineTo(0.21, 0.98);+ s.absarc(0, 0, 1, Math.acos(0.21), Math.PI * 1.5, false);+ return s;+};++// Pivot angle that puts the pawl tip exactly on `tipAngle` when it is fully+// extended into a tooth root, i.e. in the locked position.+const pivotAngleFor = (tipAngle: number) => {+ const rv = PAWL_PIVOT_RADIUS;+ const L = PAWL_LENGTH;+ const gamma = -Math.acos(+ (RING_ROOT * RING_ROOT - rv * rv - L * L) / (2 * rv * L),+ );+ return tipAngle - Math.atan2(L * Math.sin(gamma), rv + L * Math.cos(gamma));+};++export type Pawl = {+ readonly group: Group;+ readonly pivot: number;+ readonly tip: number;+};++const buildPawls = (kit: Kit, parent: Object3D, depth: number, z: number) => {+ const geometry = extrude(pawlShape(), depth, 16);+ const pin = disk(0.45, 0.2, 16);+ return PAWL_ANGLES.map((tip, i) => {+ const pivot = pivotAngleFor(tip);+ const g = group(+ parent,+ `Pawl ${i + 1}`,+ Math.cos(pivot) * PAWL_PIVOT_RADIUS,+ Math.sin(pivot) * PAWL_PIVOT_RADIUS,+ z,+ );+ kit.add(g, geometry, `Pawl ${i + 1} leaf`);+ kit.add(g, pin, `Pawl ${i + 1} pin`, 0, 0, depth / 2 + 0.1);+ return {group: g, pivot, tip};+ });+};++/** Pose a pawl so its tip rides the saw-tooth contour of a ring at `alpha`. */+export const posePawl = (pawl: Pawl, alpha: number) => {+ const rv = PAWL_PIVOT_RADIUS;+ const L = PAWL_LENGTH;+ let tipAngle = pawl.tip;+ let gamma = 0;+ for (let i = 0; i < 4; i++) {+ const m = (tipAngle - alpha) / TOOTH_PITCH;+ const phase = m - Math.floor(m);+ const r = RING_ROOT - (RING_ROOT - RING_TIP) * phase;+ const c = (r * r - rv * rv - L * L) / (2 * rv * L);+ gamma = pawl.pivot - Math.acos(Math.max(-1, Math.min(1, c)));+ tipAngle = Math.atan2(+ rv * Math.sin(pawl.pivot) + L * Math.sin(gamma),+ rv * Math.cos(pawl.pivot) + L * Math.cos(gamma),+ );+ }+ pawl.group.rotation.z = gamma;+};++export type Wheel = {+ readonly root: Group;+ readonly parts: WheelPart[];+ readonly spinning: Group[];+ readonly pawls: Pawl[];+};++const buildWheel = (+ kit: Kit,+ parent: Object3D,+ name: string,+ ratchet: boolean,+): Wheel => {+ const root = group(parent, name);+ const parts: WheelPart[] = [];+ const spinning: Group[] = [];+ const part = (label: string, base: number) => {+ const g = group(root, label, 0, 0, base);+ parts.push({group: g, base, spread: 0});+ return g;+ };++ // No axle sleeve here: the cold open threads the camera along the axle, and+ // a long narrow tube would hide everything else while the camera is in it.+ const spacer = (label: string, base: number, sign: 1 | -1) => {+ const g = part(label, base);+ kit.add(+ g,+ lathe(+ [+ [4, -1.75 * sign],+ [13, -1.75 * sign],+ [13, 1.25 * sign],+ [12.5, 1.75 * sign],+ [4, 1.75 * sign],+ ],+ 96,+ ),+ label,+ );+ };+ const bearingProfile: [number, number][] = [+ [4, -3.5],+ [5.6, -3.5],+ [5.6, -3.2],+ [9.4, -3.2],+ [9.4, -3.5],+ [11, -3.5],+ [11, 3.5],+ [9.4, 3.5],+ [9.4, 3.2],+ [5.6, 3.2],+ [5.6, 3.5],+ [4, 3.5],+ ];+ const bearing = (label: string, base: number) => {+ const g = part(label, base);+ kit.add(g, lathe(bearingProfile, 72), label);+ };++ spacer('Outer RCT spacer (brass)', 24.05, 1);+ bearing('Outer 608 bearing', 18.8);++ const tyre = part('Rubber tyre 67 x 50 mm', 0);+ spinning.push(tyre);+ kit.add(tyre, lathe(tyreProfile(false), 160), 'Rubber tyre');++ const hub = part('Hub shell', 0);+ spinning.push(hub);+ kit.add(+ hub,+ lathe(+ [+ [11, -22.3],+ [16, -22.3],+ [16, 22.3],+ [11, 22.3],+ ],+ 96,+ ),+ 'Hub shell',+ );+ const pocket = disk(1.35, 0.2, 24);+ for (let i = 0; i < 6; i++) {+ const a = (i / 6) * Math.PI * 2 + 0.3;+ kit.add(+ hub,+ pocket,+ 'Hub pocket',+ Math.cos(a) * 13.6,+ Math.sin(a) * 13.6,+ 22.4,+ );+ kit.add(+ hub,+ pocket,+ 'Hub pocket',+ Math.cos(a) * 13.6,+ Math.sin(a) * 13.6,+ -22.4,+ );+ }++ let pawls: Pawl[] = [];+ if (ratchet) {+ const ring = part('Ratchet ring, 18 teeth', 0);+ spinning.push(ring);+ kit.add(ring, toothRing(8), 'Saw-tooth ratchet ring');+ const carrier = part('Pawl carrier', 0);+ const body = new Shape();+ body.absarc(0, 0, 5.4, 0, Math.PI * 2, false);+ const bore = new Path();+ bore.absarc(0, 0, 4, 0, Math.PI * 2, true);+ body.holes.push(bore);+ kit.add(carrier, extrude(body, 8, 48), 'Pawl carrier');+ pawls = buildPawls(kit, carrier, 7.2, 0);+ for (const pawl of pawls) posePawl(pawl, 0);+ }++ bearing('Inner 608 bearing', -18.8);+ spacer('Inner RCT spacer (brass)', -24.05, -1);+ return {root, parts, spinning, pawls};+};++// ---------------------------------------------------------------------------+// Binding (NNN-style classic binding)++const buildBinding = (kit: Kit, parent: Object3D) => {+ const binding = group(parent, 'Classic binding');+ const deck = SPEC.frameTop;+ kit.add(binding, plate(-205, 85, 17, 6, 3.5), 'Base plate', 0, deck, 0);+ const ridge = new BoxGeometry(220, 3.5, 3.2);+ kit.add(binding, ridge, 'Guide ridge', -80, deck + 5.25, 5.5);+ kit.add(binding, ridge, 'Guide ridge', -80, deck + 5.25, -5.5);+ kit.add(binding, new BoxGeometry(20, 11, 22), 'Flexor', 42, deck + 9, 0);+ const toeBar = disk(2.2, 30, 24);+ kit.add(binding, toeBar, 'Toe bar seat', 55.5, deck + 6, 0);++ const housing = new Shape();+ housing.moveTo(56, deck + 3.5);+ housing.lineTo(56, deck + 17);+ housing.quadraticCurveTo(56, deck + 20.5, 60, deck + 20.5);+ housing.lineTo(90, deck + 20.5);+ housing.bezierCurveTo(100, deck + 20.5, 108, deck + 15, 112, deck + 6);+ housing.lineTo(112, deck + 3.5);+ housing.closePath();+ kit.add(binding, extrude(housing, 35.6, 16, 1.2), 'Front housing');++ const lever = new Shape();+ lever.moveTo(62, deck + 21.7);+ lever.lineTo(62, deck + 23.6);+ lever.quadraticCurveTo(62, deck + 24.6, 63.2, deck + 24.6);+ lever.lineTo(95, deck + 24.6);+ lever.quadraticCurveTo(101, deck + 24.6, 103.5, deck + 21.2);+ lever.closePath();+ kit.add(binding, extrude(lever, 24, 12), 'Latch lever');++ kit.add(+ binding,+ new BoxGeometry(45, 2, 32),+ 'Heel plate',+ -182.5,+ deck + 4.5,+ 0,+ );+ const rib = new BoxGeometry(1.6, 1, 28);+ for (let i = 0; i < 5; i++) {+ kit.add(binding, rib, 'Heel plate rib', -199 + i * 8, deck + 6, 0);+ }+ return binding;+};++// ---------------------------------------------------------------------------++export type Ski = {+ readonly root: Group;+ readonly rearWheel: Wheel;+ readonly rearDrop: Group;+ readonly rearBolts: Group[];+};++export const buildSki = (kit: Kit, name: string): Ski => {+ const root = new Group();+ root.name = name;+ buildFrame(kit, root);+ buildBinding(kit, root);++ const rear = buildFork(kit, root, 'Rear fork');+ rear.fork.position.set(-SPEC.axleX, SPEC.axleY, 0);+ const front = buildFork(kit, root, 'Front fork');+ front.fork.position.set(SPEC.axleX, SPEC.axleY, 0);+ front.fork.scale.x = -1;++ const rearDrop = group(+ root,+ 'Rear wheel slot travel',+ -SPEC.axleX,+ SPEC.axleY,+ 0,+ );+ const rearWheel = buildWheel(kit, rearDrop, 'Rear wheel with ratchet', true);+ const frontMount = group(+ root,+ 'Front wheel mount',+ SPEC.axleX,+ SPEC.axleY,+ 0,+ );+ buildWheel(kit, frontMount, 'Front wheel', false);+ return {root, rearWheel, rearDrop, rearBolts: rear.bolts};+};++/** Spread the wheel parts along the axle by `e` and roll the tyre by `spin`. */+export const explodeWheel = (wheel: Wheel, e: number, spin: number) => {+ for (const p of wheel.parts) {+ p.group.position.z = p.base + p.spread * e;+ }+ for (const g of wheel.spinning) {+ g.rotation.z = spin;+ }+};++// ---------------------------------------------------------------------------+// Half-section of the rear wheel through its mid-plane, for the ratchet demo.++export type WheelSection = {+ readonly root: Group;+ readonly spinning: Group[];+ readonly pawls: Pawl[];+};++export const buildWheelSection = (kit: Kit): WheelSection => {+ const root = new Group();+ root.name = 'Rear wheel, half section';+ const spinning: Group[] = [];++ const tyre = group(root, 'Tyre section');+ kit.add(tyre, lathe(tyreProfile(true), 160), 'Tyre section');+ const hub = group(root, 'Hub section');+ kit.add(+ hub,+ lathe(+ [+ [11, -22.3],+ [16, -22.3],+ [16, 0],+ [11, 0],+ ],+ 96,+ ),+ 'Hub section',+ );+ const bore = disk(1.35, 0.2, 24);+ for (let i = 0; i < 6; i++) {+ const a = (i / 6) * Math.PI * 2 + 0.3;+ kit.add(hub, bore, 'Hub bore', Math.cos(a) * 13.6, Math.sin(a) * 13.6, 0.1);+ }+ const ring = group(root, 'Ratchet ring section');+ const ringGeometry = toothRing(4);+ ringGeometry.translate(0, 0, -2);+ kit.add(ring, ringGeometry, 'Saw-tooth ratchet ring');+ spinning.push(tyre, hub, ring);++ const carrier = group(root, 'Pawl carrier section');+ const body = new Shape();+ body.absarc(0, 0, 5.4, 0, Math.PI * 2, false);+ const hole = new Path();+ hole.absarc(0, 0, 4, 0, Math.PI * 2, true);+ body.holes.push(hole);+ const carrierGeometry = extrude(body, 4, 48);+ carrierGeometry.translate(0, 0, -2);+ kit.add(carrier, carrierGeometry, 'Pawl carrier');+ const pawls = buildPawls(kit, carrier, 3.6, -1.5);+ kit.add(+ carrier,+ lathe(+ [+ [2.6, -25.8],+ [4, -25.8],+ [4, 0],+ [2.6, 0],+ ],+ 48,+ ),+ 'Axle sleeve section',+ );+ return {root, spinning, pawls};+};++export const setRatchet = (section: WheelSection, alpha: number) => {+ for (const g of section.spinning) g.rotation.z = alpha;+ for (const pawl of section.pawls) posePawl(pawl, alpha);+};diff --git a/packages/jonnys-videos/src/roller-skis/blueprint/renderer.ts b/packages/jonnys-videos/src/roller-skis/blueprint/renderer.tsnew file mode 100644index 0000000000..9621248ad4--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis/blueprint/renderer.ts@@ -0,0 +1,167 @@+import {+ AddEquation,+ ColorManagement,+ CustomBlending,+ HalfFloatType,+ LinearSRGBColorSpace,+ Mesh,+ NoBlending,+ OneFactor,+ OrthographicCamera,+ PlaneGeometry,+ Scene,+ ShaderMaterial,+ UnsignedByteType,+ WebGLRenderTarget,+ WebGLRenderer,+} from 'three';+import {LineArt} from './line-art';+import {blurFor, createRig, stage, type Rig} from './shots';++const VERTEX = /* glsl */ `+varying vec2 vUv;+void main() {+ vUv = uv;+ gl_Position = vec4(position.xy, 0.0, 1.0);+}`;++const ACCUMULATE = /* glsl */ `+uniform sampler2D map;+uniform float weight;+varying vec2 vUv;+void main() {+ gl_FragColor = texture2D(map, vUv) * weight;+}`;++const COPY = /* glsl */ `+uniform sampler2D map;+varying vec2 vUv;+void main() {+ gl_FragColor = texture2D(map, vUv);+}`;++const fullscreen = (material: ShaderMaterial) => {+ const scene = new Scene();+ const quad = new Mesh(new PlaneGeometry(2, 2), material);+ quad.frustumCulled = false;+ scene.add(quad);+ return scene;+};++export class BlueprintRenderer {+ private readonly renderer: WebGLRenderer;+ private readonly kit: LineArt;+ private readonly scene = new Scene();+ private readonly rig: Rig;+ private readonly sample: WebGLRenderTarget;+ private readonly accumulation: WebGLRenderTarget;+ private readonly quadCamera = new OrthographicCamera(-1, 1, 1, -1, 0, 1);+ private readonly accumulateMaterial: ShaderMaterial;+ private readonly copyMaterial: ShaderMaterial;+ private readonly accumulateScene: Scene;+ private readonly copyScene: Scene;++ private readonly pixelRatio: number;++ constructor(+ canvas: HTMLCanvasElement,+ width: number,+ height: number,+ pixelRatio: number,+ ) {+ // Colours are authored in display space and must reach the canvas as-is.+ ColorManagement.enabled = false;+ this.pixelRatio = pixelRatio;+ this.renderer = new WebGLRenderer({+ canvas,+ alpha: true,+ antialias: true,+ premultipliedAlpha: true,+ preserveDrawingBuffer: true,+ });+ this.renderer.setPixelRatio(pixelRatio);+ this.renderer.setSize(width, height, false);+ this.renderer.setClearColor(0x000000, 0);+ this.renderer.outputColorSpace = LinearSRGBColorSpace;+ this.renderer.autoClear = false;++ const bufferWidth = Math.round(width * pixelRatio);+ const bufferHeight = Math.round(height * pixelRatio);+ this.kit = new LineArt(bufferWidth, bufferHeight);+ this.rig = createRig(this.kit, this.scene, width, height);++ const floatTargets = this.renderer.extensions.has('EXT_color_buffer_float');+ this.sample = new WebGLRenderTarget(bufferWidth, bufferHeight, {+ samples: 4,+ });+ this.accumulation = new WebGLRenderTarget(bufferWidth, bufferHeight, {+ type: floatTargets ? HalfFloatType : UnsignedByteType,+ });+ this.accumulateMaterial = new ShaderMaterial({+ uniforms: {map: {value: this.sample.texture}, weight: {value: 1}},+ vertexShader: VERTEX,+ fragmentShader: ACCUMULATE,+ blending: CustomBlending,+ blendEquation: AddEquation,+ blendSrc: OneFactor,+ blendDst: OneFactor,+ depthTest: false,+ depthWrite: false,+ });+ this.copyMaterial = new ShaderMaterial({+ uniforms: {map: {value: this.accumulation.texture}},+ vertexShader: VERTEX,+ fragmentShader: COPY,+ blending: NoBlending,+ depthTest: false,+ depthWrite: false,+ });+ this.accumulateScene = fullscreen(this.accumulateMaterial);+ this.copyScene = fullscreen(this.copyMaterial);+ }++ setStyle(color: string, lineWidth: number, occluderColor = '#FFFFFF') {+ this.kit.setStyle(color, lineWidth * this.pixelRatio, occluderColor);+ }++ private renderAt(t: number) {+ const camera = stage(this.rig, t);+ this.renderer.clear();+ if (!camera) return;+ this.scene.updateMatrixWorld(true);+ this.kit.update(camera);+ this.renderer.render(this.scene, camera);+ }++ draw(t: number) {+ const r = this.renderer;+ const {samples, shutter, floor} = blurFor(t);+ if (samples <= 1) {+ r.setRenderTarget(null);+ this.renderAt(t);+ return;+ }+ r.setRenderTarget(this.accumulation);+ r.clear();+ this.accumulateMaterial.uniforms.weight.value = 1 / samples;+ for (let i = 0; i < samples; i++) {+ r.setRenderTarget(this.sample);+ this.renderAt(Math.max(floor, t - (shutter * i) / (samples - 1)));+ r.setRenderTarget(this.accumulation);+ r.render(this.accumulateScene, this.quadCamera);+ }+ r.setRenderTarget(null);+ r.clear();+ r.render(this.copyScene, this.quadCamera);+ }++ dispose() {+ this.kit.dispose();+ this.sample.dispose();+ this.accumulation.dispose();+ this.accumulateMaterial.dispose();+ this.copyMaterial.dispose();+ this.renderer.dispose();+ this.renderer.forceContextLoss();+ }+}diff --git a/packages/jonnys-videos/src/roller-skis/blueprint/shots.ts b/packages/jonnys-videos/src/roller-skis/blueprint/shots.tsnew file mode 100644index 0000000000..6ad64a9ef5--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis/blueprint/shots.ts@@ -0,0 +1,280 @@+import {+ Camera,+ Group,+ OrthographicCamera,+ PerspectiveCamera,+ Scene,+ Vector3,+} from 'three';+import type {LineArt} from './line-art';+import {+ buildSki,+ buildWheelSection,+ explodeWheel,+ setRatchet,+ SPEC,+ type Ski,+ type WheelSection,+} from './model';+import {+ clamp01,+ FPS,+ ratchetAngle,+ smooth,+ smoother,+ T,+ whipOut,+} from './timeline';++export type Rig = {+ readonly main: Ski;+ readonly plan: Ski;+ readonly section: WheelSection;+ readonly perspective: PerspectiveCamera;+ readonly ortho: OrthographicCamera;+ readonly width: number;+ readonly height: number;+};++// ---------------------------------------------------------------------------+// Cold open: one continuous push from a wide oblique view of the whole ski+// into the rear wheel. The approach is what takes the wheel apart: the axle+// screws back out, the wheel drops out of its RCT slots, then its parts slide+// apart along the axle towards the viewpoint, which threads through them and+// exits into white.++const START_RADIUS = 1550;+const END_RADIUS = -8;+const START_AZIMUTH = -0.98;+const START_ELEVATION = 0.36;+const ORBIT_END = 4.15;+const DROP = 52;+const LOOK_OFFSET = new Vector3(-200, 175, 0);++const coldOpen = (t: number) => {+ const p = smooth(t / T.coldOpenEnd);+ const q = Math.pow(p, 1.15);+ const orbit = 1 - smoother(t / ORBIT_END);+ return {+ p,+ q,+ orbit,+ azimuth: START_AZIMUTH * orbit,+ elevation: START_ELEVATION * orbit,+ radius: START_RADIUS - (START_RADIUS - END_RADIUS) * p,+ drop: smooth((q - 0.05) / 0.22),+ unscrew: smooth(q / 0.16),+ spread: clamp01((q - 0.2) / 0.8),+ };+};++// When each rear-wheel part should pass the lens, in seconds. Parts may only+// overtake parts whose bore they fit through, so this order matters.+const CROSSINGS: Record<string, number> = {+ 'Outer RCT spacer (brass)': 5.5,+ 'Outer 608 bearing': 5.95,+ 'Rubber tyre 67 x 50 mm': 6.35,+ 'Hub shell': 6.75,+ 'Ratchet ring, 18 teeth': 7.12,+ 'Pawl carrier': 7.45,+ 'Inner 608 bearing': 7.8,+ 'Inner RCT spacer (brass)': 8.12,+};++const assignSpreads = (ski: Ski) => {+ for (const part of ski.rearWheel.parts) {+ const at = CROSSINGS[part.group.name];+ const s = coldOpen(at);+ part.spread = (s.radius - part.base) / s.spread;+ }+};++export const createRig = (+ kit: LineArt,+ scene: Scene,+ width: number,+ height: number,+): Rig => {+ const main = buildSki(kit, 'Swix Roadline Classic');+ const plan = buildSki(kit, 'Swix Roadline Classic (plan)');+ const section = buildWheelSection(kit);+ assignSpreads(main);+ scene.add(main.root, plan.root, section.root);+ const perspective = new PerspectiveCamera(34, width / height, 0.2, 6000);+ const ortho = new OrthographicCamera(+ -width / 2,+ width / 2,+ height / 2,+ -height / 2,+ 0.1,+ 10000,+ );+ ortho.position.set(0, 0, 4000);+ ortho.lookAt(0, 0, 0);+ return {main, plan, section, perspective, ortho, width, height};+};++const resetSki = (ski: Ski) => {+ ski.root.visible = false;+ ski.root.position.set(0, 0, 0);+ ski.root.rotation.set(0, 0, 0, 'XYZ');+ ski.root.scale.setScalar(1);+ explodeWheel(ski.rearWheel, 0, 0);+ ski.rearDrop.position.y = SPEC.axleY;+ for (const [i, bolt] of ski.rearBolts.entries()) {+ bolt.position.z =+ (i === 0 ? 1 : -1) * (SPEC.spacerOuter + SPEC.cheekThickness);+ bolt.rotation.z = 0;+ }+};++// Places a model in pixel space for the orthographic camera: (x, y) is where+// the model origin lands on screen, `s` is pixels per millimetre.+const place = (+ rig: Rig,+ root: Group,+ x: number,+ y: number,+ s: number,+ rx = 0,+ ry = 0,+ rz = 0,+ order: 'XYZ' | 'ZXY' = 'XYZ',+) => {+ root.position.set(x - rig.width / 2, rig.height / 2 - y, 0);+ root.scale.setScalar(s);+ root.rotation.set(rx, ry, rz, order);+ root.visible = true;+};++const stageColdOpen = (rig: Rig, t: number): Camera => {+ const {main, perspective} = rig;+ const s = coldOpen(t);+ main.root.visible = true;++ const boltTravel = 4 * s.unscrew;+ const outer = SPEC.spacerOuter + SPEC.cheekThickness;+ main.rearBolts[0].position.z = outer + boltTravel;+ main.rearBolts[1].position.z = -outer - boltTravel;+ main.rearBolts[0].rotation.z = s.unscrew * Math.PI * 5;+ main.rearBolts[1].rotation.z = -s.unscrew * Math.PI * 5;+ main.rearDrop.position.y = SPEC.axleY - DROP * s.drop;+ explodeWheel(main.rearWheel, s.spread, -s.q * Math.PI * 2.5);++ const target = new Vector3(-SPEC.axleX, SPEC.axleY - DROP * s.drop, 0);+ const dir = new Vector3(+ Math.sin(s.azimuth) * Math.cos(s.elevation),+ Math.sin(s.elevation),+ Math.cos(s.azimuth) * Math.cos(s.elevation),+ );+ perspective.position.copy(target).addScaledVector(dir, s.radius);+ if (s.orbit > 1e-5) {+ perspective.lookAt(target.clone().addScaledVector(LOOK_OFFSET, s.orbit));+ } else {+ perspective.lookAt(perspective.position.clone().sub(dir));+ }+ return perspective;+};++// ---------------------------------------------------------------------------+// Shot B: side elevation and plan view whip in from opposite directions.++const stageElevations = (rig: Rig, t: number): Camera => {+ const entry = whipOut((t - T.shotB) / 0.8);+ const exit = Math.pow(clamp01((t - T.shotBOut) / 0.5), 3);+ const push = clamp01((t - T.shotBLanded) / (T.shotBOut - T.shotBLanded));+ place(+ rig,+ rig.main.root,+ 948,+ 690 - (1 - entry) * 900 - exit * 1100,+ 2.12 * (1 + 0.06 * push),+ );+ place(+ rig,+ rig.plan.root,+ 1330,+ 929 + (1 - entry) * 1000 + exit * 1000,+ 1.08 * (1 + 0.06 * push),+ Math.PI / 2,+ );+ return rig.ortho;+};++// ---------------------------------------------------------------------------+// Shot C: turning 3/4 view on top, the ratchet in half section below it.++const stageRatchet = (rig: Rig, t: number): Camera => {+ const u = t - T.shotC;+ const turn = smooth(u / (T.shotD - T.shotC));+ const push = clamp01(u / (T.shotD - T.shotC));+ place(+ rig,+ rig.main.root,+ 1000,+ 300 + 55 * push,+ 1.66 * (1 + 0.1 * push),+ 0.42,+ 0.5 + 0.17 * turn,+ 0,+ 'XYZ',+ );+ place(rig, rig.section.root, 1556, 768, 6.6 * (1 + 0.1 * push));+ setRatchet(rig.section, ratchetAngle(u));+ return rig.ortho;+};++// ---------------------------------------------------------------------------+// Shot E: the ski sweeps in huge from the bottom-left and settles diagonally.++const stageHero = (rig: Rig, t: number): Camera => {+ const entry = whipOut((t - T.shotE) / 0.5);+ const push = clamp01((t - T.shotE - 0.45) / (T.end - T.shotE - 0.45));+ place(+ rig,+ rig.main.root,+ 880 - (1 - entry) * 1750,+ 600 + (1 - entry) * 1500,+ 2.62 * (1 + 0.08 * push),+ 0.34,+ -0.5 + 0.05 * push,+ 0.4,+ 'ZXY',+ );+ return rig.ortho;+};++export const stage = (rig: Rig, t: number): Camera | null => {+ resetSki(rig.main);+ resetSki(rig.plan);+ rig.section.root.visible = false;+ if (t < T.coldOpenEnd) return stageColdOpen(rig, t);+ if (t < T.shotC) return stageElevations(rig, t);+ if (t < T.shotD) return stageRatchet(rig, t);+ if (t < T.shotE) return null;+ return stageHero(rig, t);+};++export type Blur = {+ readonly samples: number;+ readonly shutter: number;+ readonly floor: number;+};++// Whips get a long, dense shutter; the fast end of the push-in and the+// spinning ratchet get a light 180-degree one. Samples never reach back past+// the start of the current move.+export const blurFor = (t: number): Blur => {+ const whip = 1.5 / FPS;+ if (t >= T.shotB && t < T.shotB + 0.62)+ return {samples: 24, shutter: whip, floor: T.shotB};+ if (t >= T.shotBOut && t < T.shotC)+ return {samples: 24, shutter: whip, floor: T.shotBOut};+ if (t >= T.shotE && t < T.shotE + 0.45)+ return {samples: 24, shutter: whip, floor: T.shotE};+ if (t >= 4.4 && t < T.coldOpenEnd)+ return {samples: 16, shutter: 0.5 / FPS, floor: 0};+ if (t >= T.shotC + 0.25 && t < T.ratchetLock + 0.05)+ return {samples: 8, shutter: 0.5 / FPS, floor: T.shotC};+ return {samples: 1, shutter: 0, floor: t};+};diff --git a/packages/jonnys-videos/src/roller-skis/blueprint/timeline.ts b/packages/jonnys-videos/src/roller-skis/blueprint/timeline.tsnew file mode 100644index 0000000000..045d9331d0--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis/blueprint/timeline.ts@@ -0,0 +1,131 @@+// Shared by the composition and scripts/build-blueprint-audio.mjs, which+// imports this file directly with Node's type stripping: keep it free of+// imports and non-erasable TypeScript syntax.++export const FPS = 30;+export const DURATION = 17.5;++// The soundtrack is 113.2 BPM with its drop placed at 8.5 s.+export const DROP = 8.5;+export const BEAT = 0.5297;+export const beat = (n: number) => DROP + n * BEAT;++export const T = {+ coldOpenEnd: DROP,+ shotB: DROP,+ shotBLanded: DROP + 0.8,+ card1: DROP + 0.8,+ shotBOut: beat(6),+ shotC: beat(7),+ card2: beat(7) + 0.32,+ ratchetLock: beat(11),+ shotD: beat(12),+ shotE: beat(13),+ card3: beat(14),+ end: DURATION,+};++export const clamp01 = (x: number) => Math.max(0, Math.min(1, x));+export const smooth = (x: number) => {+ const v = clamp01(x);+ return v * v * (3 - 2 * v);+};+export const smoother = (x: number) => {+ const v = clamp01(x);+ return v * v * v * (v * (v * 6 - 15) + 10);+};+// Snappy ease-out with a slight overshoot, used for every whip landing.+export const whipOut = (x: number) => {+ const v = clamp01(x);+ return 1 + 2.35 * Math.pow(v - 1, 3) + 1.35 * Math.pow(v - 1, 2);+};++// ---------------------------------------------------------------------------+// Ratchet kinematics. The hub ring has internal saw teeth; three pawls on the+// axle carrier ride the ramps when the wheel rolls forward and catch a steep+// face when it tries to roll back. Angles are counter-clockwise positive as+// seen from the outer side of the ski, where forward roll is clockwise.++export const RATCHET_TEETH = 18;+export const TOOTH_PITCH = (Math.PI * 2) / RATCHET_TEETH;+export const PAWL_ANGLES = [+ Math.PI * 0.5,+ Math.PI * (0.5 + 2 / 3),+ Math.PI * (0.5 + 4 / 3),+];++const SPIN_START = 0.22;+const SPIN_FULL = 0.55;+const SPIN_EASE_OUT = 1.42;+const SPIN_STOP = 1.78;+const FORWARD_SPEED = -Math.PI * 2 * 0.95;+const LOCK_LOCAL = T.ratchetLock - T.shotC;+const BACK_PHASE = 0.62;+const RECOIL = 0.022;+const RECOIL_TIME = 0.16;++// ∫ smooth((s - a) / (b - a)) ds over [a, x]+const rampIntegral = (a: number, b: number, x: number) => {+ const w = b - a;+ const v = clamp01((x - a) / w);+ return w * (v * v * v - (v * v * v * v) / 2);+};++// Closed-form integral of the forward speed profile: ease in, hold, ease out.+const integrateSpin = (u: number) => {+ let angle = 0;+ if (u > SPIN_START)+ angle += rampIntegral(SPIN_START, SPIN_FULL, Math.min(u, SPIN_FULL));+ if (u > SPIN_FULL) angle += Math.min(u, SPIN_EASE_OUT) - SPIN_FULL;+ if (u > SPIN_EASE_OUT) {+ const x = Math.min(u, SPIN_STOP);+ angle += x - SPIN_EASE_OUT - rampIntegral(SPIN_EASE_OUT, SPIN_STOP, x);+ }+ return angle * FORWARD_SPEED;+};++const FORWARD_TOTAL = integrateSpin(SPIN_STOP);+// Choose the resting orientation so the forward spin ends with the pawls+// BACK_PHASE of a tooth past a steep face: the roll-back then travels that far+// before it locks, landing exactly on the beat.+const ALPHA_0 = (() => {+ const pawlMaterial = PAWL_ANGLES[0] - FORWARD_TOTAL;+ const target = BACK_PHASE * TOOTH_PITCH;+ return (+ pawlMaterial -+ target -+ Math.floor((pawlMaterial - target) / TOOTH_PITCH) * TOOTH_PITCH+ );+})();+const ALPHA_STOP = ALPHA_0 + FORWARD_TOTAL;+const ALPHA_LOCK = ALPHA_STOP + BACK_PHASE * TOOTH_PITCH;++/** Ring angle (radians) at `u` seconds into shot C. */+export const ratchetAngle = (u: number) => {+ if (u <= SPIN_STOP) return ALPHA_0 + integrateSpin(u);+ if (u <= LOCK_LOCAL) {+ const s = (u - SPIN_STOP) / (LOCK_LOCAL - SPIN_STOP);+ return ALPHA_STOP + (ALPHA_LOCK - ALPHA_STOP) * s * s;+ }+ const r = clamp01((u - LOCK_LOCAL) / RECOIL_TIME);+ return ALPHA_LOCK - RECOIL * Math.sin(Math.PI * r) * (1 - r) * (1 - r);+};++/** Tooth phase under a pawl: 0 right after a steep face, rising along the ramp. */+export const toothPhase = (alpha: number, pawlAngle: number) => {+ const m = (pawlAngle - alpha) / TOOTH_PITCH;+ return m - Math.floor(m);+};++/** Seconds into shot C at which the pawls snap over a tooth, plus the lock. */+export const ratchetEvents = () => {+ const ticks: number[] = [];+ const dt = 0.0005;+ let prev = toothPhase(ratchetAngle(0), PAWL_ANGLES[0]);+ for (let u = dt; u <= SPIN_STOP + dt; u += dt) {+ const phase = toothPhase(ratchetAngle(u), PAWL_ANGLES[0]);+ if (phase < prev - 0.5) ticks.push(u);+ prev = phase;+ }+ return {ticks, lock: LOCK_LOCAL};+};diff --git a/packages/jonnys-videos/src/roller-skis/closing-thoughts-captions.ts b/packages/jonnys-videos/src/roller-skis/closing-thoughts-captions.tsnew file mode 100644index 0000000000..1ce8f200ee--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis/closing-thoughts-captions.ts@@ -0,0 +1,1394 @@+import type {Caption} from '@remotion/captions';++export const closingThoughtsCaptions: Caption[] = [+ {+ text: 'So',+ startMs: 840,+ endMs: 1040,+ timestampMs: 940,+ confidence: null,+ },+ {+ text: ' far',+ startMs: 1040,+ endMs: 1180,+ timestampMs: 1110,+ confidence: null,+ },+ {+ text: " I've",+ startMs: 1180,+ endMs: 1440,+ timestampMs: 1310,+ confidence: null,+ },+ {+ text: ' only',+ startMs: 1440,+ endMs: 1620,+ timestampMs: 1530,+ confidence: null,+ },+ {+ text: ' done',+ startMs: 1620,+ endMs: 1920,+ timestampMs: 1770,+ confidence: null,+ },+ {+ text: ' about',+ startMs: 1920,+ endMs: 2280,+ timestampMs: 2100,+ confidence: null,+ },+ {+ text: ' four',+ startMs: 2280,+ endMs: 2560,+ timestampMs: 2420,+ confidence: null,+ },+ {+ text: ' rides',+ startMs: 2560,+ endMs: 2740,+ timestampMs: 2650,+ confidence: null,+ },+ {+ text: ' with',+ startMs: 2740,+ endMs: 2980,+ timestampMs: 2860,+ confidence: null,+ },+ {+ text: ' them',+ startMs: 2980,+ endMs: 3140,+ timestampMs: 3060,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' and',+ startMs: 3140,+ endMs: 3340,+ timestampMs: 3240,+ confidence: null,+ },+ {+ text: ' they',+ startMs: 3340,+ endMs: 3500,+ timestampMs: 3420,+ confidence: null,+ },+ {+ text: ' have',+ startMs: 3500,+ endMs: 3680,+ timestampMs: 3590,+ confidence: null,+ },+ {+ text: ' been',+ startMs: 3680,+ endMs: 4080,+ timestampMs: 3880,+ confidence: null,+ },+ {+ text: ' rather',+ startMs: 4080,+ endMs: 4480,+ timestampMs: 4280,+ confidence: null,+ },+ {+ text: ' slow.',+ startMs: 4480,+ endMs: 5020,+ timestampMs: 4750,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' The',+ startMs: 5180,+ endMs: 5400,+ timestampMs: 5290,+ confidence: null,+ },+ {+ text: ' first',+ startMs: 5400,+ endMs: 5600,+ timestampMs: 5500,+ confidence: null,+ },+ {+ text: ' one',+ startMs: 5600,+ endMs: 5760,+ timestampMs: 5680,+ confidence: null,+ },+ {+ text: ' was',+ startMs: 5760,+ endMs: 6020,+ timestampMs: 5890,+ confidence: null,+ },+ {+ text: ' only',+ startMs: 6020,+ endMs: 6280,+ timestampMs: 6150,+ confidence: null,+ },+ {+ text: ' like',+ startMs: 6280,+ endMs: 6680,+ timestampMs: 6480,+ confidence: null,+ },+ {+ text: ' 4',+ startMs: 6680,+ endMs: 7040,+ timestampMs: 6860,+ confidence: null,+ },+ {+ text: ' km',+ startMs: 7040,+ endMs: 7460,+ timestampMs: 7250,+ confidence: null,+ },+ {+ text: ' an',+ startMs: 7460,+ endMs: 7680,+ timestampMs: 7570,+ confidence: null,+ },+ {+ text: ' hour,',+ startMs: 7680,+ endMs: 8320,+ timestampMs: 8000,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' which',+ startMs: 8420,+ endMs: 8600,+ timestampMs: 8510,+ confidence: null,+ },+ {+ text: ' is',+ startMs: 8600,+ endMs: 8740,+ timestampMs: 8670,+ confidence: null,+ },+ {+ text: ' like',+ startMs: 8740,+ endMs: 9060,+ timestampMs: 8900,+ confidence: null,+ },+ {+ text: ' slower',+ startMs: 9060,+ endMs: 9400,+ timestampMs: 9230,+ confidence: null,+ },+ {+ text: ' than',+ startMs: 9400,+ endMs: 9800,+ timestampMs: 9600,+ confidence: null,+ },+ {+ text: ' walking,',+ startMs: 9800,+ endMs: 10740,+ timestampMs: 10270,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' because',+ startMs: 11360,+ endMs: 11560,+ timestampMs: 11460,+ confidence: null,+ },+ {+ text: ' I',+ startMs: 11580,+ endMs: 11720,+ timestampMs: 11650,+ confidence: null,+ },+ {+ text: ' was',+ startMs: 11720,+ endMs: 12020,+ timestampMs: 11870,+ confidence: null,+ },+ {+ text: ' so',+ startMs: 12020,+ endMs: 12740,+ timestampMs: 12380,+ confidence: null,+ },+ {+ text: ' afraid',+ startMs: 12740,+ endMs: 13280,+ timestampMs: 13010,+ confidence: null,+ },+ {+ text: ' whenever',+ startMs: 13280,+ endMs: 13740,+ timestampMs: 13510,+ confidence: null,+ },+ {+ text: ' there',+ startMs: 13740,+ endMs: 14080,+ timestampMs: 13910,+ confidence: null,+ },+ {+ text: ' was',+ startMs: 14080,+ endMs: 14440,+ timestampMs: 14260,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' a',+ startMs: 14440,+ endMs: 15040,+ timestampMs: 14740,+ confidence: null,+ },+ {+ text: ' decline.',+ startMs: 15040,+ endMs: 16700,+ timestampMs: 15870,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' Now',+ startMs: 17000,+ endMs: 17320,+ timestampMs: 17160,+ confidence: null,+ },+ {+ text: ' I',+ startMs: 17320,+ endMs: 17600,+ timestampMs: 17460,+ confidence: null,+ },+ {+ text: ' am',+ startMs: 17600,+ endMs: 18620,+ timestampMs: 18110,+ confidence: null,+ },+ {+ text: ' up',+ startMs: 18620,+ endMs: 18840,+ timestampMs: 18730,+ confidence: null,+ },+ {+ text: ' to',+ startMs: 18840,+ endMs: 19180,+ timestampMs: 19010,+ confidence: null,+ },+ {+ text: ' speed',+ startMs: 19180,+ endMs: 19400,+ timestampMs: 19290,+ confidence: null,+ },+ {+ text: ' a',+ startMs: 19400,+ endMs: 19620,+ timestampMs: 19510,+ confidence: null,+ },+ {+ text: ' bit',+ startMs: 19620,+ endMs: 19900,+ timestampMs: 19760,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' with',+ startMs: 19900,+ endMs: 20300,+ timestampMs: 20100,+ confidence: null,+ },+ {+ text: ' about',+ startMs: 20300,+ endMs: 20660,+ timestampMs: 20480,+ confidence: null,+ },+ {+ text: ' 6',+ startMs: 20660,+ endMs: 20940,+ timestampMs: 20800,+ confidence: null,+ },+ {+ text: ' km',+ startMs: 20940,+ endMs: 21340,+ timestampMs: 21140,+ confidence: null,+ },+ {+ text: ' an',+ startMs: 21360,+ endMs: 21740,+ timestampMs: 21550,+ confidence: null,+ },+ {+ text: ' hour,',+ startMs: 21740,+ endMs: 22400,+ timestampMs: 22070,+ confidence: null,+ },+ {+ text: ' but',+ startMs: 22940,+ endMs: 23140,+ timestampMs: 23040,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' that',+ startMs: 23140,+ endMs: 23300,+ timestampMs: 23220,+ confidence: null,+ },+ {+ text: ' is',+ startMs: 23300,+ endMs: 23560,+ timestampMs: 23430,+ confidence: null,+ },+ {+ text: ' still',+ startMs: 23560,+ endMs: 24000,+ timestampMs: 23780,+ confidence: null,+ },+ {+ text: ' really',+ startMs: 24000,+ endMs: 24280,+ timestampMs: 24140,+ confidence: null,+ },+ {+ text: ' slow',+ startMs: 24280,+ endMs: 24460,+ timestampMs: 24370,+ confidence: null,+ },+ {+ text: ' and',+ startMs: 24460,+ endMs: 24740,+ timestampMs: 24600,+ confidence: null,+ },+ {+ text: ' barely',+ startMs: 24740,+ endMs: 25020,+ timestampMs: 24880,+ confidence: null,+ },+ {+ text: ' faster',+ startMs: 25020,+ endMs: 25300,+ timestampMs: 25160,+ confidence: null,+ },+ {+ text: ' than',+ startMs: 25320,+ endMs: 25560,+ timestampMs: 25440,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' walking.',+ startMs: 25560,+ endMs: 26840,+ timestampMs: 26200,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' I',+ startMs: 27240,+ endMs: 27340,+ timestampMs: 27290,+ confidence: null,+ },+ {+ text: ' will',+ startMs: 27340,+ endMs: 27540,+ timestampMs: 27440,+ confidence: null,+ },+ {+ text: ' also',+ startMs: 27540,+ endMs: 27720,+ timestampMs: 27630,+ confidence: null,+ },+ {+ text: ' get',+ startMs: 27720,+ endMs: 28480,+ timestampMs: 28100,+ confidence: null,+ },+ {+ text: ' a',+ startMs: 28480,+ endMs: 29680,+ timestampMs: 29080,+ confidence: null,+ },+ {+ text: ' brake',+ startMs: 29680,+ endMs: 29940,+ timestampMs: 29810,+ confidence: null,+ },+ {+ text: ' that',+ startMs: 29940,+ endMs: 30180,+ timestampMs: 30060,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' I',+ startMs: 30180,+ endMs: 30360,+ timestampMs: 30270,+ confidence: null,+ },+ {+ text: ' can',+ startMs: 30360,+ endMs: 30660,+ timestampMs: 30510,+ confidence: null,+ },+ {+ text: ' mount',+ startMs: 30660,+ endMs: 30980,+ timestampMs: 30820,+ confidence: null,+ },+ {+ text: ' onto',+ startMs: 30980,+ endMs: 31180,+ timestampMs: 31080,+ confidence: null,+ },+ {+ text: ' my',+ startMs: 31180,+ endMs: 31380,+ timestampMs: 31280,+ confidence: null,+ },+ {+ text: ' shoes',+ startMs: 31380,+ endMs: 31640,+ timestampMs: 31510,+ confidence: null,+ },+ {+ text: ' so',+ startMs: 31640,+ endMs: 31680,+ timestampMs: 31660,+ confidence: null,+ },+ {+ text: ' I',+ startMs: 31680,+ endMs: 31800,+ timestampMs: 31740,+ confidence: null,+ },+ {+ text: ' can',+ startMs: 31800,+ endMs: 31960,+ timestampMs: 31880,+ confidence: null,+ },+ {+ text: ' lean',+ startMs: 31960,+ endMs: 32220,+ timestampMs: 32090,+ confidence: null,+ },+ {+ text: ' back',+ startMs: 32220,+ endMs: 32360,+ timestampMs: 32290,+ confidence: null,+ },+ {+ text: ' a',+ startMs: 32360,+ endMs: 32540,+ timestampMs: 32450,+ confidence: null,+ },+ {+ text: ' bit,',+ startMs: 32540,+ endMs: 32840,+ timestampMs: 32690,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' then',+ startMs: 33220,+ endMs: 33500,+ timestampMs: 33360,+ confidence: null,+ },+ {+ text: ' hopefully',+ startMs: 33500,+ endMs: 33680,+ timestampMs: 33590,+ confidence: null,+ },+ {+ text: ' I',+ startMs: 33680,+ endMs: 33780,+ timestampMs: 33730,+ confidence: null,+ },+ {+ text: ' will',+ startMs: 33780,+ endMs: 33940,+ timestampMs: 33860,+ confidence: null,+ },+ {+ text: ' get',+ startMs: 33940,+ endMs: 34180,+ timestampMs: 34060,+ confidence: null,+ },+ {+ text: ' more',+ startMs: 34180,+ endMs: 34680,+ timestampMs: 34430,+ confidence: null,+ },+ {+ text: ' comfortable',+ startMs: 34680,+ endMs: 35360,+ timestampMs: 35020,+ confidence: null,+ },+ {+ text: ' with',+ startMs: 35360,+ endMs: 35480,+ timestampMs: 35420,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' the',+ startMs: 35480,+ endMs: 35800,+ timestampMs: 35640,+ confidence: null,+ },+ {+ text: ' time',+ startMs: 35800,+ endMs: 36000,+ timestampMs: 35900,+ confidence: null,+ },+ {+ text: ' and',+ startMs: 36000,+ endMs: 36220,+ timestampMs: 36110,+ confidence: null,+ },+ {+ text: ' then',+ startMs: 36220,+ endMs: 36600,+ timestampMs: 36410,+ confidence: null,+ },+ {+ text: ' also',+ startMs: 36600,+ endMs: 37700,+ timestampMs: 37150,+ confidence: null,+ },+ {+ text: ' eventually',+ startMs: 37700,+ endMs: 38320,+ timestampMs: 38010,+ confidence: null,+ },+ {+ text: ' get',+ startMs: 38320,+ endMs: 38480,+ timestampMs: 38400,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' up',+ startMs: 38480,+ endMs: 38620,+ timestampMs: 38550,+ confidence: null,+ },+ {+ text: ' to',+ startMs: 38620,+ endMs: 38860,+ timestampMs: 38740,+ confidence: null,+ },+ {+ text: ' speed.',+ startMs: 38860,+ endMs: 39160,+ timestampMs: 39010,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' Overall,',+ startMs: 39640,+ endMs: 39720,+ timestampMs: 39680,+ confidence: null,+ },+ {+ text: ' these',+ startMs: 39900,+ endMs: 40040,+ timestampMs: 39970,+ confidence: null,+ },+ {+ text: ' are',+ startMs: 40040,+ endMs: 40200,+ timestampMs: 40120,+ confidence: null,+ },+ {+ text: ' pretty',+ startMs: 40200,+ endMs: 40500,+ timestampMs: 40350,+ confidence: null,+ },+ {+ text: ' fun.',+ startMs: 40500,+ endMs: 40780,+ timestampMs: 40640,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' I',+ startMs: 40880,+ endMs: 40980,+ timestampMs: 40930,+ confidence: null,+ },+ {+ text: ' would',+ startMs: 40980,+ endMs: 41260,+ timestampMs: 41120,+ confidence: null,+ },+ {+ text: ' say',+ startMs: 41260,+ endMs: 41980,+ timestampMs: 41620,+ confidence: null,+ },+ {+ text: ' you',+ startMs: 41960,+ endMs: 42180,+ timestampMs: 42070,+ confidence: null,+ },+ {+ text: ' do',+ startMs: 42180,+ endMs: 42420,+ timestampMs: 42300,+ confidence: null,+ },+ {+ text: ' look',+ startMs: 42420,+ endMs: 43000,+ timestampMs: 42710,+ confidence: null,+ },+ {+ text: ' super',+ startMs: 43000,+ endMs: 43400,+ timestampMs: 43200,+ confidence: null,+ },+ {+ text: ' goofy',+ startMs: 43400,+ endMs: 43800,+ timestampMs: 43600,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' if',+ startMs: 43800,+ endMs: 43960,+ timestampMs: 43880,+ confidence: null,+ },+ {+ text: " you're",+ startMs: 43960,+ endMs: 44600,+ timestampMs: 44280,+ confidence: null,+ },+ {+ text: ' riding',+ startMs: 44600,+ endMs: 44760,+ timestampMs: 44680,+ confidence: null,+ },+ {+ text: ' around',+ startMs: 45040,+ endMs: 45960,+ timestampMs: 45500,+ confidence: null,+ },+ {+ text: ' your',+ startMs: 46340,+ endMs: 47160,+ timestampMs: 46750,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' neighborhood',+ startMs: 47160,+ endMs: 47600,+ timestampMs: 47380,+ confidence: null,+ },+ {+ text: ' with',+ startMs: 47600,+ endMs: 47980,+ timestampMs: 47790,+ confidence: null,+ },+ {+ text: ' them',+ startMs: 47980,+ endMs: 49120,+ timestampMs: 48550,+ confidence: null,+ },+ {+ text: ' and',+ startMs: 49120,+ endMs: 49400,+ timestampMs: 49260,+ confidence: null,+ },+ {+ text: ' you',+ startMs: 49400,+ endMs: 49680,+ timestampMs: 49540,+ confidence: null,+ },+ {+ text: ' will',+ startMs: 49680,+ endMs: 49920,+ timestampMs: 49800,+ confidence: null,+ },+ {+ text: ' get',+ startMs: 49920,+ endMs: 50040,+ timestampMs: 49980,+ confidence: null,+ },+ {+ text: ' a',+ startMs: 50040,+ endMs: 50200,+ timestampMs: 50120,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' lot',+ startMs: 50200,+ endMs: 50440,+ timestampMs: 50320,+ confidence: null,+ },+ {+ text: ' of',+ startMs: 50440,+ endMs: 50800,+ timestampMs: 50620,+ confidence: null,+ },+ {+ text: ' stares',+ startMs: 50800,+ endMs: 51160,+ timestampMs: 50980,+ confidence: null,+ },+ {+ text: ' and',+ startMs: 52020,+ endMs: 52800,+ timestampMs: 52410,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' not',+ startMs: 53680,+ endMs: 54960,+ timestampMs: 54320,+ confidence: null,+ },+ {+ text: ' in',+ startMs: 54960,+ endMs: 55040,+ timestampMs: 55000,+ confidence: null,+ },+ {+ text: ' a',+ startMs: 55040,+ endMs: 55160,+ timestampMs: 55100,+ confidence: null,+ },+ {+ text: ' good',+ startMs: 55160,+ endMs: 55320,+ timestampMs: 55240,+ confidence: null,+ },+ {+ text: ' way',+ startMs: 55460,+ endMs: 56460,+ timestampMs: 55960,+ confidence: null,+ },+ {+ text: ' but',+ startMs: 57240,+ endMs: 57980,+ timestampMs: 57610,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' hey',+ startMs: 57980,+ endMs: 58380,+ timestampMs: 58180,+ confidence: null,+ },+ {+ text: ' if',+ startMs: 58380,+ endMs: 58660,+ timestampMs: 58520,+ confidence: null,+ },+ {+ text: ' you',+ startMs: 58660,+ endMs: 59120,+ timestampMs: 58890,+ confidence: null,+ },+ {+ text: ' are',+ startMs: 59120,+ endMs: 59260,+ timestampMs: 59190,+ confidence: null,+ },+ {+ text: ' the',+ startMs: 59260,+ endMs: 59400,+ timestampMs: 59330,+ confidence: null,+ },+ {+ text: ' type',+ startMs: 59400,+ endMs: 59540,+ timestampMs: 59470,+ confidence: null,+ },+ {+ text: ' of',+ startMs: 59540,+ endMs: 59960,+ timestampMs: 59750,+ confidence: null,+ },+ {+ text: ' person',+ startMs: 59960,+ endMs: 60720,+ timestampMs: 60340,+ confidence: null,+ },+ {+ text: ' who',+ startMs: 60940,+ endMs: 62140,+ timestampMs: 61540,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' who',+ startMs: 62540,+ endMs: 63160,+ timestampMs: 62850,+ confidence: null,+ },+ {+ text: ' does',+ startMs: 63820,+ endMs: 63980,+ timestampMs: 63900,+ confidence: null,+ },+ {+ text: ' not',+ startMs: 63980,+ endMs: 64240,+ timestampMs: 64110,+ confidence: null,+ },+ {+ text: ' take',+ startMs: 64240,+ endMs: 64360,+ timestampMs: 64300,+ confidence: null,+ },+ {+ text: ' it',+ startMs: 64360,+ endMs: 64500,+ timestampMs: 64430,+ confidence: null,+ },+ {+ text: ' too',+ startMs: 64500,+ endMs: 64900,+ timestampMs: 64700,+ confidence: null,+ },+ {+ text: ' seriously',+ startMs: 64900,+ endMs: 65200,+ timestampMs: 65050,+ confidence: null,+ },+ {+ text: ' and',+ startMs: 65300,+ endMs: 65700,+ timestampMs: 65500,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' is',+ startMs: 65700,+ endMs: 65960,+ timestampMs: 65830,+ confidence: null,+ },+ {+ text: ' also',+ startMs: 65960,+ endMs: 66320,+ timestampMs: 66140,+ confidence: null,+ },+ {+ text: ' not',+ startMs: 66320,+ endMs: 67020,+ timestampMs: 66670,+ confidence: null,+ },+ {+ text: ' afraid',+ startMs: 67020,+ endMs: 67480,+ timestampMs: 67250,+ confidence: null,+ },+ {+ text: ' to',+ startMs: 67480,+ endMs: 68220,+ timestampMs: 67850,+ confidence: null,+ },+ {+ text: ' make',+ startMs: 68220,+ endMs: 68380,+ timestampMs: 68300,+ confidence: null,+ },+ {+ text: ' a',+ startMs: 68380,+ endMs: 68800,+ timestampMs: 68590,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' conversation',+ startMs: 68800,+ endMs: 69160,+ timestampMs: 68980,+ confidence: null,+ },+ {+ text: ' out',+ startMs: 69160,+ endMs: 69300,+ timestampMs: 69230,+ confidence: null,+ },+ {+ text: ' of',+ startMs: 69300,+ endMs: 69580,+ timestampMs: 69440,+ confidence: null,+ },+ {+ text: ' it,',+ startMs: 69580,+ endMs: 70120,+ timestampMs: 69850,+ confidence: null,+ },+ {+ text: ' then',+ startMs: 70680,+ endMs: 71100,+ timestampMs: 70890,+ confidence: null,+ },+ {+ text: ' I',+ startMs: 71100,+ endMs: 71260,+ timestampMs: 71180,+ confidence: null,+ },+ {+ text: ' think',+ startMs: 71260,+ endMs: 71460,+ timestampMs: 71360,+ confidence: null,+ },+ {+ text: ' this',+ startMs: 71460,+ endMs: 71660,+ timestampMs: 71560,+ confidence: null,+ },+ {+ text: ' is',+ startMs: 71660,+ endMs: 71800,+ timestampMs: 71730,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' like',+ startMs: 71800,+ endMs: 72220,+ timestampMs: 72010,+ confidence: null,+ },+ {+ text: ' actually',+ startMs: 72220,+ endMs: 72920,+ timestampMs: 72570,+ confidence: null,+ },+ {+ text: ' an',+ startMs: 72920,+ endMs: 73440,+ timestampMs: 73180,+ confidence: null,+ },+ {+ text: ' added',+ startMs: 73440,+ endMs: 73860,+ timestampMs: 73650,+ confidence: null,+ },+ {+ text: ' bonus',+ startMs: 73860,+ endMs: 73940,+ timestampMs: 73900,+ confidence: null,+ },+ {+ text: ' that',+ startMs: 74220,+ endMs: 74940,+ timestampMs: 74580,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' you',+ startMs: 74940,+ endMs: 75120,+ timestampMs: 75030,+ confidence: null,+ },+ {+ text: ' get',+ startMs: 75120,+ endMs: 75300,+ timestampMs: 75210,+ confidence: null,+ },+ {+ text: ' to',+ startMs: 75300,+ endMs: 75560,+ timestampMs: 75430,+ confidence: null,+ },+ {+ text: ' talk',+ startMs: 75560,+ endMs: 75840,+ timestampMs: 75700,+ confidence: null,+ },+ {+ text: ' with',+ startMs: 75840,+ endMs: 76140,+ timestampMs: 75990,+ confidence: null,+ },+ {+ text: ' other',+ startMs: 76140,+ endMs: 76500,+ timestampMs: 76320,+ confidence: null,+ },+ {+ text: ' people',+ startMs: 76500,+ endMs: 76780,+ timestampMs: 76640,+ confidence: null,+ },+ {+ text: ' who',+ startMs: 76800,+ endMs: 77720,+ timestampMs: 77260,+ confidence: null,+ },+ {+ text: ' look',+ startMs: 77720,+ endMs: 77880,+ timestampMs: 77800,+ confidence: null,+ pageBreakAfter: true,+ },+ {+ text: ' at',+ startMs: 77880,+ endMs: 78120,+ timestampMs: 78000,+ confidence: null,+ },+ {+ text: ' you',+ startMs: 78120,+ endMs: 78640,+ timestampMs: 78380,+ confidence: null,+ },+ {+ text: ' curiously.',+ startMs: 78640,+ endMs: 79140,+ timestampMs: 78890,+ confidence: null,+ pageBreakAfter: true,+ },+];++const splitMs = (817 / 30) * 1000;++export const closingThoughtsBeforeCaptions = closingThoughtsCaptions.filter(+ (caption) => caption.startMs < splitMs,+);++export const closingThoughtsAfterCaptions: Caption[] = closingThoughtsCaptions+ .filter((caption) => caption.endMs > splitMs)+ .map((caption) => ({+ ...caption,+ startMs: Math.max(0, caption.startMs - splitMs),+ endMs: caption.endMs - splitMs,+ timestampMs:+ caption.timestampMs === null+ ? null+ : Math.max(0, caption.timestampMs - splitMs),+ }));diff --git a/packages/jonnys-videos/src/roller-skis/color-grade.ts b/packages/jonnys-videos/src/roller-skis/color-grade.tsnew file mode 100644index 0000000000..a6618d46d6--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis/color-grade.ts@@ -0,0 +1,58 @@+type Color = readonly [number, number, number];++type Grade = {+ readonly contrast: number;+ readonly saturation: number;+ readonly shadowTint: Color;+ readonly highlightTint: Color;+};++const clamp = (value: number) => Math.min(1, Math.max(0, value));++// A compact 3D .cube LUT lets the same look follow each source clip's trims.+const makeLut = (title: string, grade: Grade) => {+ const size = 17;+ const rows = [`TITLE "${title}"`, `LUT_3D_SIZE ${size}`];++ for (let blue = 0; blue < size; blue++) {+ for (let green = 0; green < size; green++) {+ for (let red = 0; red < size; red++) {+ const input = [red, green, blue].map((value) => value / (size - 1));+ const curved = input.map(+ (value) =>+ value + grade.contrast * (value - 0.5) * 4 * value * (1 - value),+ );+ const luma =+ curved[0] * 0.2126 + curved[1] * 0.7152 + curved[2] * 0.0722;+ const shadowWeight = 4 * luma * (1 - luma) ** 2;+ const highlightWeight = 4 * luma ** 2 * (1 - luma);+ const output = curved.map((value, channel) =>+ clamp(+ luma ++ (value - luma) * grade.saturation ++ grade.shadowTint[channel] * shadowWeight ++ grade.highlightTint[channel] * highlightWeight,+ ),+ );++ rows.push(output.map((value) => value.toFixed(6)).join(' '));+ }+ }+ }++ return rows.join('\n');+};++export const studioLut = makeLut('Natural studio', {+ contrast: 0.09,+ saturation: 1.025,+ shadowTint: [-0.002, 0, 0.003],+ highlightTint: [0.002, 0.001, -0.001],+});++export const outdoorLut = makeLut('Clear alpine daylight', {+ contrast: 0.13,+ saturation: 1.055,+ shadowTint: [-0.004, 0.001, 0.006],+ highlightTint: [0.007, 0.003, -0.003],+});diff --git a/packages/jonnys-videos/src/roller-skis/nordic/NordicRoutes.tsx b/packages/jonnys-videos/src/roller-skis/nordic/NordicRoutes.tsxnew file mode 100644index 0000000000..e58d6a69b0--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis/nordic/NordicRoutes.tsx@@ -0,0 +1,292 @@+import type {CSSProperties} from 'react';+import {+ AbsoluteFill,+ Easing,+ Interactive,+ interpolate,+ interpolateColors,+ type InteractivitySchema,+ useCurrentFrame,+ useVideoConfig,+} from 'remotion';+import {nordicRoutes} from './routes';++const CHUNK_SIZE = 8;+const clamp = (value: number) => Math.min(1, Math.max(0, value));++// Small contiguous paths let the trail fade by age, including on routes that+// double back over themselves. All geometry is prepared once, outside playback.+const routeGeometry = nordicRoutes.map((route) => {+ const chunks: {d: string; start: number; end: number}[] = [];+ const last = route.points.length - 1;+ for (let start = 0; start < last; start += CHUNK_SIZE) {+ const end = Math.min(start + CHUNK_SIZE, last);+ chunks.push({+ start: start / last,+ end: end / last,+ d: route.points+ .slice(start, end + 1)+ .map(([x, y], index) => `${index === 0 ? 'M' : 'L'}${x},${y}`)+ .join(' '),+ });+ }+ return chunks;+});++type RoutePanelProps = {+ routeIndex: number;+ accentColor: string;+ whiteOverlay?: boolean;+ style?: CSSProperties;+};++const RoutePanelInner: React.FC<RoutePanelProps> = ({+ routeIndex,+ accentColor,+ whiteOverlay = false,+ style,+}) => {+ const frame = useCurrentFrame();+ const {fps} = useVideoConfig();+ const route = nordicRoutes[routeIndex];+ // Equal visual pacing keeps all four outlines calm. This is a route reveal,+ // not a real-time race; the figures remain the original GPX statistics.+ const progress = interpolate(frame, [0.3 * fps, 4.8 * fps], [0, 1], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: Easing.bezier(0.42, 0, 0.58, 1),+ });+ const headIndex = progress * (route.points.length - 1);+ const before = route.points[Math.floor(headIndex)];+ const after =+ route.points[Math.min(Math.floor(headIndex) + 1, route.points.length - 1)];+ const headX = before[0] + (after[0] - before[0]) * (headIndex % 1);+ const headY = before[1] + (after[1] - before[1]) * (headIndex % 1);+ const settling = Math.max(0, frame / fps - 4.8) / 0.75;++ return (+ <Interactive.Div+ style={{+ position: 'absolute',+ width: 760,+ height: 400,+ ...style,+ }}+ >+ <svg+ width={760}+ height={270}+ viewBox="0 0 760 270"+ aria-label={`${route.label} Nordic Ski route`}+ style={{+ position: 'absolute',+ left: 0,+ top: 42,+ overflow: 'visible',+ filter: whiteOverlay+ ? 'drop-shadow(0 0 42px rgba(0, 0, 0, 0.95)) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.85))'+ : undefined,+ }}+ >+ {routeGeometry[routeIndex].map((chunk, index) => {+ const visible = clamp(+ (progress - chunk.start) / (chunk.end - chunk.start),+ );+ if (visible <= 0) return null;+ const age = Math.max(0, progress - chunk.end) + settling;+ return (+ <path+ key={index}+ d={chunk.d}+ pathLength={1}+ fill="none"+ // Blend into the paper instead of using per-path transparency:+ // opaque round joins avoid dark beads where adjacent paths meet.+ stroke={+ whiteOverlay+ ? '#FFFFFF'+ : interpolateColors(+ 0.22 + 0.78 * Math.exp(-age * 8),+ [0, 1],+ ['#F7F6F2', accentColor],+ )+ }+ opacity={whiteOverlay ? 0.22 + 0.78 * Math.exp(-age * 8) : 1}+ strokeWidth={4.5}+ strokeLinecap="round"+ strokeLinejoin="round"+ strokeDasharray={`${visible} 2`}+ />+ );+ })}+ <circle+ cx={headX}+ cy={headY}+ r={5}+ fill={whiteOverlay ? '#FFFFFF' : accentColor}+ opacity={interpolate(+ frame,+ [0.275 * fps, 0.45 * fps, 4.8 * fps, 5.25 * fps],+ [0, 1, 1, 0],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ )}+ />+ </svg>+ <div style={{position: 'absolute', left: 0, top: 322}}>+ <div+ style={{+ color: whiteOverlay ? 'rgba(255, 255, 255, 0.85)' : '#85847D',+ fontSize: 19,+ marginBottom: 9,+ }}+ >+ Distance+ </div>+ <div style={{fontSize: 48, lineHeight: 1, letterSpacing: -1.6}}>+ {route.distanceKm.toFixed(2)}+ <span+ style={{+ color: whiteOverlay ? 'rgba(255, 255, 255, 0.85)' : '#85847D',+ fontSize: 24,+ marginLeft: 10,+ letterSpacing: 0,+ }}+ >+ km+ </span>+ </div>+ </div>+ <div style={{position: 'absolute', left: 360, top: 322}}>+ <div+ style={{+ color: whiteOverlay ? 'rgba(255, 255, 255, 0.85)' : '#85847D',+ fontSize: 19,+ marginBottom: 9,+ }}+ >+ Average speed+ </div>+ <div style={{fontSize: 48, lineHeight: 1, letterSpacing: -1.6}}>+ {route.averageSpeedKmh.toFixed(0)}+ <span+ style={{+ color: whiteOverlay ? 'rgba(255, 255, 255, 0.85)' : '#85847D',+ fontSize: 24,+ marginLeft: 0,+ letterSpacing: 0,+ }}+ >+ km/h+ </span>+ </div>+ </div>+ </Interactive.Div>+ );+};++const routePanelSchema = {+ routeIndex: {+ type: 'number',+ default: 0,+ min: 0,+ max: 3,+ integer: true,+ hiddenFromList: false,+ keyframable: false,+ description: 'GPX track',+ },+ accentColor: {+ type: 'color',+ default: '#FC4C02',+ description: 'Route color',+ },+ whiteOverlay: {+ type: 'boolean',+ default: false,+ description: 'Show white routes and stats without a background',+ },+} as const satisfies InteractivitySchema;++const RoutePanel = Interactive.withSchema({+ Component: RoutePanelInner,+ componentName: '<RoutePanel>',+ schema: routePanelSchema,+ wrapInSequence: true,+});++export const NordicRoutes: React.FC<{whiteOverlay?: boolean}> = ({+ whiteOverlay = false,+}) => {+ const frame = useCurrentFrame();+ const {fps, durationInFrames} = useVideoConfig();++ return (+ <AbsoluteFill+ style={{+ backgroundColor: whiteOverlay ? 'transparent' : '#F7F6F2',+ color: whiteOverlay ? '#FFFFFF' : '#292C29',+ textShadow: whiteOverlay+ ? '0 0 40px rgba(0, 0, 0, 0.95), 0 2px 10px rgba(0, 0, 0, 0.9)'+ : undefined,+ fontFamily: 'Helvetica Neue, Helvetica, Arial, sans-serif',+ fontWeight: 400,+ fontVariantNumeric: 'tabular-nums',+ }}+ >+ <Interactive.Div+ name="Four routes fade"+ premountFor={fps}+ style={{+ position: 'absolute',+ inset: 0,+ opacity: interpolate(+ frame,+ [0, 0.25 * fps, 5.25 * fps, durationInFrames - 1],+ [0, 1, 1, 0],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: Easing.bezier(0.42, 0, 0.58, 1),+ },+ ),+ }}+ >+ <RoutePanel+ name="Morning route"+ routeIndex={0}+ accentColor="#FC4C02"+ whiteOverlay={whiteOverlay}+ premountFor={fps}+ style={{left: 100, top: 90}}+ />+ <RoutePanel+ name="Lunch route"+ routeIndex={1}+ accentColor="#FC4C02"+ whiteOverlay={whiteOverlay}+ premountFor={fps}+ style={{left: 1060, top: 90}}+ />+ <RoutePanel+ name="Afternoon route"+ routeIndex={2}+ accentColor="#FC4C02"+ whiteOverlay={whiteOverlay}+ premountFor={fps}+ style={{left: 100, top: whiteOverlay ? 460 : 610}}+ />+ <RoutePanel+ name="Evening route"+ routeIndex={3}+ accentColor="#FC4C02"+ whiteOverlay={whiteOverlay}+ premountFor={fps}+ style={{left: 1060, top: whiteOverlay ? 460 : 610}}+ />+ </Interactive.Div>+ </AbsoluteFill>+ );+};diff --git a/packages/jonnys-videos/src/roller-skis/nordic/routes.ts b/packages/jonnys-videos/src/roller-skis/nordic/routes.tsnew file mode 100644index 0000000000..a5ae552019--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis/nordic/routes.ts@@ -0,0 +1,3130 @@+// Generated from the original roller-skis project's Nordic GPX exports.+// Average speed includes recorded pauses. Do not hand-edit.+export type NordicRoute = {+ id: string;+ label: string;+ source: string;+ distanceKm: number;+ elapsedSeconds: number;+ averageSpeedKmh: number;+ points: number[][];+};++export const nordicRoutes: NordicRoute[] = [+ {+ id: 'morning',+ label: 'Morning',+ source: 'Morning_Nordic_Ski.gpx',+ distanceKm: 3.391834,+ elapsedSeconds: 3733.0,+ averageSpeedKmh: 3.270989,+ points: [+ [74.443, 72.045],+ [74.415, 70.845],+ [74.388, 69.644],+ [74.361, 68.444],+ [73.723, 67.587],+ [73.435, 68.466],+ [73.761, 67.347],+ [72.981, 67.637],+ [72.55, 68.284],+ [71.706, 67.717],+ [71.274, 67.647],+ [70.344, 67.042],+ [69.792, 65.983],+ [69.741, 64.917],+ [69.972, 63.798],+ [70.268, 62.667],+ [70.733, 61.572],+ [71.12, 60.436],+ [71.503, 59.305],+ [71.874, 58.164],+ [72.3, 57.042],+ [72.724, 55.919],+ [73.114, 54.784],+ [73.475, 53.652],+ [73.937, 52.549],+ [74.51, 51.495],+ [75.176, 50.499],+ [75.638, 49.4],+ [75.941, 48.239],+ [76.406, 47.141],+ [76.746, 45.991],+ [77.144, 44.86],+ [77.368, 43.683],+ [77.861, 42.594],+ [78.41, 41.526],+ [78.658, 40.363],+ [79.109, 39.255],+ [79.464, 38.11],+ [79.946, 37.011],+ [80.333, 35.907],+ [80.768, 34.789],+ [81.325, 33.769],+ [81.624, 32.61],+ [82.036, 31.494],+ [82.44, 30.368],+ [82.976, 29.302],+ [83.24, 28.142],+ [83.695, 27.037],+ [84.168, 25.938],+ [84.574, 24.809],+ [85.179, 23.782],+ [85.768, 22.754],+ [86.264, 21.67],+ [87.059, 20.778],+ [88.127, 20.302],+ [89.307, 20.248],+ [90.451, 20.089],+ [91.549, 20.559],+ [92.663, 20.996],+ [93.773, 21.453],+ [94.835, 22.008],+ [95.865, 22.613],+ [96.982, 23.049],+ [98.033, 23.628],+ [99.126, 24.123],+ [100.199, 24.649],+ [101.257, 25.214],+ [102.334, 25.735],+ [103.389, 26.301],+ [104.202, 27.162],+ [105.203, 27.824],+ [106.245, 28.408],+ [107.193, 29.123],+ [108.157, 29.824],+ [108.985, 30.669],+ [110.031, 31.259],+ [111.035, 31.914],+ [112.023, 32.596],+ [112.982, 33.288],+ [114.057, 33.797],+ [115.084, 34.415],+ [116.062, 35.054],+ [116.42, 35.491],+ [116.227, 35.705],+ [115.689, 35.271],+ [115.939, 34.907],+ [116.449, 35.019],+ [117.02, 35.922],+ [117.931, 36.696],+ [118.871, 37.426],+ [119.907, 38.024],+ [120.808, 38.814],+ [121.772, 39.528],+ [122.633, 40.344],+ [123.535, 41.127],+ [124.531, 41.791],+ [125.567, 42.396],+ [126.604, 42.97],+ [127.718, 43.413],+ [128.818, 43.895],+ [129.965, 44.243],+ [131.103, 44.624],+ [132.224, 45.054],+ [133.297, 45.588],+ [134.426, 45.994],+ [135.547, 46.422],+ [136.682, 46.812],+ [137.838, 47.131],+ [138.991, 47.463],+ [140.144, 47.799],+ [141.314, 48.059],+ [142.487, 48.311],+ [143.674, 48.492],+ [144.848, 48.738],+ [146.019, 48.999],+ [147.195, 49.238],+ [148.38, 49.426],+ [149.564, 49.607],+ [150.739, 49.83],+ [151.936, 49.89],+ [153.131, 49.996],+ [154.323, 50.127],+ [155.517, 50.196],+ [156.697, 50.418],+ [157.891, 50.539],+ [159.089, 50.61],+ [160.288, 50.64],+ [161.487, 50.675],+ [162.676, 50.517],+ [163.857, 50.306],+ [165.04, 50.105],+ [166.229, 49.944],+ [167.416, 49.761],+ [168.599, 49.56],+ [169.785, 49.385],+ [170.972, 49.206],+ [172.159, 49.027],+ [173.341, 48.818],+ [174.523, 48.609],+ [175.7, 48.377],+ [176.89, 48.216],+ [178.077, 48.045],+ [179.245, 47.805],+ [180.425, 47.662],+ [181.623, 47.597],+ [182.806, 47.396],+ [183.994, 47.222],+ [185.185, 47.074],+ [186.376, 46.923],+ [187.557, 46.711],+ [188.742, 46.535],+ [189.926, 46.353],+ [191.11, 46.245],+ [192.304, 46.325],+ [193.503, 46.355],+ [194.635, 46.147],+ [195.821, 45.985],+ [197.014, 45.863],+ [198.2, 45.706],+ [199.385, 45.629],+ [200.585, 45.657],+ [201.78, 45.55],+ [202.977, 45.537],+ [204.177, 45.509],+ [205.377, 45.509],+ [206.557, 45.348],+ [207.736, 45.527],+ [208.937, 45.509],+ [210.132, 45.602],+ [211.331, 45.654],+ [212.531, 45.644],+ [213.729, 45.709],+ [214.923, 45.792],+ [216.113, 45.671],+ [217.31, 45.747],+ [218.502, 45.887],+ [219.694, 46.031],+ [220.891, 46.117],+ [222.086, 46.233],+ [223.285, 46.293],+ [224.462, 46.513],+ [225.661, 46.554],+ [226.862, 46.566],+ [228.062, 46.566],+ [229.262, 46.549],+ [230.461, 46.481],+ [231.656, 46.366],+ [232.85, 46.245],+ [234.047, 46.157],+ [235.244, 46.072],+ [236.435, 45.916],+ [237.622, 45.744],+ [238.819, 45.664],+ [240.017, 45.594],+ [241.209, 45.482],+ [242.401, 45.364],+ [243.597, 45.267],+ [244.795, 45.185],+ [245.993, 45.101],+ [247.19, 45.15],+ [248.389, 45.214],+ [249.579, 45.367],+ [250.764, 45.555],+ [251.94, 45.793],+ [253.126, 45.978],+ [254.32, 45.945],+ [255.505, 45.756],+ [256.695, 45.595],+ [257.859, 45.631],+ [259.019, 45.397],+ [260.216, 45.3],+ [261.415, 45.244],+ [262.613, 45.167],+ [263.803, 45.015],+ [264.999, 44.95],+ [266.188, 44.811],+ [267.386, 44.783],+ [268.56, 44.574],+ [269.758, 44.502],+ [270.951, 44.377],+ [272.147, 44.282],+ [273.336, 44.327],+ [274.531, 44.377],+ [275.542, 44.511],+ [276.7, 44.657],+ [277.888, 44.602],+ [279.084, 44.662],+ [280.263, 44.846],+ [281.455, 44.813],+ [282.649, 44.72],+ [283.846, 44.632],+ [285.042, 44.537],+ [286.239, 44.448],+ [287.438, 44.379],+ [288.637, 44.33],+ [289.831, 44.2],+ [291.028, 44.148],+ [292.227, 44.088],+ [293.423, 44.014],+ [294.62, 43.938],+ [295.818, 43.876],+ [297.018, 43.859],+ [298.218, 43.82],+ [299.417, 43.771],+ [300.611, 43.665],+ [301.811, 43.665],+ [303.011, 43.654],+ [304.209, 43.574],+ [305.407, 43.5],+ [306.607, 43.484],+ [307.741, 43.574],+ [308.8, 43.054],+ [309.902, 42.581],+ [311.071, 42.426],+ [312.27, 42.383],+ [313.464, 42.266],+ [314.659, 42.16],+ [315.844, 42.142],+ [317.041, 42.147],+ [318.238, 42.063],+ [319.438, 42.04],+ [320.636, 41.956],+ [321.833, 41.872],+ [323.033, 41.852],+ [324.233, 41.827],+ [325.432, 41.812],+ [326.631, 41.77],+ [327.83, 41.715],+ [329.03, 41.7],+ [330.231, 41.693],+ [331.43, 41.67],+ [332.63, 41.64],+ [333.831, 41.64],+ [335.03, 41.588],+ [336.23, 41.549],+ [337.427, 41.489],+ [338.627, 41.445],+ [339.822, 41.35],+ [341.013, 41.287],+ [342.212, 41.241],+ [343.409, 41.272],+ [344.604, 41.16],+ [345.796, 41.171],+ [346.987, 41.251],+ [348.173, 41.295],+ [349.358, 41.139],+ [350.497, 40.826],+ [351.684, 40.673],+ [352.642, 41.268],+ [353.709, 41.796],+ [354.743, 42.364],+ [355.669, 42.545],+ [356.77, 42.964],+ [357.832, 43.522],+ [358.779, 44.182],+ [358.783, 45.192],+ [358.692, 46.385],+ [358.63, 47.57],+ [358.656, 48.769],+ [358.692, 49.967],+ [358.65, 51.165],+ [358.551, 52.362],+ [358.431, 53.556],+ [358.373, 54.754],+ [358.406, 55.952],+ [358.385, 57.152],+ [358.356, 58.352],+ [358.303, 59.55],+ [358.237, 60.748],+ [358.278, 61.946],+ [358.341, 63.144],+ [358.43, 64.341],+ [358.547, 65.535],+ [358.662, 66.728],+ [358.742, 67.922],+ [358.909, 69.109],+ [359.096, 70.281],+ [359.437, 71.421],+ [359.699, 72.586],+ [360.01, 73.745],+ [360.442, 74.858],+ [360.759, 76.016],+ [361.087, 77.171],+ [361.447, 78.314],+ [361.775, 79.468],+ [362.094, 80.622],+ [362.495, 81.74],+ [362.65, 82.489],+ [363.089, 83.153],+ [363.28, 83.643],+ [363.64, 84.783],+ [363.949, 85.643],+ [363.972, 86.165],+ [364.542, 87.175],+ [364.777, 88.349],+ [364.99, 89.525],+ [365.092, 90.714],+ [365.059, 91.907],+ [365.122, 93.088],+ [365.215, 94.275],+ [365.233, 95.464],+ [365.075, 96.609],+ [365.029, 97.16],+ [364.894, 98.047],+ [364.895, 98.819],+ [364.794, 99.995],+ [364.797, 101.175],+ [365.21, 101.965],+ [366.154, 102.682],+ [367.246, 103.132],+ [368.377, 103.529],+ [369.543, 103.808],+ [370.729, 103.963],+ [371.893, 104.231],+ [373.071, 104.415],+ [374.222, 104.754],+ [375.357, 105.139],+ [376.476, 105.564],+ [377.573, 106.049],+ [378.638, 106.577],+ [379.073, 106.648],+ [379.038, 106.665],+ [379.733, 106.711],+ [379.411, 106.762],+ [379.272, 106.771],+ [379.569, 106.979],+ [380.612, 107.562],+ [381.696, 108.062],+ [382.759, 108.616],+ [383.835, 109.146],+ [384.936, 109.625],+ [385.978, 110.215],+ [387.047, 110.754],+ [388.084, 111.357],+ [389.164, 111.877],+ [390.147, 112.555],+ [391.164, 113.171],+ [392.178, 113.806],+ [393.166, 114.481],+ [394.124, 115.183],+ [395.129, 115.834],+ [396.077, 116.56],+ [397.078, 117.223],+ [398.039, 117.941],+ [398.927, 118.747],+ [399.885, 119.468],+ [400.875, 120.143],+ [401.823, 120.87],+ [402.815, 121.544],+ [403.76, 122.278],+ [404.746, 122.96],+ [405.685, 123.708],+ [406.621, 124.459],+ [407.581, 125.18],+ [408.547, 125.892],+ [409.47, 126.658],+ [410.434, 127.373],+ [411.366, 128.129],+ [412.318, 128.857],+ [413.318, 129.519],+ [414.276, 130.242],+ [415.247, 130.947],+ [416.209, 131.665],+ [417.165, 132.389],+ [418.171, 133.04],+ [419.177, 133.692],+ [420.175, 134.349],+ [421.226, 134.913],+ [422.214, 135.595],+ [423.227, 136.238],+ [424.234, 136.875],+ [425.306, 137.328],+ [426.402, 137.787],+ [427.507, 138.256],+ [428.643, 138.638],+ [429.791, 138.968],+ [430.926, 139.347],+ [432.064, 139.73],+ [433.212, 140.074],+ [434.351, 140.445],+ [435.499, 140.796],+ [436.648, 141.142],+ [437.797, 141.489],+ [438.943, 141.846],+ [440.083, 142.221],+ [441.209, 142.634],+ [442.336, 143.049],+ [443.463, 143.461],+ [444.589, 143.875],+ [445.741, 144.211],+ [446.882, 144.581],+ [448.006, 145.001],+ [449.147, 145.374],+ [450.288, 145.747],+ [451.425, 146.129],+ [452.541, 146.563],+ [453.664, 146.984],+ [454.771, 147.447],+ [455.863, 147.943],+ [456.959, 148.43],+ [458.011, 149.006],+ [459.042, 149.619],+ [460.107, 150.169],+ [461.159, 150.745],+ [462.221, 151.303],+ [463.235, 151.945],+ [464.285, 152.526],+ [465.364, 153.048],+ [466.469, 153.517],+ [467.599, 153.923],+ [468.736, 154.305],+ [469.905, 154.571],+ [471.089, 154.768],+ [472.274, 154.951],+ [473.466, 155.087],+ [474.656, 155.244],+ [475.853, 155.329],+ [477.052, 155.392],+ [478.251, 155.451],+ [479.446, 155.561],+ [480.645, 155.607],+ [481.845, 155.637],+ [483.045, 155.619],+ [484.245, 155.586],+ [485.425, 155.791],+ [486.625, 155.794],+ [487.824, 155.836],+ [489.019, 155.953],+ [490.216, 156.044],+ [491.415, 156.1],+ [492.614, 156.141],+ [493.813, 156.198],+ [495.008, 156.294],+ [496.203, 156.406],+ [497.4, 156.494],+ [498.6, 156.535],+ [499.791, 156.667],+ [500.981, 156.83],+ [502.172, 156.976],+ [503.366, 157.094],+ [504.561, 157.205],+ [505.742, 157.413],+ [506.916, 157.655],+ [508.105, 157.818],+ [509.263, 158.116],+ [510.455, 158.261],+ [511.628, 158.497],+ [512.799, 158.746],+ [513.984, 158.934],+ [515.153, 159.208],+ [516.337, 159.382],+ [517.503, 159.667],+ [518.675, 159.924],+ [519.855, 160.143],+ [521.001, 160.454],+ [522.162, 160.754],+ [523.309, 161.094],+ [523.528, 160.823],+ [523.926, 161.083],+ [524.724, 161.417],+ [525.714, 162.031],+ [526.743, 162.553],+ [527.8, 163.054],+ [528.738, 163.374],+ [529.692, 163.699],+ [530.642, 164.428],+ [531.409, 165.11],+ [531.994, 166.145],+ [532.385, 167.194],+ [532.41, 168.365],+ [533.065, 168.798],+ [533.368, 168.652],+ [533.606, 168.608],+ [533.807, 168.558],+ [534.797, 168.344],+ [535.982, 168.267],+ [537.162, 168.095],+ [538.357, 167.983],+ [539.545, 167.819],+ [540.711, 167.542],+ [541.856, 167.19],+ [543.039, 167.021],+ [544.204, 166.745],+ [545.384, 166.525],+ [546.564, 166.313],+ [547.746, 166.109],+ [548.908, 165.832],+ [550.083, 165.585],+ [551.261, 165.364],+ [552.428, 165.09],+ [553.592, 164.805],+ [554.782, 164.686],+ [555.948, 164.438],+ [557.109, 164.161],+ [558.248, 163.808],+ [559.329, 163.536],+ [560.476, 163.189],+ [561.639, 162.896],+ [562.78, 162.805],+ [563.852, 163.128],+ [564.777, 163.89],+ [565.444, 164.871],+ [566.17, 165.824],+ [566.833, 166.822],+ [567.675, 167.668],+ [568.359, 168.638],+ [569.015, 169.636],+ [569.509, 170.728],+ [570.129, 171.754],+ [570.782, 172.761],+ [571.42, 173.777],+ [572.098, 174.755],+ [572.731, 175.764],+ [573.401, 176.653],+ [573.889, 177.741],+ [574.512, 178.76],+ [575.065, 179.816],+ [575.746, 180.798],+ [576.454, 181.766],+ [577.116, 182.746],+ [577.982, 183.564],+ [578.886, 184.35],+ [579.853, 185.059],+ [580.936, 185.568],+ [582.058, 185.981],+ [583.197, 186.361],+ [584.35, 186.684],+ [585.535, 186.87],+ [586.715, 187.035],+ [587.537, 187.224],+ [587.611, 187.38],+ [587.533, 188.081],+ [587.892, 187.41],+ [588.76, 187.325],+ [589.954, 187.315],+ [591.15, 187.271],+ [592.342, 187.159],+ [593.523, 186.962],+ [594.711, 187.117],+ [595.901, 187.226],+ [597.083, 187.43],+ [598.271, 187.606],+ [599.46, 187.763],+ [600.66, 187.793],+ [601.858, 187.802],+ [603.033, 187.953],+ [604.226, 188.066],+ [605.418, 188.09],+ [606.617, 188.102],+ [607.816, 188.15],+ [609.016, 188.171],+ [610.212, 188.256],+ [611.41, 188.303],+ [612.606, 188.375],+ [613.804, 188.446],+ [615.004, 188.465],+ [616.204, 188.435],+ [617.403, 188.469],+ [618.6, 188.553],+ [619.795, 188.537],+ [620.99, 188.527],+ [622.17, 188.438],+ [623.369, 188.421],+ [624.563, 188.522],+ [625.76, 188.436],+ [626.938, 188.648],+ [628.138, 188.677],+ [629.306, 188.885],+ [630.361, 189.317],+ [631.357, 189.982],+ [631.992, 190.809],+ [631.918, 191.944],+ [631.796, 193.135],+ [631.734, 194.333],+ [631.66, 195.53],+ [631.609, 196.727],+ [631.586, 197.922],+ [631.497, 199.116],+ [631.424, 200.28],+ [631.216, 201.451],+ [631.073, 202.64],+ [630.698, 203.536],+ [630.648, 204.51],+ [630.65, 205.166],+ [630.683, 206.067],+ [631.061, 207.124],+ [631.017, 208.295],+ [630.668, 209.408],+ [630.44, 210.485],+ [630.333, 211.676],+ [630.385, 212.856],+ [630.542, 214.044],+ [630.73, 215.228],+ [630.794, 216.422],+ [630.997, 217.58],+ [631.116, 218.6],+ [631.184, 219.478],+ [631.3, 220.596],+ [631.301, 220.781],+ [631.3, 221.937],+ [631.031, 223.089],+ [630.772, 224.239],+ [630.616, 225.411],+ [630.4, 226.588],+ [630.486, 227.771],+ [630.38, 228.913],+ [630.127, 230.083],+ [629.914, 231.263],+ [629.949, 232.457],+ [629.873, 233.65],+ [629.812, 234.848],+ [629.634, 236.018],+ [629.634, 237.212],+ [629.499, 238.402],+ [629.536, 239.563],+ [629.32, 240.731],+ [629.053, 241.89],+ [628.876, 243.061],+ [628.774, 244.238],+ [628.495, 245.394],+ [628.659, 246.501],+ [629.783, 246.643],+ [630.928, 246.667],+ [631.427, 247.536],+ [631.361, 248.052],+ [631.593, 248.282],+ [631.976, 249.416],+ [632.995, 249.906],+ [634.184, 249.97],+ [635.366, 249.832],+ [636.534, 249.571],+ [637.687, 249.263],+ [638.867, 249.051],+ [640.044, 248.815],+ [641.236, 248.692],+ [642.434, 248.695],+ [643.627, 248.588],+ [644.82, 248.472],+ [646.019, 248.418],+ [647.214, 248.312],+ [648.405, 248.187],+ [649.603, 248.247],+ [650.795, 248.121],+ [651.973, 247.907],+ [653.167, 247.786],+ [654.366, 247.733],+ [655.562, 247.66],+ [656.759, 247.571],+ [657.951, 247.443],+ [659.138, 247.28],+ [660.298, 246.976],+ [661.369, 246.559],+ [662.531, 246.706],+ [663.707, 246.481],+ [664.904, 246.425],+ [666.1, 246.328],+ [667.288, 246.165],+ [668.486, 246.152],+ [669.678, 246.011],+ [670.877, 245.985],+ [672.069, 245.841],+ [673.262, 245.724],+ [674.456, 245.61],+ [675.647, 245.464],+ [676.83, 245.27],+ [678.023, 245.156],+ [679.212, 244.991],+ [680.41, 244.953],+ [681.6, 244.815],+ [682.786, 244.649],+ [683.979, 244.591],+ [685.172, 244.469],+ [685.663, 244.623],+ [685.227, 244.555],+ [684.542, 243.72],+ [684.456, 242.625],+ [684.349, 241.832],+ [684.378, 241.825],+ [683.691, 241.175],+ [683.404, 241.188],+ [682.987, 241.175],+ [683.144, 240.524],+ [683.615, 239.996],+ [682.823, 239.272],+ [683.438, 239.706],+ [683.042, 239.936],+ [683.122, 239.931],+ [683.246, 240.064],+ [683.408, 239.243],+ [684.186, 238.477],+ [685.039, 237.83],+ [685.7, 237.381],+ [685.921, 237.39],+ [685.88, 236.687],+ [686.147, 235.938],+ [686.166, 236.047],+ [686.71, 236.5],+ [687.344, 237.434],+ [687.439, 237.85],+ [687.339, 237.379],+ [688.013, 238.254],+ [688.308, 239.078],+ [687.735, 238.023],+ [687.162, 236.968],+ [687.464, 236.693],+ [688.577, 237.141],+ [689.691, 237.59],+ [690.359, 238.229],+ [689.915, 239.345],+ [689.505, 238.432],+ [689.043, 237.329],+ [688.458, 236.281],+ [687.88, 235.229],+ [687.268, 234.198],+ [686.817, 233.334],+ [687.711, 233.819],+ [688.318, 234.854],+ [689.47, 235.146],+ [689.886, 235.827],+ [689.489, 236.961],+ [689.093, 238.094],+ [688.697, 239.227],+ [688.3, 240.36],+ [687.904, 241.493],+ [687.806, 242.393],+ [688.126, 242.13],+ [687.037, 241.626],+ [687.114, 240.914],+ [686.539, 240.661],+ ],+ },+ {+ id: 'lunch',+ label: 'Lunch',+ source: 'Lunch_Nordic_Ski.gpx',+ distanceKm: 2.914184,+ elapsedSeconds: 2574.0,+ averageSpeedKmh: 4.075781,+ points: [+ [76.358, 69.734],+ [75.352, 69.655],+ [74.809, 70.411],+ [74.525, 71.502],+ [74.34, 72.637],+ [74.434, 73.672],+ [74.699, 74.498],+ [74.724, 75.649],+ [74.459, 76.72],+ [74.379, 77.602],+ [74.569, 77.922],+ [74.202, 78.92],+ [73.902, 79.945],+ [73.814, 81.042],+ [74.874, 81.041],+ [75.573, 81.437],+ [75.226, 82.152],+ [74.774, 82.438],+ [74.564, 81.545],+ [74.213, 81.963],+ [74.487, 82.81],+ [74.363, 83.654],+ [74.072, 84.623],+ [74.913, 83.921],+ [75.346, 83.107],+ [74.493, 83.295],+ [74.331, 82.848],+ [73.153, 82.673],+ [72.006, 82.942],+ [70.975, 82.405],+ [69.831, 82.203],+ [68.834, 81.559],+ [67.799, 81.047],+ [66.955, 80.229],+ [65.929, 79.655],+ [64.939, 79.018],+ [63.868, 78.569],+ [62.73, 78.318],+ [61.706, 77.804],+ [60.607, 77.355],+ [59.763, 76.555],+ [58.728, 75.972],+ [57.742, 75.306],+ [56.614, 74.948],+ [55.956, 74.029],+ [55.608, 72.905],+ [55.299, 71.757],+ [55.29, 70.578],+ [55.588, 69.464],+ [55.8, 68.298],+ [56.172, 67.181],+ [56.417, 66.03],+ [56.632, 64.861],+ [57.042, 63.748],+ [57.471, 62.64],+ [57.826, 61.506],+ [58.2, 60.376],+ [58.639, 59.269],+ [59.026, 58.144],+ [59.429, 57.023],+ [59.854, 55.913],+ [60.186, 54.791],+ [60.716, 53.735],+ [61.009, 52.583],+ [61.437, 51.473],+ [61.92, 50.385],+ [62.382, 49.29],+ [62.679, 48.156],+ [63.056, 47.028],+ [63.459, 45.909],+ [63.877, 44.822],+ [64.139, 43.666],+ [64.648, 42.593],+ [65.152, 41.515],+ [65.704, 40.469],+ [66.257, 39.427],+ [66.716, 38.331],+ [67.157, 37.228],+ [67.546, 36.102],+ [68.03, 35.015],+ [68.39, 33.883],+ [68.81, 32.769],+ [69.193, 31.644],+ [69.609, 30.532],+ [70.34, 29.606],+ [70.78, 28.509],+ [71.29, 27.436],+ [71.835, 26.382],+ [72.152, 25.243],+ [72.553, 24.135],+ [72.785, 22.967],+ [72.126, 23.689],+ [71.711, 24.219],+ [71.971, 24.108],+ [72.537, 23.098],+ [73.406, 22.321],+ [74.231, 21.468],+ [75.13, 21.003],+ [76.235, 20.565],+ [77.405, 20.378],+ [78.547, 20.044],+ [79.72, 20.106],+ [80.836, 20.521],+ [81.955, 20.927],+ [83.015, 21.463],+ [84.064, 22.02],+ [85.137, 22.531],+ [86.202, 23.063],+ [87.277, 23.568],+ [88.359, 24.037],+ [89.403, 24.608],+ [90.423, 25.22],+ [91.491, 25.743],+ [92.457, 26.424],+ [93.426, 27.116],+ [94.34, 27.874],+ [95.396, 28.334],+ [96.212, 29.197],+ [97.062, 30.031],+ [97.919, 30.855],+ [98.853, 31.579],+ [99.708, 32.409],+ [100.742, 32.844],+ [101.822, 33.276],+ [102.867, 33.811],+ [103.909, 34.375],+ [104.904, 35.026],+ [105.888, 35.685],+ [106.871, 36.358],+ [107.865, 37.013],+ [108.885, 37.624],+ [109.823, 38.346],+ [110.893, 38.845],+ [111.973, 39.334],+ [112.907, 40.06],+ [113.882, 40.708],+ [114.816, 41.431],+ [115.698, 42.207],+ [116.521, 43.033],+ [117.401, 43.824],+ [118.381, 44.464],+ [119.493, 44.836],+ [120.566, 45.352],+ [121.619, 45.857],+ [122.722, 46.307],+ [123.784, 46.811],+ [124.924, 47.091],+ [126.005, 47.589],+ [127.1, 48.032],+ [128.217, 48.444],+ [129.296, 48.946],+ [130.446, 49.243],+ [131.54, 49.708],+ [132.634, 50.161],+ [133.783, 50.476],+ [134.917, 50.834],+ [136.086, 50.996],+ [137.225, 51.316],+ [138.324, 51.771],+ [139.463, 52.108],+ [140.606, 52.441],+ [141.701, 52.765],+ [142.857, 52.964],+ [144.038, 53.11],+ [145.202, 53.342],+ [146.389, 53.436],+ [147.575, 53.509],+ [148.763, 53.57],+ [149.936, 53.777],+ [151.12, 53.819],+ [152.297, 53.947],+ [153.461, 54.182],+ [154.646, 54.297],+ [155.831, 54.378],+ [157.011, 54.52],+ [158.191, 54.465],+ [159.364, 54.638],+ [160.553, 54.692],+ [161.738, 54.622],+ [162.919, 54.503],+ [164.094, 54.311],+ [165.245, 54.007],+ [166.411, 53.774],+ [167.598, 53.703],+ [168.745, 53.412],+ [169.916, 53.196],+ [171.102, 53.121],+ [172.282, 52.993],+ [173.447, 52.752],+ [174.622, 52.558],+ [175.798, 52.38],+ [176.965, 52.156],+ [178.141, 51.99],+ [179.298, 51.725],+ [180.48, 51.829],+ [181.648, 51.597],+ [182.834, 51.489],+ [184.014, 51.337],+ [185.196, 51.202],+ [186.345, 50.897],+ [187.527, 50.758],+ [188.704, 50.576],+ [189.877, 50.368],+ [191.053, 50.185],+ [192.231, 50.011],+ [193.415, 49.88],+ [194.388, 50.048],+ [195.27, 49.876],+ [196.444, 49.945],+ [197.632, 50.013],+ [198.716, 49.795],+ [199.867, 49.626],+ [201.046, 49.465],+ [202.221, 49.287],+ [203.401, 49.159],+ [204.587, 49.073],+ [205.768, 48.936],+ [206.958, 48.894],+ [208.137, 48.733],+ [209.326, 48.793],+ [210.507, 48.72],+ [211.688, 48.786],+ [212.875, 48.717],+ [214.057, 48.727],+ [215.243, 48.829],+ [216.422, 48.961],+ [217.612, 48.986],+ [218.802, 49.041],+ [219.992, 49.073],+ [221.182, 49.1],+ [222.37, 49.016],+ [223.55, 48.968],+ [224.728, 48.87],+ [225.901, 48.765],+ [227.082, 48.92],+ [228.257, 49.101],+ [229.431, 49.303],+ [230.603, 49.512],+ [231.781, 49.672],+ [232.963, 49.773],+ [234.14, 49.95],+ [235.328, 50.034],+ [236.517, 50.085],+ [237.699, 49.964],+ [238.889, 49.945],+ [240.077, 49.897],+ [241.264, 49.801],+ [242.442, 49.666],+ [243.627, 49.561],+ [244.804, 49.379],+ [245.984, 49.227],+ [247.159, 49.032],+ [248.339, 48.87],+ [249.527, 48.799],+ [250.705, 48.642],+ [251.895, 48.586],+ [253.064, 48.371],+ [254.247, 48.27],+ [255.437, 48.219],+ [256.627, 48.158],+ [257.817, 48.131],+ [259.007, 48.096],+ [260.198, 48.096],+ [261.388, 48.128],+ [262.554, 48.359],+ [263.729, 48.552],+ [264.897, 48.785],+ [266.055, 49.056],+ [267.238, 49.069],+ [268.411, 48.961],+ [269.583, 48.766],+ [270.766, 48.726],+ [271.951, 48.783],+ [273.14, 48.73],+ [274.32, 48.651],+ [275.502, 48.517],+ [276.69, 48.43],+ [277.876, 48.332],+ [279.059, 48.189],+ [280.246, 48.106],+ [281.43, 47.988],+ [282.617, 47.93],+ [283.787, 47.782],+ [284.971, 47.679],+ [286.158, 47.613],+ [287.34, 47.481],+ [288.529, 47.431],+ [289.719, 47.398],+ [290.865, 47.413],+ [292.046, 47.539],+ [293.225, 47.618],+ [294.398, 47.712],+ [295.579, 47.747],+ [296.733, 47.736],+ [297.915, 47.843],+ [299.097, 47.876],+ [300.272, 47.814],+ [301.003, 47.677],+ [301.088, 47.633],+ [301.799, 47.539],+ [302.984, 47.47],+ [304.166, 47.326],+ [305.356, 47.287],+ [306.542, 47.188],+ [307.732, 47.156],+ [308.915, 47.028],+ [310.102, 46.926],+ [311.284, 46.782],+ [312.469, 46.804],+ [313.659, 46.78],+ [314.85, 46.764],+ [316.038, 46.7],+ [317.227, 46.637],+ [318.416, 46.615],+ [319.606, 46.595],+ [320.797, 46.595],+ [321.985, 46.594],+ [323.174, 46.56],+ [324.363, 46.552],+ [325.549, 46.48],+ [326.738, 46.444],+ [327.926, 46.412],+ [329.025, 46.071],+ [329.968, 45.753],+ [331.128, 45.507],+ [332.238, 45.478],+ [333.374, 45.303],+ [334.542, 45.122],+ [335.731, 45.098],+ [336.913, 45.029],+ [338.102, 44.987],+ [339.291, 44.92],+ [340.48, 44.885],+ [341.67, 44.828],+ [342.855, 44.714],+ [344.043, 44.64],+ [345.233, 44.626],+ [346.424, 44.605],+ [347.613, 44.571],+ [348.796, 44.536],+ [349.985, 44.466],+ [351.173, 44.4],+ [352.313, 44.462],+ [353.466, 44.31],+ [354.651, 44.345],+ [355.837, 44.233],+ [357.027, 44.211],+ [358.216, 44.163],+ [359.407, 44.151],+ [360.592, 44.058],+ [361.775, 43.977],+ [362.939, 43.845],+ [364.127, 43.768],+ [365.306, 43.724],+ [366.492, 43.803],+ [367.677, 43.848],+ [368.865, 43.768],+ [370.051, 43.69],+ [371.234, 43.732],+ [372.415, 43.628],+ [373.605, 43.593],+ [374.793, 43.628],+ [375.968, 43.633],+ [377.057, 43.459],+ [378.103, 43.209],+ [379.25, 42.915],+ [380.41, 42.764],+ [381.234, 43.306],+ [382.305, 43.36],+ [383.391, 43.699],+ [384.233, 44.486],+ [385.239, 45.046],+ [386.382, 45.372],+ [387.466, 45.786],+ [388.435, 46.437],+ [389.432, 47.067],+ [389.714, 47.992],+ [389.646, 49.176],+ [389.505, 50.355],+ [389.599, 51.525],+ [389.695, 52.701],+ [389.488, 53.873],+ [389.31, 55.051],+ [389.154, 56.231],+ [388.945, 57.404],+ [388.809, 58.586],+ [388.782, 59.774],+ [388.91, 60.956],+ [389.085, 62.133],+ [389.079, 63.323],+ [388.994, 64.51],+ [388.907, 65.697],+ [388.912, 66.888],+ [388.918, 68.077],+ [389.056, 69.259],+ [389.056, 70.45],+ [389.179, 71.632],+ [389.237, 72.821],+ [389.37, 74.004],+ [389.513, 75.187],+ [389.767, 76.323],+ [389.995, 77.455],+ [390.276, 78.597],+ [390.538, 79.75],+ [390.72, 80.901],+ [390.898, 82.068],+ [391.14, 83.224],+ [391.483, 84.346],+ [391.944, 85.425],+ [392.228, 86.565],+ [392.498, 87.7],+ [392.913, 88.782],+ [393.153, 89.935],+ [393.414, 91.089],+ [393.908, 92.123],+ [394.522, 93.129],+ [394.939, 94.241],+ [395.356, 95.346],+ [395.743, 96.466],+ [396.064, 97.59],+ [396.26, 98.756],+ [396.524, 99.914],+ [396.636, 101.094],+ [396.694, 102.278],+ [396.765, 103.447],+ [396.652, 104.621],+ [396.707, 105.784],+ [396.704, 106.967],+ [396.79, 108.126],+ [396.641, 109.306],+ [396.613, 110.489],+ [396.57, 111.654],+ [396.674, 112.833],+ [397.041, 113.915],+ [397.893, 114.692],+ [398.96, 115.176],+ [400.064, 115.398],+ [401.213, 115.672],+ [402.373, 115.919],+ [403.517, 116.248],+ [404.673, 116.53],+ [405.838, 116.723],+ [406.981, 117.04],+ [408.122, 117.371],+ [409.223, 117.809],+ [410.339, 118.223],+ [411.396, 118.745],+ [412.493, 119.208],+ [413.559, 119.731],+ [414.634, 120.24],+ [415.721, 120.714],+ [416.498, 121.11],+ [416.402, 121.172],+ [417.471, 121.689],+ [418.554, 122.178],+ [419.564, 122.781],+ [420.629, 123.309],+ [421.724, 123.774],+ [422.793, 124.29],+ [423.857, 124.824],+ [424.975, 125.194],+ [425.945, 125.847],+ [426.906, 126.551],+ [427.855, 127.27],+ [428.836, 127.916],+ [429.201, 127.966],+ [429.267, 127.994],+ [429.111, 127.781],+ [429.294, 127.98],+ [429.278, 128.02],+ [429.413, 128.298],+ [429.242, 128.163],+ [429.294, 128.271],+ [430.085, 129.101],+ [430.965, 129.893],+ [431.887, 130.647],+ [432.839, 131.361],+ [433.779, 132.083],+ [434.665, 132.874],+ [435.62, 133.585],+ [436.578, 134.292],+ [437.521, 135.019],+ [438.481, 135.724],+ [439.441, 136.425],+ [440.399, 137.133],+ [441.34, 137.863],+ [442.281, 138.592],+ [443.246, 139.29],+ [444.191, 140.015],+ [445.129, 140.747],+ [446.108, 141.424],+ [447.051, 142.152],+ [448.011, 142.856],+ [448.956, 143.579],+ [449.901, 144.301],+ [450.9, 144.946],+ [451.833, 145.68],+ [452.761, 146.426],+ [453.727, 147.122],+ [454.676, 147.841],+ [455.627, 148.558],+ [456.59, 149.259],+ [457.589, 149.906],+ [458.596, 150.536],+ [459.581, 151.205],+ [460.563, 151.879],+ [461.601, 152.463],+ [462.619, 153.08],+ [463.692, 153.581],+ [464.716, 154.151],+ [465.752, 154.725],+ [466.844, 155.174],+ [467.942, 155.615],+ [469.049, 156.041],+ [470.153, 156.479],+ [471.28, 156.835],+ [472.4, 157.226],+ [473.507, 157.663],+ [474.66, 157.953],+ [475.781, 158.353],+ [476.918, 158.698],+ [478.044, 159.084],+ [479.153, 159.514],+ [480.287, 159.862],+ [481.436, 160.168],+ [482.567, 160.534],+ [483.68, 160.955],+ [484.8, 161.321],+ [485.905, 161.767],+ [487.006, 162.216],+ [488.145, 162.566],+ [489.254, 162.986],+ [490.396, 163.318],+ [491.508, 163.743],+ [492.621, 164.166],+ [493.78, 164.434],+ [494.865, 164.765],+ [495.996, 165.131],+ [497.092, 165.595],+ [498.211, 165.996],+ [499.324, 166.415],+ [500.415, 166.893],+ [501.517, 167.344],+ [502.569, 167.899],+ [503.636, 168.427],+ [504.661, 169.033],+ [505.734, 169.548],+ [506.763, 170.145],+ [507.781, 170.763],+ [508.828, 171.326],+ [509.827, 171.974],+ [510.847, 172.588],+ [511.921, 173.102],+ [513.015, 173.57],+ [514.093, 174.074],+ [515.228, 174.435],+ [516.378, 174.744],+ [517.54, 175.001],+ [518.714, 175.197],+ [519.881, 175.436],+ [521.055, 175.634],+ [522.227, 175.845],+ [523.41, 175.97],+ [524.595, 175.869],+ [525.786, 175.869],+ [526.973, 175.95],+ [528.16, 176.048],+ [529.35, 176.079],+ [530.535, 176.19],+ [531.726, 176.219],+ [532.915, 176.266],+ [534.105, 176.254],+ [535.285, 176.393],+ [536.475, 176.365],+ [537.66, 176.469],+ [538.849, 176.518],+ [540.039, 176.522],+ [541.226, 176.467],+ [542.417, 176.487],+ [543.603, 176.524],+ [544.789, 176.602],+ [545.977, 176.662],+ [547.155, 176.835],+ [548.343, 176.912],+ [549.53, 177.002],+ [550.712, 177.146],+ [551.897, 177.265],+ [553.069, 177.47],+ [554.255, 177.575],+ [555.438, 177.715],+ [556.606, 177.945],+ [557.787, 178.084],+ [558.967, 178.241],+ [560.147, 178.404],+ [561.329, 178.53],+ [562.506, 178.711],+ [563.686, 178.872],+ [564.861, 179.06],+ [566.042, 179.217],+ [567.215, 179.412],+ [568.364, 179.726],+ [569.532, 179.949],+ [570.701, 180.176],+ [571.858, 180.453],+ [573.025, 180.687],+ [574.168, 181.018],+ [575.323, 181.307],+ [576.498, 181.473],+ [577.66, 181.728],+ [578.788, 182.108],+ [579.913, 182.423],+ [580.974, 182.954],+ [582.036, 183.465],+ [583.172, 183.8],+ [584.298, 184.125],+ [584.284, 184.051],+ [584.99, 184.409],+ [585.932, 184.882],+ [587.02, 185.348],+ [588.059, 185.924],+ [589.115, 186.462],+ [589.658, 186.965],+ [590.433, 187.297],+ [591.355, 188.049],+ [592.269, 188.811],+ [593.164, 189.594],+ [594.165, 190.075],+ [595.342, 190.144],+ [596.498, 189.918],+ [597.664, 189.682],+ [598.845, 189.542],+ [600.006, 189.358],+ [601.189, 189.234],+ [602.354, 189.002],+ [603.52, 188.773],+ [604.668, 188.48],+ [605.833, 188.239],+ [607.005, 188.042],+ [608.172, 187.806],+ [609.348, 187.616],+ [610.492, 187.304],+ [611.651, 187.054],+ [612.823, 186.881],+ [613.942, 186.484],+ [615.101, 186.219],+ [616.272, 186.025],+ [617.322, 185.747],+ [618.489, 185.536],+ [619.664, 185.345],+ [620.807, 185.022],+ [621.637, 184.495],+ [621.859, 184.162],+ [622.393, 184.47],+ [623.328, 184.361],+ [624.483, 184.276],+ [625.666, 184.211],+ [626.723, 184.699],+ [627.413, 185.646],+ [627.874, 186.695],+ [628.693, 187.55],+ [629.426, 188.397],+ [630.074, 189.394],+ [630.769, 190.352],+ [631.492, 191.288],+ [632.135, 192.286],+ [632.812, 193.264],+ [633.475, 194.25],+ [634.08, 195.276],+ [634.602, 196.344],+ [635.183, 197.381],+ [635.79, 198.402],+ [636.493, 199.345],+ [637.185, 200.308],+ [637.762, 201.346],+ [638.212, 202.443],+ [638.746, 203.499],+ [639.433, 204.471],+ [640.111, 205.446],+ [640.979, 206.257],+ [641.907, 206.998],+ [642.741, 207.848],+ [643.629, 208.637],+ [644.731, 209.052],+ [645.745, 209.655],+ [646.798, 210.207],+ [647.949, 210.489],+ [649.035, 210.976],+ [650.159, 211.343],+ [651.328, 211.552],+ [652.5, 211.744],+ [653.647, 212.053],+ [654.818, 212.237],+ [656.003, 212.34],+ [657.19, 212.291],+ [658.377, 212.364],+ [659.509, 212.095],+ [660.664, 212.301],+ [661.819, 212.579],+ [662.986, 212.813],+ [664.154, 212.937],+ [665.337, 213.041],+ [666.512, 213.225],+ [667.698, 213.329],+ [668.882, 213.329],+ [670.065, 213.435],+ [671.245, 213.331],+ [672.394, 213.569],+ [673.546, 213.637],+ [674.712, 213.693],+ [675.895, 213.791],+ [677.084, 213.842],+ [678.271, 213.932],+ [679.459, 213.932],+ [680.644, 214.017],+ [681.829, 213.98],+ [683.014, 214.083],+ [684.094, 214.22],+ [684.856, 214.011],+ [686.024, 214.017],+ [687.213, 214.05],+ [688.4, 214.112],+ [689.589, 214.109],+ [690.778, 214.127],+ [691.884, 214.319],+ [693.053, 214.267],+ [694.237, 214.366],+ [695.388, 214.251],+ [696.556, 214.085],+ [697.534, 214.156],+ [698.718, 214.216],+ [699.907, 214.209],+ [701.089, 214.273],+ [702.265, 214.457],+ [703.261, 215.024],+ [704.27, 215.646],+ [704.709, 216.664],+ [704.475, 217.831],+ [704.352, 219.012],+ [704.399, 220.201],+ [704.399, 221.39],+ [704.375, 222.581],+ [704.349, 223.765],+ [704.267, 224.948],+ [704.163, 226.128],+ [704.116, 227.306],+ [703.919, 228.475],+ [703.643, 229.585],+ [703.62, 230.768],+ [703.393, 231.934],+ [703.275, 233.113],+ [703.322, 234.302],+ [703.334, 234.56],+ [703.591, 234.631],+ [703.386, 235.726],+ [703.13, 236.844],+ [702.897, 237.974],+ [702.817, 239.099],+ [702.803, 240.276],+ [702.686, 241.455],+ [702.662, 242.451],+ [702.84, 243.571],+ [702.935, 244.73],+ [703.05, 245.907],+ [703.247, 246.984],+ [703.42, 248.158],+ [703.572, 249.242],+ [703.53, 249.923],+ [703.421, 249.74],+ [703.289, 249.756],+ ],+ },+ {+ id: 'afternoon',+ label: 'Afternoon',+ source: 'Afternoon_Nordic_Ski.gpx',+ distanceKm: 3.560062,+ elapsedSeconds: 2498.0,+ averageSpeedKmh: 5.130594,+ points: [+ [632.298, 164.794],+ [631.397, 164.653],+ [631.131, 163.708],+ [630.376, 163.057],+ [629.611, 162.412],+ [629.618, 162.9],+ [629.629, 163.161],+ [629.042, 163.652],+ [628.395, 164.385],+ [627.52, 164.839],+ [627.044, 165.344],+ [626.056, 165.484],+ [625.063, 165.484],+ [624.336, 164.863],+ [623.45, 164.443],+ [622.485, 164.486],+ [621.545, 164.743],+ [620.642, 164.941],+ [619.819, 165.491],+ [618.988, 166.009],+ [618.14, 166.347],+ [617.295, 166.689],+ [616.695, 166.884],+ [615.755, 166.632],+ [614.9, 167.013],+ [613.92, 166.907],+ [612.991, 166.533],+ [612.069, 166.144],+ [611.31, 165.612],+ [610.935, 165.806],+ [609.956, 165.869],+ [609.133, 166.35],+ [608.179, 166.609],+ [607.271, 166.828],+ [606.36, 167.231],+ [605.414, 167.531],+ [604.584, 168.002],+ [603.63, 168.055],+ [603.766, 168.026],+ [603.314, 168.145],+ [602.342, 168.383],+ [601.358, 168.523],+ [600.375, 168.396],+ [599.445, 168.686],+ [598.458, 168.825],+ [597.576, 169.254],+ [596.628, 169.356],+ [595.691, 169.332],+ [594.9, 168.975],+ [594.076, 168.45],+ [593.137, 168.192],+ [592.325, 168.106],+ [591.331, 168.09],+ [590.52, 168.513],+ [589.743, 168.983],+ [588.873, 169.105],+ [588.336, 169.478],+ [588.235, 169.437],+ [588.517, 169.316],+ [588.399, 169.207],+ [587.567, 168.707],+ [586.607, 168.5],+ [585.621, 168.653],+ [584.632, 168.811],+ [583.643, 168.964],+ [582.797, 168.991],+ [582.34, 168.826],+ [583.026, 168.763],+ [584.013, 168.599],+ [584.743, 168.949],+ [583.876, 169.171],+ [582.887, 169.235],+ [581.928, 169.503],+ [580.961, 169.752],+ [579.991, 169.991],+ [579.025, 170.243],+ [578.047, 170.446],+ [577.083, 170.695],+ [576.109, 170.91],+ [575.136, 171.125],+ [574.151, 171.281],+ [573.169, 171.457],+ [572.188, 171.631],+ [571.197, 171.766],+ [570.212, 171.925],+ [569.231, 172.11],+ [568.247, 172.278],+ [567.275, 172.511],+ [566.286, 172.654],+ [565.308, 172.862],+ [564.317, 172.996],+ [563.334, 173.175],+ [562.355, 173.379],+ [561.363, 173.485],+ [560.374, 173.612],+ [559.38, 173.731],+ [558.382, 173.794],+ [557.385, 173.856],+ [556.389, 173.918],+ [555.506, 174.299],+ [554.533, 174.501],+ [553.557, 174.712],+ [552.597, 174.985],+ [551.647, 175.276],+ [550.667, 175.4],+ [549.689, 175.601],+ [548.71, 175.742],+ [547.724, 175.892],+ [546.745, 176.096],+ [545.761, 176.272],+ [544.773, 176.429],+ [543.785, 176.584],+ [542.805, 176.781],+ [541.826, 176.984],+ [540.845, 177.179],+ [539.885, 177.399],+ [538.891, 177.49],+ [537.905, 177.655],+ [536.923, 177.843],+ [535.93, 177.927],+ [534.943, 178.085],+ [533.958, 178.248],+ [532.997, 178.51],+ [532.026, 178.746],+ [531.031, 178.841],+ [530.044, 179.006],+ [529.061, 179.184],+ [528.105, 179.465],+ [527.127, 179.671],+ [526.145, 179.865],+ [525.158, 180.027],+ [524.168, 180.167],+ [523.178, 180.269],+ [522.188, 180.412],+ [521.233, 180.6],+ [520.262, 180.823],+ [519.306, 181.017],+ [518.329, 181.231],+ [517.344, 181.383],+ [516.373, 181.619],+ [515.402, 181.853],+ [514.47, 182.191],+ [513.519, 182.481],+ [512.528, 182.614],+ [511.543, 182.755],+ [510.55, 182.833],+ [509.573, 183.045],+ [508.583, 183.166],+ [507.633, 183.459],+ [506.652, 183.641],+ [505.652, 183.63],+ [504.66, 183.755],+ [503.664, 183.843],+ [502.696, 184.005],+ [501.715, 184.176],+ [500.731, 184.362],+ [499.75, 184.493],+ [498.774, 184.671],+ [497.844, 185.007],+ [496.96, 185.411],+ [495.962, 185.477],+ [494.967, 185.514],+ [493.996, 185.735],+ [493.017, 185.9],+ [492.032, 186.077],+ [491.044, 186.23],+ [490.068, 186.394],+ [489.114, 186.675],+ [488.119, 186.738],+ [487.127, 186.792],+ [486.158, 187.031],+ [485.166, 187.155],+ [484.184, 187.34],+ [483.208, 187.535],+ [482.269, 187.742],+ [481.323, 187.991],+ [480.386, 188.247],+ [479.478, 188.625],+ [478.524, 188.845],+ [477.537, 189.008],+ [476.556, 189.187],+ [475.559, 189.259],+ [474.564, 189.358],+ [473.572, 189.431],+ [472.586, 189.603],+ [471.6, 189.756],+ [470.612, 189.912],+ [469.637, 190.134],+ [468.674, 190.404],+ [467.717, 190.692],+ [466.739, 190.872],+ [465.781, 191.156],+ [464.804, 191.268],+ [463.815, 191.324],+ [462.836, 191.353],+ [461.862, 191.478],+ [460.9, 191.303],+ [459.912, 191.184],+ [458.945, 190.974],+ [458.002, 191.247],+ [457.082, 191.633],+ [456.211, 192.113],+ [455.356, 192.609],+ [454.549, 193.109],+ [453.693, 193.46],+ [452.819, 193.908],+ [451.881, 194.241],+ [450.933, 194.557],+ [450.008, 194.906],+ [449.084, 195.239],+ [448.212, 195.726],+ [447.339, 196.21],+ [446.463, 196.687],+ [445.663, 197.283],+ [444.805, 197.797],+ [443.993, 198.376],+ [443.138, 198.866],+ [442.296, 199.364],+ [441.395, 199.751],+ [440.584, 200.29],+ [439.679, 200.708],+ [438.802, 201.182],+ [437.933, 201.673],+ [437.011, 202.056],+ [436.084, 202.41],+ [435.162, 202.796],+ [434.244, 203.193],+ [433.329, 203.596],+ [432.467, 204.102],+ [431.541, 204.47],+ [430.695, 204.995],+ [429.968, 205.648],+ [429.286, 206.353],+ [428.634, 207.104],+ [427.795, 207.643],+ [426.96, 208.191],+ [426.145, 208.765],+ [425.319, 209.305],+ [424.426, 209.711],+ [423.525, 210.138],+ [422.68, 210.637],+ [421.758, 210.988],+ [420.961, 211.559],+ [420.046, 211.937],+ [419.183, 212.35],+ [418.282, 212.766],+ [417.516, 213.207],+ [417.184, 214.142],+ [416.584, 214.89],+ [415.856, 215.52],+ [414.992, 215.992],+ [414.101, 216.364],+ [413.235, 216.817],+ [412.348, 217.274],+ [411.589, 217.907],+ [411.176, 218.802],+ [410.509, 219.544],+ [409.982, 220.278],+ [409.507, 221.087],+ [409.227, 222.047],+ [409.05, 223.031],+ [408.753, 223.977],+ [408.547, 224.956],+ [408.326, 225.932],+ [407.991, 226.868],+ [407.821, 227.853],+ [407.617, 228.83],+ [407.452, 229.817],+ [407.303, 230.804],+ [407.096, 231.771],+ [406.915, 232.753],+ [406.702, 233.73],+ [406.506, 234.711],+ [406.35, 235.695],+ [406.182, 236.667],+ [405.926, 237.634],+ [405.675, 238.598],+ [405.369, 239.55],+ [405.152, 240.513],+ [404.993, 241.469],+ [404.456, 242.222],+ [403.691, 242.851],+ [402.887, 243.057],+ [401.939, 242.743],+ [400.986, 242.442],+ [400.013, 242.21],+ [399.03, 242.039],+ [398.043, 241.879],+ [397.055, 241.72],+ [396.078, 241.521],+ [395.108, 241.288],+ [394.12, 241.13],+ [393.138, 240.94],+ [392.192, 240.793],+ [391.235, 240.508],+ [390.266, 240.278],+ [389.308, 239.999],+ [388.318, 239.868],+ [387.331, 239.71],+ [386.352, 239.501],+ [385.39, 239.228],+ [384.401, 239.101],+ [383.407, 239.045],+ [382.426, 239.15],+ [381.436, 239.291],+ [380.484, 239.6],+ [379.509, 239.784],+ [378.531, 239.988],+ [377.54, 240.115],+ [376.546, 240.228],+ [375.551, 240.285],+ [374.562, 240.431],+ [373.579, 240.609],+ [372.611, 240.863],+ [371.684, 241.219],+ [370.753, 241.581],+ [369.833, 241.961],+ [369.002, 242.505],+ [368.205, 243.097],+ [367.343, 243.601],+ [366.436, 243.996],+ [365.511, 244.377],+ [364.586, 244.757],+ [363.653, 245.112],+ [362.755, 245.546],+ [361.853, 245.963],+ [360.94, 246.372],+ [360.029, 246.787],+ [359.115, 247.192],+ [358.204, 247.6],+ [357.262, 247.936],+ [356.305, 248.225],+ [355.344, 248.495],+ [354.39, 248.791],+ [353.415, 248.992],+ [352.432, 249.169],+ [351.5, 249.456],+ [350.522, 249.655],+ [349.651, 249.932],+ [348.67, 249.812],+ [347.703, 249.788],+ [346.834, 249.571],+ [345.975, 249.126],+ [345.082, 248.698],+ [344.139, 248.424],+ [343.19, 248.227],+ [342.21, 248.175],+ [341.249, 248.118],+ [340.326, 247.746],+ [339.35, 247.637],+ [338.377, 247.425],+ [337.385, 247.331],+ [336.45, 247.004],+ [335.553, 246.616],+ [334.608, 246.308],+ [333.723, 245.881],+ [332.819, 245.477],+ [331.903, 245.12],+ [331.069, 244.571],+ [330.332, 244.034],+ [329.759, 243.418],+ [328.776, 243.249],+ [327.822, 242.959],+ [326.91, 242.558],+ [326.044, 242.064],+ [325.117, 241.742],+ [324.283, 241.192],+ [323.436, 240.663],+ [322.601, 240.124],+ [321.708, 239.679],+ [320.867, 239.146],+ [320.048, 238.621],+ [319.213, 238.101],+ [318.312, 237.681],+ [317.424, 237.222],+ [316.554, 236.732],+ [315.676, 236.255],+ [314.81, 235.767],+ [313.985, 235.209],+ [313.161, 234.643],+ [312.316, 234.107],+ [311.43, 233.649],+ [310.55, 233.178],+ [309.673, 232.699],+ [308.821, 232.181],+ [307.911, 231.767],+ [307.033, 231.3],+ [306.147, 230.836],+ [305.264, 230.367],+ [304.369, 229.924],+ [303.443, 229.559],+ [302.527, 229.182],+ [301.627, 228.758],+ [300.763, 228.299],+ [299.877, 227.919],+ [299.134, 227.329],+ [298.535, 226.534],+ [297.84, 225.901],+ [297.027, 225.411],+ [296.143, 225.064],+ [295.242, 225.432],+ [294.282, 225.35],+ [293.31, 225.192],+ [292.397, 224.834],+ [291.466, 224.506],+ [290.537, 224.162],+ [289.599, 223.833],+ [288.668, 223.504],+ [287.701, 223.29],+ [286.785, 222.913],+ [285.839, 222.674],+ [284.914, 222.297],+ [284.015, 221.893],+ [283.13, 221.438],+ [282.228, 221.059],+ [281.304, 220.759],+ [280.398, 220.345],+ [279.449, 220.045],+ [278.502, 219.729],+ [277.571, 219.394],+ [276.66, 218.985],+ [275.764, 218.546],+ [274.891, 218.059],+ [274.016, 217.574],+ [273.194, 217.007],+ [272.333, 216.498],+ [271.516, 215.922],+ [270.71, 215.337],+ [269.93, 214.712],+ [269.167, 214.07],+ [268.409, 213.419],+ [267.747, 212.693],+ [267.107, 211.927],+ [266.391, 211.232],+ [265.747, 210.47],+ [265.042, 209.761],+ [264.346, 209.046],+ [263.765, 208.29],+ [263.078, 207.572],+ [262.365, 206.876],+ [261.673, 206.156],+ [260.908, 205.527],+ [260.205, 204.822],+ [259.562, 204.057],+ [258.924, 203.286],+ [258.381, 202.448],+ [257.763, 201.959],+ [256.836, 202.301],+ [256.094, 202.02],+ [255.493, 201.225],+ [254.967, 200.375],+ [254.382, 199.566],+ [253.781, 198.766],+ [253.121, 198.015],+ [252.464, 197.26],+ [251.754, 196.557],+ [251.079, 195.818],+ [250.413, 195.074],+ [249.726, 194.356],+ [249.083, 193.591],+ [248.415, 192.846],+ [247.615, 192.251],+ [247.082, 191.511],+ [246.36, 190.819],+ [245.621, 190.146],+ [244.876, 189.484],+ [244.117, 188.835],+ [243.333, 188.215],+ [242.636, 187.499],+ [241.808, 186.944],+ [240.965, 186.405],+ [240.046, 186.012],+ [239.168, 185.536],+ [238.228, 185.198],+ [237.32, 184.786],+ [236.443, 184.307],+ [235.541, 183.876],+ [234.624, 183.476],+ [233.74, 183.011],+ [233.145, 182.614],+ [232.263, 182.142],+ [231.439, 181.579],+ [230.737, 180.883],+ [230.104, 180.108],+ [229.46, 179.342],+ [228.827, 178.567],+ [228.27, 177.746],+ [227.669, 177.064],+ [227.031, 176.294],+ [226.393, 175.523],+ [225.758, 174.749],+ [225.118, 173.98],+ [224.502, 173.191],+ [223.854, 172.429],+ [223.195, 171.676],+ [222.564, 170.9],+ [221.988, 170.083],+ [221.512, 169.326],+ [221.093, 168.419],+ [220.786, 167.468],+ [220.477, 166.516],+ [220.205, 165.555],+ [219.963, 164.584],+ [219.675, 163.626],+ [219.375, 162.672],+ [219.085, 161.714],+ [218.808, 160.753],+ [218.527, 159.793],+ [218.249, 158.832],+ [217.97, 157.871],+ [217.723, 156.902],+ [217.481, 155.935],+ [217.136, 155.066],+ [216.847, 154.109],+ [216.69, 153.122],+ [216.487, 152.144],+ [216.215, 151.183],+ [215.967, 150.225],+ [215.745, 149.254],+ [215.538, 148.277],+ [215.313, 147.303],+ [215.148, 146.319],+ [214.908, 145.349],+ [214.736, 144.371],+ [214.464, 143.412],+ [214.186, 142.452],+ [213.948, 141.481],+ [213.667, 140.523],+ [213.336, 139.581],+ [212.961, 138.656],+ [212.711, 137.691],+ [212.415, 136.736],+ [212.116, 135.782],+ [211.73, 134.867],+ [211.334, 133.957],+ [211.103, 133.008],+ [210.76, 132.277],+ [210.406, 131.372],+ [210.114, 130.443],+ [209.855, 129.49],+ [209.511, 128.559],+ [209.22, 127.617],+ [208.825, 126.711],+ [208.548, 125.75],+ [208.3, 124.789],+ [207.893, 123.88],+ [207.499, 122.963],+ [207.068, 122.063],+ [206.723, 121.126],+ [206.337, 120.203],+ [205.908, 119.299],+ [205.544, 118.372],+ [205.118, 117.476],+ [204.772, 116.541],+ [204.388, 115.619],+ [204.066, 114.672],+ [203.684, 113.749],+ [203.235, 112.857],+ [202.762, 111.975],+ [202.272, 111.103],+ [201.782, 110.233],+ [201.315, 109.348],+ [200.853, 108.462],+ [200.312, 107.62],+ [199.762, 106.784],+ [199.274, 105.912],+ [198.774, 105.045],+ [198.218, 104.213],+ [197.654, 103.389],+ [197.112, 102.554],+ [196.571, 101.712],+ [196.113, 100.823],+ [195.598, 99.966],+ [195.03, 99.142],+ [194.492, 98.299],+ [194.004, 97.425],+ [193.534, 96.547],+ [193.037, 95.681],+ [192.529, 94.821],+ [192.032, 93.958],+ [191.46, 93.146],+ [190.803, 92.398],+ [190.068, 91.719],+ [189.491, 90.91],+ [188.839, 90.157],+ [188.153, 89.429],+ [187.45, 88.717],+ [186.716, 88.04],+ [185.998, 87.344],+ [185.148, 86.817],+ [184.31, 86.276],+ [183.402, 85.858],+ [182.533, 85.363],+ [181.653, 84.897],+ [180.891, 84.496],+ [180.127, 83.887],+ [179.338, 83.308],+ [178.478, 82.816],+ [177.606, 82.334],+ [176.786, 81.834],+ [175.931, 81.314],+ [175.061, 80.821],+ [174.214, 80.294],+ [173.347, 79.811],+ [172.498, 79.308],+ [171.681, 78.733],+ [170.831, 78.205],+ [169.956, 77.722],+ [169.056, 77.294],+ [168.21, 76.762],+ [167.328, 76.291],+ [166.452, 75.817],+ [165.567, 75.364],+ [164.693, 74.899],+ [163.807, 74.449],+ [162.924, 73.981],+ [162.035, 73.524],+ [161.173, 73.025],+ [160.325, 72.498],+ [159.472, 71.975],+ [158.575, 71.537],+ [157.698, 71.055],+ [156.812, 70.594],+ [155.934, 70.116],+ [155.074, 69.608],+ [154.186, 69.157],+ [153.349, 68.621],+ [152.51, 68.091],+ [151.731, 67.465],+ [150.884, 66.936],+ [150.049, 66.386],+ [149.203, 65.867],+ [148.343, 65.359],+ [147.474, 64.863],+ [146.644, 64.307],+ [145.775, 63.811],+ [144.928, 63.281],+ [144.069, 62.767],+ [143.194, 62.284],+ [142.34, 61.765],+ [141.506, 61.219],+ [140.584, 60.833],+ [139.733, 60.307],+ [138.857, 59.824],+ [137.952, 59.406],+ [137.129, 58.854],+ [136.272, 58.338],+ [135.426, 57.804],+ [134.592, 57.252],+ [133.756, 56.707],+ [132.887, 56.222],+ [132.0, 55.758],+ [131.089, 55.35],+ [130.242, 54.822],+ [129.345, 54.389],+ [128.474, 53.917],+ [127.733, 53.433],+ [128.432, 52.891],+ [129.24, 52.303],+ [129.902, 51.562],+ [130.356, 50.671],+ [130.872, 49.82],+ [131.299, 48.919],+ [131.712, 48.013],+ [132.062, 47.085],+ [132.42, 46.156],+ [132.698, 45.247],+ [133.153, 44.383],+ [133.502, 43.458],+ [133.366, 42.545],+ [133.958, 41.752],+ [134.398, 40.858],+ [134.836, 39.964],+ [135.218, 39.039],+ [135.585, 38.108],+ [135.974, 37.189],+ [136.277, 36.24],+ [136.706, 35.344],+ [137.115, 34.432],+ [137.24, 33.463],+ [137.594, 32.527],+ [137.982, 31.608],+ [138.328, 30.671],+ [138.622, 29.716],+ [139.035, 28.812],+ [139.625, 28.015],+ [140.481, 27.584],+ [141.471, 27.467],+ [142.179, 27.564],+ [142.874, 27.013],+ [143.545, 26.454],+ [144.07, 25.66],+ [144.592, 24.817],+ [144.979, 23.907],+ [145.336, 22.982],+ [145.879, 22.144],+ [146.665, 21.593],+ [147.552, 21.272],+ [148.539, 21.172],+ [149.452, 20.842],+ [150.38, 20.484],+ [151.101, 20.072],+ [152.027, 20.237],+ [152.882, 20.722],+ [153.603, 21.347],+ [154.102, 22.195],+ [154.861, 22.376],+ [155.725, 22.543],+ [156.592, 23.029],+ [157.455, 23.527],+ [156.966, 23.28],+ [156.131, 22.793],+ [156.102, 21.974],+ [156.818, 22.371],+ [157.27, 22.788],+ [156.444, 23.135],+ [155.931, 23.994],+ [155.425, 24.858],+ [154.924, 25.724],+ [154.414, 26.585],+ [153.767, 26.796],+ [152.953, 26.214],+ [152.029, 26.015],+ [151.11, 26.009],+ [151.134, 25.168],+ [150.291, 25.032],+ [151.199, 24.611],+ [151.957, 23.968],+ [152.863, 23.56],+ [153.849, 23.395],+ [154.732, 22.931],+ [153.797, 23.25],+ [154.559, 22.892],+ [155.449, 22.432],+ [156.338, 21.973],+ [157.227, 21.513],+ [158.116, 21.054],+ [157.737, 21.146],+ [156.795, 21.484],+ [155.853, 21.822],+ [154.911, 22.16],+ [153.968, 22.498],+ [153.026, 22.836],+ [152.084, 23.173],+ [151.312, 23.504],+ [151.363, 22.696],+ [151.279, 21.729],+ [151.231, 22.367],+ [151.714, 23.244],+ [152.591, 23.06],+ [153.53, 22.712],+ [154.469, 22.365],+ [155.407, 22.017],+ [156.346, 21.669],+ [157.285, 21.322],+ [158.223, 20.974],+ [157.635, 21.242],+ [156.718, 21.643],+ [155.801, 22.043],+ [154.884, 22.444],+ [153.966, 22.845],+ [153.049, 23.245],+ [152.886, 23.316],+ [153.804, 22.916],+ [154.721, 22.515],+ [155.638, 22.114],+ [156.555, 21.714],+ [157.473, 21.313],+ [158.39, 20.912],+ ],+ },+ {+ id: 'evening',+ label: 'Evening',+ source: 'Evening_Nordic_Ski.gpx',+ distanceKm: 4.770416,+ elapsedSeconds: 2685.0,+ averageSpeedKmh: 6.396089,+ points: [+ [704.909, 120.431],+ [702.242, 117.879],+ [699.575, 115.327],+ [697.017, 113.906],+ [694.906, 116.934],+ [692.901, 119.539],+ [690.95, 118.804],+ [687.71, 120.571],+ [684.468, 122.336],+ [681.249, 124.141],+ [679.263, 127.072],+ [677.956, 130.484],+ [677.107, 134.072],+ [675.791, 137.514],+ [674.693, 140.96],+ [673.796, 144.347],+ [672.403, 147.749],+ [671.099, 151.185],+ [669.385, 154.45],+ [667.861, 157.791],+ [666.099, 160.963],+ [664.148, 164.076],+ [662.532, 167.376],+ [662.39, 170.895],+ [660.701, 174.171],+ [659.267, 177.572],+ [658.105, 181.072],+ [657.18, 184.631],+ [655.759, 187.942],+ [653.51, 190.807],+ [650.228, 192.454],+ [646.83, 193.861],+ [643.355, 195.104],+ [639.899, 196.386],+ [636.767, 198.269],+ [634.089, 200.795],+ [631.575, 203.495],+ [629.108, 206.233],+ [626.651, 208.987],+ [624.331, 211.853],+ [622.41, 214.989],+ [620.446, 218.111],+ [618.902, 221.422],+ [617.614, 224.836],+ [616.926, 228.423],+ [615.887, 231.877],+ [615.257, 234.339],+ [614.169, 237.837],+ [612.706, 240.845],+ [610.684, 243.277],+ [607.198, 243.359],+ [603.894, 244.786],+ [600.646, 246.476],+ [597.397, 248.188],+ [594.119, 249.722],+ [591.579, 247.878],+ [589.434, 244.88],+ [587.443, 241.772],+ [585.161, 238.874],+ [582.999, 235.9],+ [580.708, 233.031],+ [578.516, 230.089],+ [576.279, 227.162],+ [574.111, 224.178],+ [572.065, 221.128],+ [569.458, 218.574],+ [567.737, 215.314],+ [565.667, 212.267],+ [563.465, 209.311],+ [561.318, 206.313],+ [559.149, 203.339],+ [557.177, 200.229],+ [556.327, 196.993],+ [555.79, 193.365],+ [553.669, 190.591],+ [553.274, 187.515],+ [550.539, 186.059],+ [547.003, 185.257],+ [544.021, 185.753],+ [542.717, 189.177],+ [541.555, 192.632],+ [540.175, 196.018],+ [538.722, 199.408],+ [537.486, 202.879],+ [535.884, 206.201],+ [534.46, 209.597],+ [533.009, 212.988],+ [531.563, 216.379],+ [530.376, 219.873],+ [529.137, 223.341],+ [525.977, 224.261],+ [522.52, 222.978],+ [519.288, 221.203],+ [515.952, 219.627],+ [512.54, 218.226],+ [509.046, 217.054],+ [505.679, 215.556],+ [502.256, 214.175],+ [498.918, 212.647],+ [495.502, 211.256],+ [492.173, 209.701],+ [488.782, 208.296],+ [485.746, 206.315],+ [482.352, 204.871],+ [478.914, 203.61],+ [475.447, 202.359],+ [472.027, 200.971],+ [468.593, 199.631],+ [465.12, 198.398],+ [461.716, 196.976],+ [458.316, 195.625],+ [454.875, 194.304],+ [451.406, 193.058],+ [447.927, 191.897],+ [444.444, 190.68],+ [440.972, 189.431],+ [437.516, 188.156],+ [434.104, 187.086],+ [430.761, 185.748],+ [427.312, 184.546],+ [423.969, 183.009],+ [420.507, 181.754],+ [417.071, 180.435],+ [413.595, 179.202],+ [410.228, 177.7],+ [406.918, 176.136],+ [403.553, 174.862],+ [400.163, 173.422],+ [396.779, 171.979],+ [393.418, 170.47],+ [390.028, 169.037],+ [386.545, 167.87],+ [383.116, 166.519],+ [379.625, 165.387],+ [376.162, 164.112],+ [372.804, 162.586],+ [369.364, 161.251],+ [365.952, 159.85],+ [362.554, 158.427],+ [359.032, 157.339],+ [355.602, 156.064],+ [352.188, 154.687],+ [348.847, 153.479],+ [346.309, 151.827],+ [343.77, 150.362],+ [340.881, 148.814],+ [338.316, 147.469],+ [335.267, 145.445],+ [332.222, 143.391],+ [328.999, 141.599],+ [325.78, 139.797],+ [322.353, 138.43],+ [318.88, 137.186],+ [315.417, 135.926],+ [311.957, 134.646],+ [308.498, 133.36],+ [305.046, 132.063],+ [301.605, 130.786],+ [298.159, 129.465],+ [294.694, 128.195],+ [291.192, 127.052],+ [287.73, 125.79],+ [284.208, 124.708],+ [280.808, 123.278],+ [277.308, 122.112],+ [273.897, 120.719],+ [270.488, 119.318],+ [267.091, 117.883],+ [263.575, 116.772],+ [260.195, 115.301],+ [256.851, 113.741],+ [253.389, 112.516],+ [249.968, 111.17],+ [246.553, 109.787],+ [243.112, 108.459],+ [239.738, 106.976],+ [236.202, 105.966],+ [232.843, 104.44],+ [229.473, 103.026],+ [226.304, 101.489],+ [222.867, 100.222],+ [219.495, 98.74],+ [216.079, 97.349],+ [212.629, 96.108],+ [209.074, 95.211],+ [205.757, 93.594],+ [202.243, 92.474],+ [198.917, 90.885],+ [195.494, 89.505],+ [192.007, 88.297],+ [188.53, 87.065],+ [185.107, 85.724],+ [181.74, 84.216],+ [178.436, 82.575],+ [175.201, 80.8],+ [171.937, 79.098],+ [168.471, 77.847],+ [164.925, 76.835],+ [161.491, 75.503],+ [158.097, 74.059],+ [154.634, 72.821],+ [151.15, 71.602],+ [147.678, 70.355],+ [144.206, 69.123],+ [140.799, 67.744],+ [137.357, 66.424],+ [133.938, 65.038],+ [130.597, 63.469],+ [127.144, 62.167],+ [123.687, 60.875],+ [120.199, 59.697],+ [116.844, 58.173],+ [113.416, 56.832],+ [109.921, 55.667],+ [106.491, 54.309],+ [103.082, 52.902],+ [99.611, 51.648],+ [96.125, 50.436],+ [92.678, 49.12],+ [89.221, 47.831],+ [85.609, 47.122],+ [81.958, 46.748],+ [78.283, 46.539],+ [74.603, 46.705],+ [70.978, 46.166],+ [67.507, 45.003],+ [64.138, 43.508],+ [60.899, 41.748],+ [57.895, 39.612],+ [54.991, 37.338],+ [52.177, 34.95],+ [49.374, 32.548],+ [46.534, 30.194],+ [43.772, 27.76],+ [40.988, 25.346],+ [38.187, 22.944],+ [35.419, 20.512],+ [35.35, 21.702],+ [37.839, 24.404],+ [40.636, 26.81],+ [43.471, 29.173],+ [46.242, 31.587],+ [49.183, 33.804],+ [51.975, 36.216],+ [54.935, 38.418],+ [57.869, 40.647],+ [60.954, 42.673],+ [64.194, 44.419],+ [67.692, 45.533],+ [71.155, 46.795],+ [74.705, 47.79],+ [78.389, 47.793],+ [82.078, 47.724],+ [85.747, 47.465],+ [89.275, 48.386],+ [92.739, 49.584],+ [96.167, 50.916],+ [99.612, 52.214],+ [103.067, 53.506],+ [106.506, 54.836],+ [109.92, 56.227],+ [113.326, 57.642],+ [116.728, 59.061],+ [120.148, 60.429],+ [123.53, 61.901],+ [127.021, 63.097],+ [130.422, 64.525],+ [133.87, 65.814],+ [137.262, 67.265],+ [140.625, 68.775],+ [144.094, 70.012],+ [147.578, 71.224],+ [150.979, 72.624],+ [154.366, 74.084],+ [157.811, 75.409],+ [161.25, 76.742],+ [164.666, 78.133],+ [168.17, 79.29],+ [171.628, 80.579],+ [175.058, 81.94],+ [178.527, 83.195],+ [182.011, 84.414],+ [185.459, 85.728],+ [188.933, 86.969],+ [192.346, 88.372],+ [195.738, 89.799],+ [199.012, 91.5],+ [202.394, 92.968],+ [205.795, 94.392],+ [209.214, 95.769],+ [212.658, 97.096],+ [216.079, 98.482],+ [219.56, 99.689],+ [222.983, 101.069],+ [226.401, 102.461],+ [229.867, 103.717],+ [233.274, 105.089],+ [236.708, 106.405],+ [240.159, 107.7],+ [243.618, 108.908],+ [247.077, 110.166],+ [250.431, 111.68],+ [253.83, 113.102],+ [256.957, 114.905],+ [260.407, 116.145],+ [263.871, 117.39],+ [267.298, 118.738],+ [270.723, 120.113],+ [274.04, 121.725],+ [277.444, 123.149],+ [280.935, 124.338],+ [284.382, 125.655],+ [287.841, 126.941],+ [291.251, 128.338],+ [294.651, 129.729],+ [298.084, 131.083],+ [301.574, 132.268],+ [305.028, 133.561],+ [308.504, 134.792],+ [311.962, 136.038],+ [315.33, 137.38],+ [318.652, 138.968],+ [322.063, 140.364],+ [325.5, 141.7],+ [328.975, 142.94],+ [332.317, 144.482],+ [335.345, 146.576],+ [338.143, 148.927],+ [341.272, 150.851],+ [344.447, 152.669],+ [347.638, 154.296],+ [350.79, 155.978],+ [354.205, 157.233],+ [357.681, 158.43],+ [361.135, 159.724],+ [364.562, 161.07],+ [368.033, 162.295],+ [371.457, 163.673],+ [374.923, 164.939],+ [378.31, 166.398],+ [381.741, 167.745],+ [385.22, 168.977],+ [388.661, 170.311],+ [392.129, 171.554],+ [395.573, 172.878],+ [399.038, 174.146],+ [402.485, 175.464],+ [405.931, 176.777],+ [409.333, 178.205],+ [412.679, 179.76],+ [416.029, 181.019],+ [419.227, 182.449],+ [422.744, 183.501],+ [426.275, 184.535],+ [429.613, 186.086],+ [433.039, 187.428],+ [436.492, 188.726],+ [439.909, 190.122],+ [443.365, 191.401],+ [446.757, 192.437],+ [450.169, 193.79],+ [453.621, 195.089],+ [457.031, 196.48],+ [460.393, 197.998],+ [463.766, 199.497],+ [467.192, 200.86],+ [470.57, 202.332],+ [474.015, 203.642],+ [477.522, 204.783],+ [480.968, 206.078],+ [484.336, 207.392],+ [487.82, 208.575],+ [491.263, 209.902],+ [494.601, 211.471],+ [497.981, 212.944],+ [501.483, 214.055],+ [504.898, 215.442],+ [508.265, 216.95],+ [511.707, 218.278],+ [515.079, 219.769],+ [518.399, 221.343],+ [521.806, 222.646],+ [520.454, 221.592],+ [516.963, 220.396],+ [513.532, 219.044],+ [510.071, 217.774],+ [506.643, 216.409],+ [503.208, 215.065],+ [499.763, 213.747],+ [496.352, 212.399],+ [492.98, 210.918],+ [489.767, 209.139],+ [486.452, 207.549],+ [483.132, 205.992],+ [479.806, 204.488],+ [476.459, 202.977],+ [473.09, 201.472],+ [469.644, 200.179],+ [466.215, 198.844],+ [462.871, 197.329],+ [459.447, 195.954],+ [456.115, 194.42],+ [452.605, 193.339],+ [449.175, 192.038],+ [445.755, 190.666],+ [442.377, 189.216],+ [438.897, 188.063],+ [435.419, 186.879],+ [431.973, 185.56],+ [428.547, 184.191],+ [425.21, 182.647],+ [421.707, 181.487],+ [418.123, 180.785],+ [414.909, 179.453],+ [411.533, 178.014],+ [408.082, 176.757],+ [404.65, 175.41],+ [401.277, 173.913],+ [397.931, 172.366],+ [394.486, 171.043],+ [391.102, 169.582],+ [387.657, 168.261],+ [384.273, 166.791],+ [381.134, 165.907],+ [377.6, 164.85],+ [374.333, 163.182],+ [370.937, 161.774],+ [367.523, 160.449],+ [364.041, 159.236],+ [360.5, 158.2],+ [356.991, 157.129],+ [353.646, 155.611],+ [350.169, 154.479],+ [346.865, 153.335],+ [344.619, 151.639],+ [341.738, 150.831],+ [339.143, 148.925],+ [336.107, 146.826],+ [332.998, 144.849],+ [329.981, 142.725],+ [326.683, 141.09],+ [323.26, 139.749],+ [319.997, 138.059],+ [316.496, 136.89],+ [313.067, 135.527],+ [309.629, 134.183],+ [306.239, 132.729],+ [302.898, 131.165],+ [299.525, 129.668],+ [296.09, 128.331],+ [292.651, 127.064],+ [289.201, 125.827],+ [285.767, 124.492],+ [282.359, 123.169],+ [278.951, 121.776],+ [275.471, 120.581],+ [272.032, 119.255],+ [268.614, 117.867],+ [265.133, 116.645],+ [261.671, 115.371],+ [258.288, 113.897],+ [254.743, 112.873],+ [251.425, 111.288],+ [247.951, 110.047],+ [244.466, 108.83],+ [241.075, 107.378],+ [237.629, 106.072],+ [234.251, 104.595],+ [230.856, 103.181],+ [227.487, 101.706],+ [223.991, 100.54],+ [220.637, 99.018],+ [217.19, 97.703],+ [213.662, 96.768],+ [210.367, 95.131],+ [206.968, 93.694],+ [203.501, 92.429],+ [200.128, 90.932],+ [196.68, 89.625],+ [193.191, 88.42],+ [189.67, 87.383],+ [186.269, 86.081],+ [182.939, 84.519],+ [179.613, 82.92],+ [176.281, 81.336],+ [172.88, 79.903],+ [169.515, 78.393],+ [166.103, 76.988],+ [162.567, 75.934],+ [159.145, 74.556],+ [155.718, 73.188],+ [152.349, 71.685],+ [148.953, 70.239],+ [145.474, 69.013],+ [142.001, 67.778],+ [138.59, 66.376],+ [135.097, 65.321],+ [131.655, 64.017],+ [128.238, 62.624],+ [124.906, 61.047],+ [121.395, 59.911],+ [117.903, 58.722],+ [114.361, 57.692],+ [110.887, 56.446],+ [107.477, 55.034],+ [104.079, 53.594],+ [100.649, 52.231],+ [97.165, 51.078],+ [93.591, 50.245],+ [90.164, 48.941],+ [86.632, 47.93],+ [83.024, 47.209],+ [79.345, 47.024],+ [75.655, 47.012],+ [71.994, 46.584],+ [68.502, 45.393],+ [65.084, 44.0],+ [61.747, 42.443],+ [58.503, 40.69],+ [55.474, 38.585],+ [52.697, 36.159],+ [50.013, 33.639],+ [47.274, 31.172],+ [44.557, 28.676],+ [41.775, 26.251],+ [38.991, 23.83],+ [36.252, 21.358],+ [34.486, 20.862],+ [37.168, 23.386],+ [39.364, 26.297],+ [41.758, 27.88],+ [44.485, 30.352],+ [47.278, 32.759],+ [50.144, 35.046],+ [53.151, 37.182],+ [55.997, 39.513],+ [59.112, 41.487],+ [62.018, 43.57],+ [65.385, 45.033],+ [68.834, 46.329],+ [72.37, 47.341],+ [75.994, 47.979],+ [77.729, 47.751],+ [81.416, 47.858],+ [85.091, 47.814],+ [88.693, 48.586],+ [92.222, 49.668],+ [95.7, 50.896],+ [99.163, 52.168],+ [102.702, 53.207],+ [106.16, 54.468],+ [109.613, 55.747],+ [113.085, 56.985],+ [116.536, 58.272],+ [119.983, 59.585],+ [123.362, 61.067],+ [126.801, 62.373],+ [130.141, 63.837],+ [133.623, 65.042],+ [137.002, 66.517],+ [140.409, 67.935],+ [143.799, 69.389],+ [147.198, 70.827],+ [150.629, 72.183],+ [154.059, 73.544],+ [157.512, 74.84],+ [160.94, 76.207],+ [164.383, 77.524],+ [167.865, 78.736],+ [171.317, 80.005],+ [174.72, 81.419],+ [178.189, 82.633],+ [181.642, 83.915],+ [185.079, 85.259],+ [188.539, 86.524],+ [191.95, 87.929],+ [195.332, 89.407],+ [198.701, 90.91],+ [202.071, 92.384],+ [205.366, 93.893],+ [208.817, 95.197],+ [212.212, 96.597],+ [215.731, 97.69],+ [219.128, 99.116],+ [222.53, 100.532],+ [225.938, 101.944],+ [229.317, 103.4],+ [232.736, 104.766],+ [236.116, 106.239],+ [239.577, 107.505],+ [243.062, 108.715],+ [246.542, 109.926],+ [250.046, 111.068],+ [253.539, 112.252],+ [256.961, 113.632],+ [260.343, 114.982],+ [263.647, 116.627],+ [266.766, 118.479],+ [270.216, 119.694],+ [273.66, 120.919],+ [277.128, 122.133],+ [280.367, 123.869],+ [283.77, 125.15],+ [287.179, 126.538],+ [290.603, 127.886],+ [294.048, 129.204],+ [297.514, 130.449],+ [301.005, 131.623],+ [304.479, 132.828],+ [307.913, 134.162],+ [311.365, 135.462],+ [314.858, 136.617],+ [318.252, 138.062],+ [321.502, 139.796],+ [324.941, 141.116],+ [328.389, 142.42],+ [331.68, 144.017],+ [334.756, 146.045],+ [337.31, 148.66],+ [340.321, 150.662],+ [343.466, 152.198],+ [346.596, 154.035],+ [349.838, 155.714],+ [353.288, 156.912],+ [356.761, 158.145],+ [360.192, 159.503],+ [363.677, 160.707],+ [367.103, 162.068],+ [370.484, 163.49],+ [373.899, 164.862],+ [377.327, 166.221],+ [380.831, 167.37],+ [384.283, 168.676],+ [387.729, 169.998],+ [391.195, 171.26],+ [394.632, 172.595],+ [398.047, 173.981],+ [401.564, 175.097],+ [404.983, 176.486],+ [408.412, 177.848],+ [411.833, 179.225],+ [415.276, 180.551],+ [418.732, 181.8],+ [422.165, 183.139],+ [425.626, 184.411],+ [428.929, 186.045],+ [432.4, 187.299],+ [435.871, 188.549],+ [439.379, 189.69],+ [442.848, 190.946],+ [446.269, 192.325],+ [449.687, 193.712],+ [453.169, 194.903],+ [456.443, 196.588],+ [459.894, 197.883],+ [463.287, 199.333],+ [466.738, 200.639],+ [470.159, 202.015],+ [473.663, 203.169],+ [477.126, 204.436],+ [480.546, 205.8],+ [483.924, 207.285],+ [486.499, 208.15],+ [489.847, 209.583],+ [493.181, 211.144],+ [496.582, 212.554],+ [499.984, 213.979],+ [503.446, 215.253],+ [506.879, 216.603],+ [510.284, 218.01],+ [513.733, 219.323],+ [517.186, 220.627],+ [520.596, 221.985],+ [523.098, 223.064],+ [526.009, 224.663],+ [529.149, 225.11],+ [530.969, 222.208],+ [532.16, 218.718],+ [533.53, 215.298],+ [535.013, 211.929],+ [536.048, 208.41],+ [537.559, 205.061],+ [538.91, 201.691],+ [540.44, 198.339],+ [541.703, 194.873],+ [542.819, 191.365],+ [543.882, 187.839],+ [545.077, 186.935],+ [547.964, 187.596],+ [551.395, 188.473],+ [553.159, 191.15],+ [555.805, 192.216],+ [559.03, 190.606],+ [562.05, 188.508],+ [565.175, 186.687],+ [568.132, 184.487],+ [571.05, 182.248],+ [573.873, 179.888],+ [576.974, 177.913],+ [580.087, 175.943],+ [583.424, 174.386],+ [586.951, 173.333],+ [590.448, 172.329],+ [593.814, 170.82],+ [597.274, 169.557],+ [600.867, 168.722],+ [604.514, 168.203],+ [608.126, 168.888],+ [611.465, 170.397],+ [614.659, 172.221],+ [617.86, 174.055],+ [621.156, 175.714],+ [624.455, 177.368],+ [627.781, 178.967],+ [631.141, 180.489],+ [634.486, 182.044],+ [637.926, 183.367],+ [641.504, 184.15],+ [645.181, 184.329],+ [648.378, 182.683],+ [651.121, 180.306],+ [653.147, 177.228],+ [654.83, 173.951],+ [656.232, 170.541],+ [657.231, 166.991],+ [658.445, 163.506],+ [659.801, 160.079],+ [660.943, 156.701],+ [662.416, 153.385],+ [663.605, 149.907],+ [664.656, 146.376],+ [665.768, 142.873],+ [667.113, 139.454],+ [668.526, 136.06],+ [669.765, 132.588],+ [671.054, 129.248],+ [672.407, 125.82],+ [673.828, 122.421],+ [674.825, 118.903],+ [675.885, 115.394],+ [677.422, 112.156],+ [678.643, 108.678],+ [680.126, 105.391],+ [681.604, 102.127],+ [683.112, 98.777],+ [685.489, 98.798],+ [688.733, 99.995],+ [687.877, 103.032],+ [686.887, 106.583],+ [685.73, 110.069],+ [685.254, 113.695],+ [686.739, 116.966],+ [689.405, 119.446],+ [692.614, 119.067],+ [694.39, 116.233],+ [695.707, 112.883],+ [697.209, 109.523],+ [699.006, 106.49],+ [702.63, 106.225],+ [706.217, 105.771],+ [709.619, 104.561],+ [712.97, 103.391],+ [716.293, 104.206],+ [718.423, 105.899],+ [720.403, 108.979],+ [720.629, 109.634],+ [722.741, 110.017],+ [722.915, 109.481],+ [725.696, 108.009],+ ],+ },+];diff --git a/packages/jonnys-videos/src/roller-skis/transcripts/IMG_0478.captions.json b/packages/jonnys-videos/src/roller-skis/transcripts/IMG_0478.captions.jsonnew file mode 100644index 0000000000..b3a56b314b--- /dev/null+++ b/packages/jonnys-videos/src/roller-skis/transcripts/IMG_0478.captions.json@@ -0,0 +1,471 @@+[+ {+ "text": "I'm",+ "startMs": 160,+ "endMs": 400,+ "timestampMs": 280,+ "confidence": null+ },+ {+ "text": " going",+ "startMs": 400,+ "endMs": 540,+ "timestampMs": 470,+ "confidence": null+ },+ {+ "text": " to",+ "startMs": 540,+ "endMs": 540,+ "timestampMs": 540,+ "confidence": null+ },+ {+ "text": " try",+ "startMs": 540,+ "endMs": 580,+ "timestampMs": 560,+ "confidence": null+ },+ {+ "text": " to",+ "startMs": 580,+ "endMs": 700,+ "timestampMs": 640,+ "confidence": null+ },+ {+ "text": " demonstrate",+ "startMs": 700,+ "endMs": 840,+ "timestampMs": 770,+ "confidence": null+ },+ {+ "text": " it",+ "startMs": 840,+ "endMs": 1380,+ "timestampMs": 1110,+ "confidence": null+ },+ {+ "text": " to",+ "startMs": 1380,+ "endMs": 1560,+ "timestampMs": 1470,+ "confidence": null+ },+ {+ "text": " you.",+ "startMs": 1560,+ "endMs": 1560,+ "timestampMs": 1560,+ "confidence": null+ },+ {+ "text": " Yeah.",+ "startMs": 2220,+ "endMs": 2500,+ "timestampMs": 2360,+ "confidence": null+ },+ {+ "text": " Okay,",+ "startMs": 3640,+ "endMs": 3720,+ "timestampMs": 3680,+ "confidence": null+ },+ {+ "text": " there",+ "startMs": 3800,+ "endMs": 3980,+ "timestampMs": 3890,+ "confidence": null+ },+ {+ "text": " is",+ "startMs": 3980,+ "endMs": 4280,+ "timestampMs": 4130,+ "confidence": null+ },+ {+ "text": " one",+ "startMs": 4280,+ "endMs": 4700,+ "timestampMs": 4490,+ "confidence": null+ },+ {+ "text": " technique",+ "startMs": 4700,+ "endMs": 5020,+ "timestampMs": 4860,+ "confidence": null+ },+ {+ "text": " with",+ "startMs": 5020,+ "endMs": 5260,+ "timestampMs": 5140,+ "confidence": null+ },+ {+ "text": " which",+ "startMs": 5260,+ "endMs": 5400,+ "timestampMs": 5330,+ "confidence": null+ },+ {+ "text": " you",+ "startMs": 5400,+ "endMs": 5680,+ "timestampMs": 5540,+ "confidence": null+ },+ {+ "text": " can",+ "startMs": 5680,+ "endMs": 6340,+ "timestampMs": 6010,+ "confidence": null+ },+ {+ "text": " brake.",+ "startMs": 6340,+ "endMs": 6960,+ "timestampMs": 6650,+ "confidence": null+ },+ {+ "text": " I'm",+ "startMs": 7140,+ "endMs": 7320,+ "timestampMs": 7230,+ "confidence": null+ },+ {+ "text": " going",+ "startMs": 7320,+ "endMs": 7500,+ "timestampMs": 7410,+ "confidence": null+ },+ {+ "text": " to",+ "startMs": 7500,+ "endMs": 7700,+ "timestampMs": 7600,+ "confidence": null+ },+ {+ "text": " try",+ "startMs": 7700,+ "endMs": 7840,+ "timestampMs": 7770,+ "confidence": null+ },+ {+ "text": " to",+ "startMs": 7840,+ "endMs": 8140,+ "timestampMs": 7990,+ "confidence": null+ },+ {+ "text": " demonstrate",+ "startMs": 8140,+ "endMs": 8500,+ "timestampMs": 8320,+ "confidence": null+ },+ {+ "text": " it",+ "startMs": 8500,+ "endMs": 8680,+ "timestampMs": 8590,+ "confidence": null+ },+ {+ "text": " to",+ "startMs": 8680,+ "endMs": 8900,+ "timestampMs": 8790,+ "confidence": null+ },+ {+ "text": " you.",+ "startMs": 8900,+ "endMs": 9000,+ "timestampMs": 8950,+ "confidence": null+ },+ {+ "text": " So",+ "startMs": 10080,+ "endMs": 10400,+ "timestampMs": 10240,+ "confidence": null+ },+ {+ "text": " essentially",+ "startMs": 10400,+ "endMs": 10900,+ "timestampMs": 10650,+ "confidence": null+ },+ {+ "text": " you",+ "startMs": 10900,+ "endMs": 12380,+ "timestampMs": 11640,+ "confidence": null+ },+ {+ "text": " accelerate,",+ "startMs": 12380,+ "endMs": 12600,+ "timestampMs": 12490,+ "confidence": null+ },+ {+ "text": " you",+ "startMs": 12600,+ "endMs": 12860,+ "timestampMs": 12730,+ "confidence": null+ },+ {+ "text": " start",+ "startMs": 12860,+ "endMs": 13120,+ "timestampMs": 12990,+ "confidence": null+ },+ {+ "text": " going",+ "startMs": 13120,+ "endMs": 13520,+ "timestampMs": 13320,+ "confidence": null+ },+ {+ "text": " downhill,",+ "startMs": 13520,+ "endMs": 13700,+ "timestampMs": 13610,+ "confidence": null+ },+ {+ "text": " hope",+ "startMs": 13800,+ "endMs": 13940,+ "timestampMs": 13870,+ "confidence": null+ },+ {+ "text": " it's",+ "startMs": 13940,+ "endMs": 14080,+ "timestampMs": 14010,+ "confidence": null+ },+ {+ "text": " going",+ "startMs": 14080,+ "endMs": 14220,+ "timestampMs": 14150,+ "confidence": null+ },+ {+ "text": " to",+ "startMs": 14220,+ "endMs": 14220,+ "timestampMs": 14220,+ "confidence": null+ },+ {+ "text": " be",+ "startMs": 14220,+ "endMs": 14400,+ "timestampMs": 14310,+ "confidence": null+ },+ {+ "text": " well.",+ "startMs": 14400,+ "endMs": 15000,+ "timestampMs": 14700,+ "confidence": null+ },+ {+ "text": " And",+ "startMs": 16820,+ "endMs": 17040,+ "timestampMs": 16930,+ "confidence": null+ },+ {+ "text": " now",+ "startMs": 17040,+ "endMs": 17280,+ "timestampMs": 17160,+ "confidence": null+ },+ {+ "text": " you",+ "startMs": 17280,+ "endMs": 18100,+ "timestampMs": 17690,+ "confidence": null+ },+ {+ "text": " go",+ "startMs": 18100,+ "endMs": 18500,+ "timestampMs": 18300,+ "confidence": null+ },+ {+ "text": " wide.",+ "startMs": 18500,+ "endMs": 19000,+ "timestampMs": 18750,+ "confidence": null+ },+ {+ "text": " And",+ "startMs": 19740,+ "endMs": 19840,+ "timestampMs": 19790,+ "confidence": null+ },+ {+ "text": " if",+ "startMs": 19840,+ "endMs": 19940,+ "timestampMs": 19890,+ "confidence": null+ },+ {+ "text": " you",+ "startMs": 19940,+ "endMs": 20060,+ "timestampMs": 20000,+ "confidence": null+ },+ {+ "text": " go",+ "startMs": 20060,+ "endMs": 20520,+ "timestampMs": 20290,+ "confidence": null+ },+ {+ "text": " wide,",+ "startMs": 20520,+ "endMs": 21700,+ "timestampMs": 21110,+ "confidence": null+ },+ {+ "text": " you're",+ "startMs": 22100,+ "endMs": 22980,+ "timestampMs": 22540,+ "confidence": null+ },+ {+ "text": " automatically",+ "startMs": 22980,+ "endMs": 23480,+ "timestampMs": 23230,+ "confidence": null+ },+ {+ "text": " start",+ "startMs": 23480,+ "endMs": 23840,+ "timestampMs": 23660,+ "confidence": null+ },+ {+ "text": " braking.",+ "startMs": 23840,+ "endMs": 24000,+ "timestampMs": 23920,+ "confidence": null+ },+ {+ "text": " Let's",+ "startMs": 24760,+ "endMs": 25000,+ "timestampMs": 24880,+ "confidence": null+ },+ {+ "text": " try",+ "startMs": 25000,+ "endMs": 25340,+ "timestampMs": 25170,+ "confidence": null+ },+ {+ "text": " again",+ "startMs": 25340,+ "endMs": 27200,+ "timestampMs": 26270,+ "confidence": null+ },+ {+ "text": " Tada",+ "startMs": 41020,+ "endMs": 41740,+ "timestampMs": 41380,+ "confidence": null+ },+ {+ "text": "!!",+ "startMs": 41740,+ "endMs": 50940,+ "timestampMs": 46340,+ "confidence": null+ },+ {+ "text": " And",+ "startMs": 53860,+ "endMs": 54060,+ "timestampMs": 53960,+ "confidence": null+ },+ {+ "text": " that's",+ "startMs": 54060,+ "endMs": 54280,+ "timestampMs": 54170,+ "confidence": null+ },+ {+ "text": " how",+ "startMs": 54280,+ "endMs": 54440,+ "timestampMs": 54360,+ "confidence": null+ },+ {+ "text": " you",+ "startMs": 54440,+ "endMs": 54620,+ "timestampMs": 54530,+ "confidence": null+ },+ {+ "text": " brake.",+ "startMs": 54620,+ "endMs": 57385,+ "timestampMs": 56003,+ "confidence": null+ }+]