Skip to content

πŸŽ₯ Make videos programmatically with React

Refine disco light show edit and chapter structure

JonnyBurger8716fb837ff2
diff --git a/packages/jonnys-videos/remotion.config.ts b/packages/jonnys-videos/remotion.config.ts
index f8bb7d75ed..5b71170d39 100644
--- a/packages/jonnys-videos/remotion.config.ts
+++ b/packages/jonnys-videos/remotion.config.ts
@@ -12,3 +12,4 @@ Config.setOverwriteOutput(true);
Config.setChromiumOpenGlRenderer('angle');
Config.setDefaultPremountInSeconds(2);
Config.setShowPremounting(false);
+Config.setSequenceActivityLimit(1);
diff --git a/packages/jonnys-videos/src/Root.tsx b/packages/jonnys-videos/src/Root.tsx
index 60fe516146..a4e679cf4d 100644
--- a/packages/jonnys-videos/src/Root.tsx
+++ b/packages/jonnys-videos/src/Root.tsx
@@ -11,6 +11,7 @@ import {
} from './disco-light-show/AnimatedCaptionsBigWords';
import {ArrowLogo} from './disco-light-show/ArrowLogo';
import {ArrowLogoRemotion} from './disco-light-show/ArrowLogoRemotion';
+import {BackgroundRemovalScene} from './disco-light-show/BackgroundRemovalScene';
import {BirthdayPartyCompilation} from './disco-light-show/BirthdayPartyCompilation';
import {ClientSideChad} from './disco-light-show/ClientSideChad';
import {Clip1} from './disco-light-show/Clip1';
@@ -18,17 +19,23 @@ import {Clip2} from './disco-light-show/Clip2';
import {Clip3} from './disco-light-show/Clip3';
import {Clip4} from './disco-light-show/Clip4';
import {Clip5} from './disco-light-show/Clip5';
+import {CodeEditor} from './disco-light-show/CodeEditor';
import {Compilation} from './disco-light-show/Compilation';
-import {MyComposition} from './disco-light-show/Composition';
+import {
+ MASTER_DURATION_IN_FRAMES,
+ MyComposition,
+} from './disco-light-show/Composition';
import {
Countdown,
CountdownPage,
COUNTDOWN_DURATION_IN_FRAMES,
} from './disco-light-show/Countdown';
+import {CustomToolScene} from './disco-light-show/CustomToolScene';
import {DiscoBallBg} from './disco-light-show/DiscoBallBg';
import {DragIn} from './disco-light-show/DragIn';
import {DragInDemo} from './disco-light-show/DragInDemo';
import {EffectShow} from './disco-light-show/EffectShow';
+import {FinaleScene} from './disco-light-show/FinaleScene';
import {Fork} from './disco-light-show/Fork';
import {ForkDrop} from './disco-light-show/ForkDrop';
import {ForkSound} from './disco-light-show/ForkSound';
@@ -37,7 +44,10 @@ import {HuggingFace} from './disco-light-show/HuggingFace';
import {MasterWithEffect} from './disco-light-show/MasterWithEffect';
import {Mediabunny} from './disco-light-show/Mediabunny';
import {OneShot} from './disco-light-show/OneShot';
+import {OpeningScene} from './disco-light-show/OpeningScene';
import {DiscoLightShowRerecording} from './disco-light-show/recordings/DiscoLightShowRerecording';
+import {RemotionAssemblyScene} from './disco-light-show/RemotionAssemblyScene';
+import {RemotionSticker} from './disco-light-show/RemotionSticker';
import {EvacuateDrop} from './disco-light-show/selects/evacuate/EvacuateDrop';
import {EvacuateGreenOutro} from './disco-light-show/selects/evacuate/EvacuateGreenOutro';
import {EvacuateHypnotized} from './disco-light-show/selects/evacuate/EvacuateHypnotized';
@@ -102,6 +112,61 @@ export const RemotionRoot: React.FC = () => {
<>
<Folder name="DiscoLightShow">
<MyComposition />
+ <Folder name="Chapters">
+ <Composition
+ id="OpeningScene"
+ component={OpeningScene}
+ durationInFrames={325}
+ fps={30}
+ width={1080}
+ height={1920}
+ defaultProps={{style: {backgroundColor: '#141414'}}}
+ />
+ <Composition
+ id="BackgroundRemovalScene"
+ component={BackgroundRemovalScene}
+ durationInFrames={526}
+ fps={30}
+ width={1080}
+ height={1920}
+ defaultProps={{style: {backgroundColor: '#141414'}}}
+ />
+ <Composition
+ id="CustomToolScene"
+ component={CustomToolScene}
+ durationInFrames={255}
+ fps={30}
+ width={1080}
+ height={1920}
+ defaultProps={{style: {backgroundColor: '#141414'}}}
+ />
+ <Composition
+ id="RemotionAssemblyScene"
+ component={RemotionAssemblyScene}
+ durationInFrames={265}
+ fps={30}
+ width={1080}
+ height={1920}
+ defaultProps={{style: {backgroundColor: '#141414'}}}
+ />
+ <Composition
+ id="FinaleScene"
+ component={FinaleScene}
+ durationInFrames={244}
+ fps={30}
+ width={1080}
+ height={1920}
+ defaultProps={{style: {backgroundColor: '#141414'}}}
+ />
+ <Composition
+ id="CodeEditor"
+ component={CodeEditor}
+ durationInFrames={56}
+ fps={30}
+ width={1188}
+ height={1260}
+ />
+ </Folder>
<Folder name="Recordings">
<Composition
id="DiscoLightShowRerecording"
@@ -233,7 +298,7 @@ export const RemotionRoot: React.FC = () => {
<Composition
id="MasterWithEffect"
component={MasterWithEffect}
- durationInFrames={1800}
+ durationInFrames={MASTER_DURATION_IN_FRAMES}
fps={30}
width={1080}
height={1920}
@@ -243,7 +308,7 @@ export const RemotionRoot: React.FC = () => {
<Composition
id="EffectShow"
component={EffectShow}
- durationInFrames={CAPTIONS_DURATION_IN_FRAMES}
+ durationInFrames={200}
fps={30}
width={1080}
height={1920}
@@ -327,7 +392,7 @@ export const RemotionRoot: React.FC = () => {
<Composition
id="HuggingFace"
component={HuggingFace}
- durationInFrames={240}
+ durationInFrames={166}
fps={30}
width={1080}
height={1920}
@@ -343,7 +408,7 @@ export const RemotionRoot: React.FC = () => {
<Composition
id="ClientSideChad"
component={ClientSideChad}
- durationInFrames={150}
+ durationInFrames={140}
fps={30}
width={1080}
height={1920}
@@ -351,7 +416,7 @@ export const RemotionRoot: React.FC = () => {
<Composition
id="ForkDrop"
component={ForkDrop}
- durationInFrames={1629}
+ durationInFrames={65}
fps={30}
width={1080}
height={1920}
@@ -360,7 +425,7 @@ export const RemotionRoot: React.FC = () => {
<Composition
id="ForkSound"
component={ForkSound}
- durationInFrames={772}
+ durationInFrames={60}
fps={30}
width={1080}
height={1920}
@@ -368,7 +433,7 @@ export const RemotionRoot: React.FC = () => {
<Composition
id="Separate"
component={Separate}
- durationInFrames={1629}
+ durationInFrames={154}
fps={30}
width={1080}
height={1920}
@@ -376,7 +441,15 @@ export const RemotionRoot: React.FC = () => {
<Composition
id="Mediabunny"
component={Mediabunny}
- durationInFrames={1629}
+ durationInFrames={60}
+ fps={30}
+ width={1080}
+ height={1920}
+ />
+ <Composition
+ id="RemotionSticker"
+ component={RemotionSticker}
+ durationInFrames={60}
fps={30}
width={1080}
height={1920}
@@ -392,7 +465,7 @@ export const RemotionRoot: React.FC = () => {
<Composition
id="VibeCoded"
component={VibeCoded}
- durationInFrames={150}
+ durationInFrames={162}
fps={30}
width={1080}
height={1920}
@@ -432,7 +505,7 @@ export const RemotionRoot: React.FC = () => {
<Composition
id="BirthdayPartyCompilation"
component={BirthdayPartyCompilation}
- durationInFrames={200}
+ durationInFrames={178}
fps={30}
width={1080}
height={1920}
diff --git a/packages/jonnys-videos/src/disco-light-show/AnimatedCaptions.tsx b/packages/jonnys-videos/src/disco-light-show/AnimatedCaptions.tsx
index ccac89c936..637aa6694c 100644
--- a/packages/jonnys-videos/src/disco-light-show/AnimatedCaptions.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/AnimatedCaptions.tsx
@@ -5,1173 +5,21 @@ import {
type CaptionsTheme,
} from '../components/AnimatedCaptions';
import {VOICEOVER_SRC} from './voiceover';
+import {voiceoverCaptions} from './voiceover-captions';
-export const CAPTIONS_DURATION_IN_FRAMES = 1816;
+export const CAPTIONS_DURATION_IN_FRAMES = 1608;
export {CAPTIONS_HEIGHT};
-// 'paper': near-black ink on the paper background.
-// 'dark': the previous white text with glow, for segments over footage.
const AnimatedCaptionsInner: React.FC<{
readonly theme?: CaptionsTheme;
-}> = ({theme = 'dark'}) => {
- return (
- <SharedAnimatedCaptions
- captions={[
- {
- text: 'I',
- startMs: 208.821,
- endMs: 440.844,
- timestampMs: 324.832,
- confidence: null,
- },
- {
- text: ' vibe-coded',
- startMs: 440.844,
- endMs: 881.687,
- timestampMs: 661.265,
- confidence: null,
- },
- {
- text: ' my',
- startMs: 881.687,
- endMs: 1067.305,
- timestampMs: 974.496,
- confidence: null,
- },
- {
- text: ' own',
- startMs: 1067.305,
- endMs: 1368.935,
- timestampMs: 1218.12,
- confidence: null,
- },
- {
- text: ' DJ',
- startMs: 1368.935,
- endMs: 1809.779,
- timestampMs: 1589.357,
- confidence: null,
- },
- {
- text: ' show.',
- startMs: 1809.779,
- endMs: 2065.004,
- timestampMs: 1937.391,
- confidence: null,
- },
- {
- text: ' Claude',
- startMs: 2389.836,
- endMs: 2552.252,
- timestampMs: 2471.044,
- confidence: null,
- },
- {
- text: ' is',
- startMs: 2552.252,
- endMs: 2761.073,
- timestampMs: 2656.662,
- confidence: null,
- },
- {
- text: ' helping',
- startMs: 2761.073,
- endMs: 3016.298,
- timestampMs: 2888.685,
- confidence: null,
- },
- {
- text: ' me',
- startMs: 3016.298,
- endMs: 3503.546,
- timestampMs: 3259.922,
- confidence: null,
- },
- {
- text: ' animate',
- startMs: 3503.546,
- endMs: 3805.176,
- timestampMs: 3654.361,
- confidence: null,
- },
- {
- text: ' lights,',
- startMs: 3805.176,
- endMs: 4153.21,
- timestampMs: 3979.193,
- confidence: null,
- },
- {
- text: ' and',
- startMs: 4153.21,
- endMs: 4431.637,
- timestampMs: 4292.423,
- confidence: null,
- },
- {
- text: ' visuals',
- startMs: 4431.637,
- endMs: 4710.065,
- timestampMs: 4570.851,
- confidence: null,
- },
- {
- text: ' are',
- startMs: 4710.065,
- endMs: 4895.683,
- timestampMs: 4802.874,
- confidence: null,
- },
- {
- text: ' made',
- startMs: 4895.683,
- endMs: 5127.706,
- timestampMs: 5011.694,
- confidence: null,
- },
- {
- text: ' in',
- startMs: 5127.706,
- endMs: 5266.92,
- timestampMs: 5197.313,
- confidence: null,
- },
- {
- text: ' Remotion.',
- startMs: 5266.92,
- endMs: 5846.977,
- timestampMs: 5556.949,
- confidence: null,
- },
- {
- text: ' Then',
- startMs: 6324.946,
- endMs: 6447.919,
- timestampMs: 6386.432,
- confidence: null,
- },
- {
- text: ' I',
- startMs: 6447.919,
- endMs: 6620.081,
- timestampMs: 6534.0,
- confidence: null,
- },
- {
- text: ' threw',
- startMs: 6620.081,
- endMs: 6792.243,
- timestampMs: 6706.162,
- confidence: null,
- },
- {
- text: ' a',
- startMs: 6792.243,
- endMs: 6939.811,
- timestampMs: 6866.027,
- confidence: null,
- },
- {
- text: ' party',
- startMs: 6939.811,
- endMs: 7185.757,
- timestampMs: 7062.784,
- confidence: null,
- },
- {
- text: ' for',
- startMs: 7185.757,
- endMs: 7333.324,
- timestampMs: 7259.54,
- confidence: null,
- },
- {
- text: ' my',
- startMs: 7333.324,
- endMs: 7603.865,
- timestampMs: 7468.594,
- confidence: null,
- },
- {
- text: ' birthday',
- startMs: 7603.865,
- endMs: 7923.595,
- timestampMs: 7763.73,
- confidence: null,
- },
- {
- text: ' and',
- startMs: 7923.595,
- endMs: 8144.946,
- timestampMs: 8034.271,
- confidence: null,
- },
- {
- text: ' played',
- startMs: 8144.946,
- endMs: 8292.514,
- timestampMs: 8218.73,
- confidence: null,
- },
- {
- text: ' it',
- startMs: 8292.514,
- endMs: 8489.27,
- timestampMs: 8390.892,
- confidence: null,
- },
- {
- text: ' for',
- startMs: 8489.27,
- endMs: 8686.027,
- timestampMs: 8587.648,
- confidence: null,
- },
- {
- text: ' my',
- startMs: 8686.027,
- endMs: 8956.568,
- timestampMs: 8821.298,
- confidence: null,
- },
- {
- text: ' friends.',
- startMs: 8956.568,
- endMs: 9325.486,
- timestampMs: 9141.027,
- confidence: null,
- },
- {
- text: " Let's",
- startMs: 9792.784,
- endMs: 10038.73,
- timestampMs: 9915.757,
- confidence: null,
- },
- {
- text: ' see',
- startMs: 10038.73,
- endMs: 10186.297,
- timestampMs: 10112.514,
- confidence: null,
- },
- {
- text: ' if',
- startMs: 10186.297,
- endMs: 10309.27,
- timestampMs: 10247.784,
- confidence: null,
- },
- {
- text: ' I',
- startMs: 10309.27,
- endMs: 10432.243,
- timestampMs: 10370.756,
- confidence: null,
- },
- {
- text: ' can',
- startMs: 10432.243,
- endMs: 10555.216,
- timestampMs: 10493.73,
- confidence: null,
- },
- {
- text: ' get',
- startMs: 10555.216,
- endMs: 10751.973,
- timestampMs: 10653.594,
- confidence: null,
- },
- {
- text: ' them',
- startMs: 10751.973,
- endMs: 10924.135,
- timestampMs: 10838.054,
- confidence: null,
- },
- {
- text: ' to',
- startMs: 10924.135,
- endMs: 11219.27,
- timestampMs: 11071.702,
- confidence: null,
- },
- {
- text: ' dance.',
- startMs: 11219.27,
- endMs: 11465.216,
- timestampMs: 11342.243,
- confidence: null,
- },
- {
- text: ' For',
- startMs: 11612.624,
- endMs: 11784.412,
- timestampMs: 11698.518,
- confidence: null,
- },
- {
- text: ' this',
- startMs: 11784.412,
- endMs: 12078.906,
- timestampMs: 11931.659,
- confidence: null,
- },
- {
- text: ' track,',
- startMs: 12078.906,
- endMs: 12250.694,
- timestampMs: 12164.8,
- confidence: null,
- },
- {
- text: ' I',
- startMs: 12299.776,
- endMs: 12447.024,
- timestampMs: 12373.4,
- confidence: null,
- },
- {
- text: ' took',
- startMs: 12447.024,
- endMs: 12618.812,
- timestampMs: 12532.918,
- confidence: null,
- },
- {
- text: ' the',
- startMs: 12618.812,
- endMs: 12864.224,
- timestampMs: 12741.518,
- confidence: null,
- },
- {
- text: ' music',
- startMs: 12864.224,
- endMs: 13232.341,
- timestampMs: 13048.283,
- confidence: null,
- },
- {
- text: ' video',
- startMs: 13232.341,
- endMs: 13526.835,
- timestampMs: 13379.588,
- confidence: null,
- },
- {
- text: ' and',
- startMs: 13526.835,
- endMs: 13944.035,
- timestampMs: 13735.435,
- confidence: null,
- },
- {
- text: ' inserted',
- startMs: 13944.035,
- endMs: 14557.565,
- timestampMs: 14250.8,
- confidence: null,
- },
- {
- text: ' animated',
- startMs: 14557.565,
- endMs: 14901.141,
- timestampMs: 14729.353,
- confidence: null,
- },
- {
- text: ' captions',
- startMs: 14901.141,
- endMs: 15465.588,
- timestampMs: 15183.364,
- confidence: null,
- },
- {
- text: ' in',
- startMs: 15465.588,
- endMs: 15760.082,
- timestampMs: 15612.835,
- confidence: null,
- },
- {
- text: ' between',
- startMs: 15760.082,
- endMs: 15858.247,
- timestampMs: 15809.164,
- confidence: null,
- },
- {
- text: ' the',
- startMs: 15956.412,
- endMs: 16250.906,
- timestampMs: 16103.659,
- confidence: null,
- },
- {
- text: ' foreground',
- startMs: 16275.447,
- endMs: 16668.106,
- timestampMs: 16471.776,
- confidence: null,
- },
- {
- text: ' and',
- startMs: 16668.106,
- endMs: 16790.812,
- timestampMs: 16729.459,
- confidence: null,
- },
- {
- text: ' the',
- startMs: 16790.812,
- endMs: 17134.388,
- timestampMs: 16962.6,
- confidence: null,
- },
- {
- text: ' background.',
- startMs: 17134.388,
- endMs: 17698.835,
- timestampMs: 17416.611,
- confidence: null,
- },
- {
- text: ' How',
- startMs: 17895.165,
- endMs: 18042.412,
- timestampMs: 17968.789,
- confidence: null,
- },
- {
- text: ' did',
- startMs: 18042.412,
- endMs: 18214.2,
- timestampMs: 18128.306,
- confidence: null,
- },
- {
- text: ' I',
- startMs: 18214.2,
- endMs: 18410.529,
- timestampMs: 18312.364,
- confidence: null,
- },
- {
- text: ' do',
- startMs: 18410.529,
- endMs: 18631.4,
- timestampMs: 18520.965,
- confidence: null,
- },
- {
- text: ' this?',
- startMs: 18631.4,
- endMs: 18729.565,
- timestampMs: 18680.482,
- confidence: null,
- },
- {
- text: ' I',
- startMs: 18950.243,
- endMs: 19146.23,
- timestampMs: 19048.236,
- confidence: null,
- },
- {
- text: ' found',
- startMs: 19146.23,
- endMs: 19440.211,
- timestampMs: 19293.22,
- confidence: null,
- },
- {
- text: ' this',
- startMs: 19440.211,
- endMs: 19807.686,
- timestampMs: 19623.948,
- confidence: null,
- },
- {
- text: ' Text-behind-video',
- startMs: 19807.686,
- endMs: 20861.117,
- timestampMs: 20334.401,
- confidence: null,
- },
- {
- text: ' demo',
- startMs: 20861.117,
- endMs: 21179.596,
- timestampMs: 21020.357,
- confidence: null,
- },
- {
- text: ' from',
- startMs: 21179.596,
- endMs: 21375.584,
- timestampMs: 21277.59,
- confidence: null,
- },
- {
- text: ' Hugging',
- startMs: 21375.584,
- endMs: 21890.05,
- timestampMs: 21632.817,
- confidence: null,
- },
- {
- text: ' Face,',
- startMs: 21890.05,
- endMs: 22453.513,
- timestampMs: 22171.781,
- confidence: null,
- },
- {
- text: ' which',
- startMs: 22673.998,
- endMs: 22894.484,
- timestampMs: 22784.241,
- confidence: null,
- },
- {
- text: ' works',
- startMs: 22894.484,
- endMs: 23359.953,
- timestampMs: 23127.219,
- confidence: null,
- },
- {
- text: ' completely',
- startMs: 23359.953,
- endMs: 23800.924,
- timestampMs: 23580.439,
- confidence: null,
- },
- {
- text: ' locally',
- startMs: 23800.924,
- endMs: 24143.902,
- timestampMs: 23972.413,
- confidence: null,
- },
- {
- text: ' by',
- startMs: 24143.902,
- endMs: 24511.378,
- timestampMs: 24327.64,
- confidence: null,
- },
- {
- text: ' leveraging',
- startMs: 24511.378,
- endMs: 24511.378,
- timestampMs: 24511.378,
- confidence: null,
- },
- {
- text: ' all',
- startMs: 24854.355,
- endMs: 25001.346,
- timestampMs: 24927.851,
- confidence: null,
- },
- {
- text: ' the',
- startMs: 25001.346,
- endMs: 25270.828,
- timestampMs: 25136.087,
- confidence: null,
- },
- {
- text: ' cool',
- startMs: 25270.828,
- endMs: 25858.789,
- timestampMs: 25564.808,
- confidence: null,
- },
- {
- text: ' technology.',
- startMs: 25858.789,
- endMs: 26397.754,
- timestampMs: 26128.272,
- confidence: null,
- },
- {
- text: ' The',
- startMs: 26520.855,
- endMs: 26743.532,
- timestampMs: 26632.194,
- confidence: null,
- },
- {
- text: ' demo',
- startMs: 26743.532,
- endMs: 26990.952,
- timestampMs: 26867.242,
- confidence: null,
- },
- {
- text: ' itself',
- startMs: 26990.952,
- endMs: 27287.855,
- timestampMs: 27139.404,
- confidence: null,
- },
- {
- text: ' is',
- startMs: 27287.855,
- endMs: 27436.306,
- timestampMs: 27362.081,
- confidence: null,
- },
- {
- text: ' quite',
- startMs: 27436.306,
- endMs: 27757.952,
- timestampMs: 27597.129,
- confidence: null,
- },
- {
- text: ' limited,',
- startMs: 27757.952,
- endMs: 28228.048,
- timestampMs: 27993.0,
- confidence: null,
- },
- {
- text: ' and',
- startMs: 28228.048,
- endMs: 28450.726,
- timestampMs: 28339.387,
- confidence: null,
- },
- {
- text: ' we',
- startMs: 28450.726,
- endMs: 28698.145,
- timestampMs: 28574.435,
- confidence: null,
- },
- {
- text: ' cannot',
- startMs: 28698.145,
- endMs: 29044.532,
- timestampMs: 28871.338,
- confidence: null,
- },
- {
- text: ' insert',
- startMs: 29044.532,
- endMs: 29291.952,
- timestampMs: 29168.242,
- confidence: null,
- },
- {
- text: ' an',
- startMs: 29291.952,
- endMs: 29613.597,
- timestampMs: 29452.774,
- confidence: null,
- },
- {
- text: ' animated',
- startMs: 29613.597,
- endMs: 30009.468,
- timestampMs: 29811.533,
- confidence: null,
- },
- {
- text: ' video',
- startMs: 30009.468,
- endMs: 30355.855,
- timestampMs: 30182.662,
- confidence: null,
- },
- {
- text: ' layer.',
- startMs: 30355.855,
- endMs: 30776.468,
- timestampMs: 30566.162,
- confidence: null,
- },
- {
- text: ' But',
- startMs: 31023.887,
- endMs: 31197.081,
- timestampMs: 31110.484,
- confidence: null,
- },
- {
- text: ' since',
- startMs: 31197.081,
- endMs: 31370.274,
- timestampMs: 31283.677,
- confidence: null,
- },
- {
- text: ' it',
- startMs: 31370.274,
- endMs: 31568.21,
- timestampMs: 31469.242,
- confidence: null,
- },
- {
- text: ' is',
- startMs: 31568.21,
- endMs: 31790.887,
- timestampMs: 31679.548,
- confidence: null,
- },
- {
- text: ' open',
- startMs: 31790.887,
- endMs: 32087.79,
- timestampMs: 31939.338,
- confidence: null,
- },
- {
- text: ' source,',
- startMs: 32087.79,
- endMs: 32285.726,
- timestampMs: 32186.758,
- confidence: null,
- },
- {
- text: ' I',
- startMs: 32409.435,
- endMs: 32533.145,
- timestampMs: 32471.29,
- confidence: null,
- },
- {
- text: ' can',
- startMs: 32533.145,
- endMs: 32706.339,
- timestampMs: 32619.742,
- confidence: null,
- },
- {
- text: ' just',
- startMs: 32706.339,
- endMs: 33027.984,
- timestampMs: 32867.162,
- confidence: null,
- },
- {
- text: ' fork',
- startMs: 33027.984,
- endMs: 33250.661,
- timestampMs: 33139.322,
- confidence: null,
- },
- {
- text: ' the',
- startMs: 33250.661,
- endMs: 33572.306,
- timestampMs: 33411.484,
- confidence: null,
- },
- {
- text: ' project',
- startMs: 33572.306,
- endMs: 33597.048,
- timestampMs: 33584.677,
- confidence: null,
- },
- {
- text: ' and',
- startMs: 33794.984,
- endMs: 33943.435,
- timestampMs: 33869.209,
- confidence: null,
- },
- {
- text: ' make',
- startMs: 33943.435,
- endMs: 34141.371,
- timestampMs: 34042.403,
- confidence: null,
- },
- {
- text: ' a',
- startMs: 34141.371,
- endMs: 34537.242,
- timestampMs: 34339.306,
- confidence: null,
- },
- {
- text: ' custom',
- startMs: 34537.242,
- endMs: 34834.145,
- timestampMs: 34685.693,
- confidence: null,
- },
- {
- text: ' version',
- startMs: 34834.145,
- endMs: 35155.79,
- timestampMs: 34994.967,
- confidence: null,
- },
- {
- text: ' that',
- startMs: 35155.79,
- endMs: 35328.984,
- timestampMs: 35242.387,
- confidence: null,
- },
- {
- text: ' fits',
- startMs: 35328.984,
- endMs: 35526.919,
- timestampMs: 35427.951,
- confidence: null,
- },
- {
- text: ' my',
- startMs: 35526.919,
- endMs: 35873.306,
- timestampMs: 35700.113,
- confidence: null,
- },
- {
- text: ' needs,',
- startMs: 35873.306,
- endMs: 36343.403,
- timestampMs: 36108.355,
- confidence: null,
- },
- {
- text: ' exporting',
- startMs: 36813.5,
- endMs: 37456.79,
- timestampMs: 37135.145,
- confidence: null,
- },
- {
- text: ' foreground',
- startMs: 37456.79,
- endMs: 37803.177,
- timestampMs: 37629.984,
- confidence: null,
- },
- {
- text: ' and',
- startMs: 37803.177,
- endMs: 38149.565,
- timestampMs: 37976.371,
- confidence: null,
- },
- {
- text: ' background',
- startMs: 38149.565,
- endMs: 38817.597,
- timestampMs: 38483.581,
- confidence: null,
- },
- {
- text: ' separately',
- startMs: 38817.597,
- endMs: 38842.339,
- timestampMs: 38829.968,
- confidence: null,
- },
- {
- text: ' as',
- startMs: 39114.5,
- endMs: 39535.113,
- timestampMs: 39324.806,
- confidence: null,
- },
- {
- text: ' transparent',
- startMs: 39535.113,
- endMs: 39881.5,
- timestampMs: 39708.306,
- confidence: null,
- },
- {
- text: ' layers',
- startMs: 39881.5,
- endMs: 40475.306,
- timestampMs: 40178.403,
- confidence: null,
- },
- {
- text: ' using',
- startMs: 40475.306,
- endMs: 40994.887,
- timestampMs: 40735.096,
- confidence: null,
- },
- {
- text: ' Mediabunny.',
- startMs: 40994.887,
- endMs: 41712.403,
- timestampMs: 41353.645,
- confidence: null,
- },
- {
- text: ' Now',
- startMs: 41871.167,
- endMs: 41953.643,
- timestampMs: 41912.405,
- confidence: null,
- },
- {
- text: ' I',
- startMs: 41953.643,
- endMs: 42077.358,
- timestampMs: 42015.5,
- confidence: null,
- },
- {
- text: ' can',
- startMs: 42077.358,
- endMs: 42283.549,
- timestampMs: 42180.454,
- confidence: null,
- },
- {
- text: ' drag',
- startMs: 42283.549,
- endMs: 42489.74,
- timestampMs: 42386.644,
- confidence: null,
- },
- {
- text: ' both',
- startMs: 42489.74,
- endMs: 42860.884,
- timestampMs: 42675.312,
- confidence: null,
- },
- {
- text: ' videos',
- startMs: 42860.884,
- endMs: 43190.79,
- timestampMs: 43025.837,
- confidence: null,
- },
- {
- text: ' into',
- startMs: 43190.79,
- endMs: 43355.743,
- timestampMs: 43273.266,
- confidence: null,
- },
- {
- text: ' Remotion',
- startMs: 43355.743,
- endMs: 43747.506,
- timestampMs: 43551.625,
- confidence: null,
- },
- {
- text: ' and',
- startMs: 43871.221,
- endMs: 43994.935,
- timestampMs: 43933.078,
- confidence: null,
- },
- {
- text: ' put',
- startMs: 43994.935,
- endMs: 44201.127,
- timestampMs: 44098.031,
- confidence: null,
- },
- {
- text: ' an',
- startMs: 44201.127,
- endMs: 44716.604,
- timestampMs: 44458.865,
- confidence: null,
- },
- {
- text: ' HTML',
- startMs: 44716.604,
- endMs: 45211.463,
- timestampMs: 44964.034,
- confidence: null,
- },
- {
- text: ' layer',
- startMs: 45211.463,
- endMs: 45438.273,
- timestampMs: 45324.868,
- confidence: null,
- },
- {
- text: ' in',
- startMs: 45438.273,
- endMs: 45644.464,
- timestampMs: 45541.368,
- confidence: null,
- },
- {
- text: ' between',
- startMs: 45644.464,
- endMs: 45933.132,
- timestampMs: 45788.798,
- confidence: null,
- },
- {
- text: ' using',
- startMs: 45933.132,
- endMs: 46263.038,
- timestampMs: 46098.085,
- confidence: null,
- },
- {
- text: ' another',
- startMs: 46263.038,
- endMs: 46716.658,
- timestampMs: 46489.848,
- confidence: null,
- },
- {
- text: ' agent',
- startMs: 46716.658,
- endMs: 47087.802,
- timestampMs: 46902.23,
- confidence: null,
- },
- {
- text: ' or',
- startMs: 47314.612,
- endMs: 47438.327,
- timestampMs: 47376.469,
- confidence: null,
- },
- {
- text: ' do',
- startMs: 47438.327,
- endMs: 47562.042,
- timestampMs: 47500.185,
- confidence: null,
- },
- {
- text: ' it',
- startMs: 47562.042,
- endMs: 47788.852,
- timestampMs: 47675.447,
- confidence: null,
- },
- {
- text: ' old',
- startMs: 47788.852,
- endMs: 48036.281,
- timestampMs: 47912.567,
- confidence: null,
- },
- {
- text: ' school',
- startMs: 48036.281,
- endMs: 48263.092,
- timestampMs: 48149.686,
- confidence: null,
- },
- {
- text: ' by',
- startMs: 48263.092,
- endMs: 48428.044,
- timestampMs: 48345.568,
- confidence: null,
- },
- {
- text: ' going',
- startMs: 48428.044,
- endMs: 48654.855,
- timestampMs: 48541.45,
- confidence: null,
- },
- {
- text: ' into',
- startMs: 48654.855,
- endMs: 48778.569,
- timestampMs: 48716.712,
- confidence: null,
- },
- {
- text: ' the',
- startMs: 48778.569,
- endMs: 49025.999,
- timestampMs: 48902.284,
- confidence: null,
- },
- {
- text: ' code.',
- startMs: 49025.999,
- endMs: 49417.762,
- timestampMs: 49221.88,
- confidence: null,
- },
- {
- text: ' The',
- startMs: 49501.048,
- endMs: 49753.335,
- timestampMs: 49627.192,
- confidence: null,
- },
- {
- text: ' result,',
- startMs: 49753.335,
- endMs: 49921.527,
- timestampMs: 49837.431,
- confidence: null,
- },
- {
- text: ' in',
- startMs: 49921.527,
- endMs: 50089.718,
- timestampMs: 50005.622,
- confidence: null,
- },
- {
- text: ' my',
- startMs: 50089.718,
- endMs: 50278.934,
- timestampMs: 50184.326,
- confidence: null,
- },
- {
- text: ' opinion,',
- startMs: 50278.934,
- endMs: 50510.197,
- timestampMs: 50394.565,
- confidence: null,
- },
- {
- text: ' is',
- startMs: 50510.197,
- endMs: 50909.652,
- timestampMs: 50709.925,
- confidence: null,
- },
- {
- text: ' super',
- startMs: 50909.652,
- endMs: 51372.178,
- timestampMs: 51140.915,
- confidence: null,
- },
- {
- text: ' fresh.',
- startMs: 51372.178,
- endMs: 51771.633,
- timestampMs: 51571.906,
- confidence: null,
- },
- ]}
- captionsSrc={null}
- voiceoverSrc={VOICEOVER_SRC}
- theme={theme}
- />
- );
-};
+}> = ({theme = 'dark'}) => (
+ <SharedAnimatedCaptions
+ captions={voiceoverCaptions}
+ captionsSrc={null}
+ voiceoverSrc={VOICEOVER_SRC}
+ theme={theme}
+ />
+);
export const AnimatedCaptions = Interactive.create({
Component: AnimatedCaptionsInner,
diff --git a/packages/jonnys-videos/src/disco-light-show/AnimatedCaptionsBigWords.tsx b/packages/jonnys-videos/src/disco-light-show/AnimatedCaptionsBigWords.tsx
index 6d637331a2..ddb75d7cbe 100644
--- a/packages/jonnys-videos/src/disco-light-show/AnimatedCaptionsBigWords.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/AnimatedCaptionsBigWords.tsx
@@ -13,7 +13,7 @@ import {
import {createSentenceAwareCaptionPages} from '../components/paginate-captions';
import {VOICEOVER_CAPTIONS_SRC, VOICEOVER_SRC} from './voiceover';
-export const BIG_WORD_CAPTIONS_DURATION_IN_FRAMES = 1816;
+export const BIG_WORD_CAPTIONS_DURATION_IN_FRAMES = 1608;
const FONT_FAMILY = 'Arial Black, Arial, sans-serif';
const SWITCH_CAPTIONS_EVERY_MS = 1100;
diff --git a/packages/jonnys-videos/src/disco-light-show/ArrowLogo.tsx b/packages/jonnys-videos/src/disco-light-show/ArrowLogo.tsx
index 7fd8453e66..0d63016a62 100644
--- a/packages/jonnys-videos/src/disco-light-show/ArrowLogo.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/ArrowLogo.tsx
@@ -1,27 +1,20 @@
import {dropShadow} from '@remotion/effects/drop-shadow';
import {scale} from '@remotion/effects/scale';
-import {Arrow} from '@remotion/shapes';
import React from 'react';
import {Interactive, CanvasImage, interpolate, useCurrentFrame} from 'remotion';
-import {
- CUTOUT_PAPER_COLOR,
- cutoutPaperEffects,
-} from '../paper-disco/cutout-paper';
+import {cutoutPaperEffects} from '../paper-disco/cutout-paper';
import {asset} from './assets';
+import {NOTEBOOK_ARROW_SRC} from './notebook-arrow';
const ArrowLogoInner: React.FC = () => {
const frame = useCurrentFrame();
return (
<>
- <Arrow
+ <CanvasImage
name="Pointer arrow"
- length={300}
- headWidth={185}
- headLength={120}
- shaftWidth={80}
- direction="right"
- cornerRadius={0}
- fill={CUTOUT_PAPER_COLOR}
+ src={NOTEBOOK_ARROW_SRC}
+ width={300}
+ height={185}
style={{
position: 'absolute',
translate: '810px 661.1px',
diff --git a/packages/jonnys-videos/src/disco-light-show/ArrowLogoRemotion.tsx b/packages/jonnys-videos/src/disco-light-show/ArrowLogoRemotion.tsx
index e7e9fe58d0..83f01009a6 100644
--- a/packages/jonnys-videos/src/disco-light-show/ArrowLogoRemotion.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/ArrowLogoRemotion.tsx
@@ -1,28 +1,21 @@
import {dropShadow} from '@remotion/effects/drop-shadow';
import {scale} from '@remotion/effects/scale';
import {noise2D} from '@remotion/noise';
-import {Arrow} from '@remotion/shapes';
import React from 'react';
import {Interactive, CanvasImage, useCurrentFrame} from 'remotion';
-import {
- CUTOUT_PAPER_COLOR,
- cutoutPaperEffects,
-} from '../paper-disco/cutout-paper';
+import {cutoutPaperEffects} from '../paper-disco/cutout-paper';
import {asset} from './assets';
+import {NOTEBOOK_ARROW_SRC} from './notebook-arrow';
const ArrowLogoRemotionInner: React.FC = () => {
const frame = useCurrentFrame();
return (
<>
- <Arrow
+ <CanvasImage
name="Pointer arrow"
- length={300}
- headWidth={185}
- headLength={120}
- shaftWidth={80}
- direction="right"
- cornerRadius={0}
- fill={CUTOUT_PAPER_COLOR}
+ src={NOTEBOOK_ARROW_SRC}
+ width={300}
+ height={185}
style={{
position: 'absolute',
translate: '903.4px 247.4px',
diff --git a/packages/jonnys-videos/src/disco-light-show/BackgroundRemovalScene.tsx b/packages/jonnys-videos/src/disco-light-show/BackgroundRemovalScene.tsx
new file mode 100644
index 0000000000..edbf2aabf2
--- /dev/null
+++ b/packages/jonnys-videos/src/disco-light-show/BackgroundRemovalScene.tsx
@@ -0,0 +1,107 @@
+import {Easing, Interactive, interpolate, useCurrentFrame} from 'remotion';
+import {ClientSideChad} from './ClientSideChad';
+import {EffectShow} from './EffectShow';
+import {HuggingFace} from './HuggingFace';
+import {Separate} from './Separate';
+
+const BackgroundRemovalSceneInner = () => {
+ const frame = useCurrentFrame();
+ return (
+ <>
+ <EffectShow
+ playbackRate={200 / 188}
+ name="EffectShow"
+ width={1080}
+ height={1920}
+ durationInFrames={200}
+ cropBottom={interpolate(frame, [13, 28], [1, 0], {
+ extrapolateLeft: 'clamp',
+ extrapolateRight: 'clamp',
+ easing: Easing.inOut(Easing.cubic),
+ })}
+ style={{
+ position: 'absolute',
+ translate: interpolate(
+ frame,
+ [13, 28, 174, 186],
+ ['0px 0px', '0px 0px', '0px 0px', '0px -1134px'],
+ {
+ extrapolateLeft: 'clamp',
+ extrapolateRight: 'clamp',
+ easing: Easing.inOut(Easing.cubic),
+ },
+ ),
+ }}
+ from={0}
+ />
+ <HuggingFace
+ playbackRate={166 / 123}
+ name="HuggingFace"
+ width={1080}
+ height={1920}
+ durationInFrames={166}
+ style={{
+ position: 'absolute',
+ translate: interpolate(
+ frame,
+ [174, 186, 286, 292],
+ ['0px 1134px', '0px 0px', '0px 0px', '-1080px 0px'],
+ {
+ extrapolateLeft: 'clamp',
+ extrapolateRight: 'clamp',
+ easing: Easing.inOut(Easing.cubic),
+ },
+ ),
+ }}
+ from={170}
+ />
+ <ClientSideChad
+ playbackRate={7 / 6}
+ name="ClientSideChad"
+ width={1080}
+ height={1920}
+ durationInFrames={140}
+ style={{
+ position: 'absolute',
+ translate: interpolate(
+ frame,
+ [286, 292, 399, 408],
+ ['1080px 0px', '0px 0px', '0px 0px', '-1080px 0px'],
+ {
+ extrapolateLeft: 'clamp',
+ extrapolateRight: 'clamp',
+ easing: Easing.inOut(Easing.cubic),
+ },
+ ),
+ }}
+ from={287}
+ />
+ <Separate
+ playbackRate={154 / 127}
+ name="Separate"
+ width={1080}
+ height={1920}
+ from={399}
+ durationInFrames={154}
+ style={{
+ position: 'absolute',
+ translate: interpolate(
+ frame,
+ [399, 408, 517, 525],
+ ['1080px 0px', '0px 0px', '0px 0px', '-1080px 0px'],
+ {
+ extrapolateLeft: 'clamp',
+ extrapolateRight: 'clamp',
+ easing: Easing.inOut(Easing.cubic),
+ },
+ ),
+ }}
+ />
+ </>
+ );
+};
+
+export const BackgroundRemovalScene = Interactive.create({
+ Component: BackgroundRemovalSceneInner,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/ClientSideChad.tsx b/packages/jonnys-videos/src/disco-light-show/ClientSideChad.tsx
index 4ecc59e2d6..0c6f92d8e4 100644
--- a/packages/jonnys-videos/src/disco-light-show/ClientSideChad.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/ClientSideChad.tsx
@@ -1,5 +1,4 @@
import {lensBlur} from '@remotion/effects/lens-blur';
-import {scale} from '@remotion/effects/scale';
import React, {useMemo} from 'react';
import {
Easing,
@@ -14,6 +13,7 @@ import {asset} from './assets';
import {BEN2_PATH, BEN2_VIEWBOX} from './ben2-glyphs';
import {DiscoBallBg} from './DiscoBallBg';
import {type ClippingArt, RansomClipping, useDataUrl} from './RansomClipping';
+import {StickerSound} from './StickerSound';
// Paper moves "on threes" (10 poses per second), like the paper disco ball
const P = 3;
@@ -125,8 +125,8 @@ const STACK: Tech[] = [
color: '#ff8fbf',
width: 520 * K,
height: 340 * K,
- x: 560,
- y: 1400,
+ x: 540,
+ y: 800,
rotate: -4,
turnDirection: 315,
drop: 78,
@@ -137,12 +137,12 @@ const TechClipping: React.FC<{readonly tech: Tech}> = ({tech}) => {
const frame = useCurrentFrame();
const turn = interpolate(
frame,
- [tech.drop, tech.drop + TURN_FRAMES],
+ [tech.drop, tech.drop + (tech.name === 'BEN2' ? 15 : TURN_FRAMES)],
[0, 1],
{
...clamp,
posterize: P,
- easing: Easing.out(Easing.cubic),
+ easing: tech.name === 'BEN2' ? Easing.linear : Easing.out(Easing.cubic),
},
);
const logoDataUrl = useDataUrl(
@@ -204,33 +204,59 @@ const TechClipping: React.FC<{readonly tech: Tech}> = ({tech}) => {
const ClientSideChadInner: React.FC = () => {
const frame = useCurrentFrame();
- const {width, height} = useVideoConfig();
-
- // The "camera" starts pushing in while the stickers are still landing:
- // a slow ease-in that builds through the drops, then a long settle.
- // Right at the fastest point of the push it briefly racks out of focus.
- const zoom = interpolate(frame, [40, 132], [1, 1.22], {
- ...clamp,
- easing: Easing.bezier(0.55, 0, 0.15, 1),
- output: 'perceptual-scale',
- });
- const blur = interpolate(frame, [80, 94, 112], [0, 22, 0], {
- ...clamp,
- easing: Easing.inOut(Easing.quad),
- });
+ const {width, height, fps} = useVideoConfig();
return (
- <HtmlInCanvas
- name="Scene camera"
- width={width}
- height={height}
- effects={[scale({scale: zoom}), lensBlur({radius: blur, samples: 128})]}
- >
- <DiscoBallBg name="Paper background" />
- {STACK.map((tech) => (
- <TechClipping key={tech.name} tech={tech} />
+ <>
+ <HtmlInCanvas
+ name="Scene camera"
+ width={width}
+ height={height}
+ style={{
+ position: 'absolute',
+ inset: 0,
+ transformOrigin: '50% 50%',
+ scale: interpolate(frame, [1.4 * fps, 3 * fps], [1, 1.22], {
+ ...clamp,
+ easing: Easing.inOut(Easing.cubic),
+ output: 'perceptual-scale',
+ }),
+ rotate: interpolate(frame, [1.4 * fps, 3 * fps], ['0deg', '-2deg'], {
+ ...clamp,
+ easing: Easing.inOut(Easing.cubic),
+ }),
+ }}
+ effects={[
+ lensBlur({
+ radius: interpolate(
+ frame,
+ [1.4 * fps, 2.2 * fps, 3 * fps],
+ [0, 22, 0],
+ {
+ ...clamp,
+ easing: Easing.inOut(Easing.quad),
+ },
+ ),
+ samples: 128,
+ repeatEdgePixels: true,
+ }),
+ ]}
+ >
+ <DiscoBallBg name="Paper background" />
+ {STACK.map((tech) => (
+ <TechClipping key={tech.name} tech={tech} />
+ ))}
+ </HtmlInCanvas>
+ {STACK.map((tech, index) => (
+ <StickerSound
+ key={tech.name}
+ name={`${tech.name} sticker sound`}
+ from={tech.drop}
+ large={false}
+ pitch={0.92 + index * 0.04}
+ />
))}
- </HtmlInCanvas>
+ </>
);
};
diff --git a/packages/jonnys-videos/src/disco-light-show/CodeEditor.tsx b/packages/jonnys-videos/src/disco-light-show/CodeEditor.tsx
new file mode 100644
index 0000000000..8b05d295f5
--- /dev/null
+++ b/packages/jonnys-videos/src/disco-light-show/CodeEditor.tsx
@@ -0,0 +1,28 @@
+import {CanvasImage, Interactive, Solid} from 'remotion';
+import {asset} from './assets';
+
+const CodeEditorInner = () => (
+ <>
+ <Solid
+ name="Editor background"
+ color="#292c32"
+ width={1188}
+ height={1240}
+ style={{position: 'absolute'}}
+ />
+ <CanvasImage
+ name="Code snippet"
+ src={asset('Screenshot 2026-07-19 at 18.28.52.png')}
+ cropTop={0.124}
+ cropBottom={0.12}
+ cropLeft={0.016}
+ cropRight={0.016}
+ style={{position: 'absolute', width: 1188, height: 1260}}
+ />
+ </>
+);
+
+export const CodeEditor = Interactive.create({
+ Component: CodeEditorInner,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/Composition.tsx b/packages/jonnys-videos/src/disco-light-show/Composition.tsx
index d49245e391..84b3eda97c 100644
--- a/packages/jonnys-videos/src/disco-light-show/Composition.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/Composition.tsx
@@ -1,48 +1,33 @@
-import {Audio, Video} from '@remotion/media';
+import {Audio} from '@remotion/media';
import {
Interactive,
Composition,
- Easing,
Folder,
interpolate,
Track,
+ Sequence,
useCurrentFrame,
useVideoConfig,
- CanvasImage,
} from 'remotion';
-import {PaperDiscoSting} from '../paper-disco/PaperDiscoSting';
-import {AnimatedCaptions} from './AnimatedCaptions';
import {asset} from './assets';
-import {BirthdayPartyCompilation} from './BirthdayPartyCompilation';
-import {ClientSideChad} from './ClientSideChad';
-import {Countdown, COUNTDOWN_DURATION_IN_FRAMES} from './Countdown';
+import {BackgroundRemovalScene} from './BackgroundRemovalScene';
+import {CustomToolScene} from './CustomToolScene';
import {DiscoBallBg} from './DiscoBallBg';
-import {DragInDemo} from './DragInDemo';
-import {EffectShow} from './EffectShow';
-import {Fork} from './Fork';
-import {ForkDrop} from './ForkDrop';
-import {ForkSound} from './ForkSound';
-import {HuggingFace} from './HuggingFace';
-import {Mediabunny} from './Mediabunny';
+import {FinaleScene} from './FinaleScene';
+import {Narration} from './Narration';
+import {OpeningScene} from './OpeningScene';
+import {RemotionAssemblyScene} from './RemotionAssemblyScene';
import {
SCREEN_RECORDING_DURATION_IN_FRAMES,
ScreenRecordingComposition,
} from './ScreenRecordingComposition';
-import {Separate} from './Separate';
import {SocialSafeZones} from './SocialSafeZones';
import {
TEXT_BACKGROUND_DURATION_IN_FRAMES,
TextBackgroundComposition,
} from './TextBackgroundComposition';
-import {
- TEXT_BEHIND_VIDEO_SERIES_FIRST_20S_DURATION_IN_FRAMES,
- TextBehindVideoSeriesFirst20sComposition,
-} from './TextBehindVideoSeriesFirst20s';
-import {TextBehindVideoStackComposition} from './TextBehindVideoStack';
-import {VibeCoded} from './VibeCoded';
-import {VOICEOVER_SRC} from './voiceover';
-export const MASTER_DURATION_IN_FRAMES = 1816;
+export const MASTER_DURATION_IN_FRAMES = 1608;
export const MyComposition = () => {
return (
@@ -50,7 +35,7 @@ export const MyComposition = () => {
<Composition
id="Master"
component={MyComponent}
- durationInFrames={1800}
+ durationInFrames={MASTER_DURATION_IN_FRAMES}
fps={30}
width={1080}
height={1920}
@@ -82,526 +67,93 @@ const MyComponentInner: React.FC = () => {
const {fps} = useVideoConfig();
return (
<>
- <DiscoBallBg
- name="DiscoBallBg"
- width={1080}
- height={1920}
- durationInFrames={MASTER_DURATION_IN_FRAMES}
- style={{
- position: 'absolute',
- }}
- />
- <TextBackgroundComposition
- name="Text background"
- width={1920}
- height={1080}
- durationInFrames={201}
- style={{
- position: 'absolute',
- transformOrigin: '0% 0%',
- translate: interpolate(
- frame,
- [0, 58, 76, 122, 140, 181],
- [
- '-565px -40px',
- '-565px -40px',
- '-310px -140px',
- '-310px -140px',
- '-640px -140px',
- '-640px -140px',
- ],
- {
- extrapolateLeft: 'clamp',
- extrapolateRight: 'clamp',
- easing: Easing.inOut(Easing.cubic),
- },
- ),
- scale: interpolate(
- frame,
- [0, 58, 76, 181],
- [1.12, 1.12, 1.24, 1.24],
- {
- extrapolateLeft: 'clamp',
- extrapolateRight: 'clamp',
- easing: Easing.inOut(Easing.cubic),
- },
- ),
- }}
- />
- <BirthdayPartyCompilation
- name="BirthdayPartyCompilation"
- width={1080}
- height={1920}
- durationInFrames={178}
- style={{
- position: 'absolute',
- // Keep the next caption behind the outgoing paper during the reveal.
- zIndex: frame >= 347 ? 1 : 0,
- }}
- from={182}
- />
- <Audio name="Voiceover" src={VOICEOVER_SRC} />
- <Track name="Music">
- <Audio
- name="Kein Kokain β€” instrumental"
- src={asset('kein-kokain-instrumental-fad54dabc4a4.mp3')}
- trimBefore={0.95075 * fps}
- durationInFrames={52 * fps}
- volume={interpolate(
- frame,
- [0, 0.3 * fps, 43.5 * fps, 51.5 * fps],
- [0, 0.07, 0.07, 0],
- {extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},
- )}
- />
- <Audio
- name="Outro music"
- src={asset('text-behind-video-2.wav')}
- from={52 * fps}
- trimBefore={52 * fps}
- durationInFrames={MASTER_DURATION_IN_FRAMES - 52 * fps}
- />
- </Track>
- <Track name="Captions">
- {/* Text background is white: black captions */}
- <AnimatedCaptions
- name="AnimatedCaptions"
- width={1080}
- height={360}
- durationInFrames={182}
- style={{
- position: 'absolute',
- translate: '0px 1260px',
- scale: 0.9,
- transformOrigin: '50% 0%',
- }}
- />
- {/* Over the birthday party footage: white captions */}
- <AnimatedCaptions
- name="AnimatedCaptions (over footage)"
- width={1080}
- height={360}
- from={182}
- durationInFrames={165}
- trimBefore={182}
- theme="dark"
- style={{
- position: 'absolute',
- translate: '0px 1260px',
- scale: 0.9,
- transformOrigin: '50% 0%',
- }}
- />
- <AnimatedCaptions
- name="AnimatedCaptions"
- width={1080}
- height={360}
- from={347}
- durationInFrames={187}
- trimBefore={347}
- style={{
- position: 'absolute',
- translate: '0px 1260px',
- scale: 0.9,
- transformOrigin: '50% 0%',
- }}
- />
- {/* No captions for "How did I do this?" (534-571): the disco sting plays instead */}
- <AnimatedCaptions
- name="AnimatedCaptions (after sting)"
- width={1080}
- height={360}
- from={571}
- durationInFrames={674}
- trimBefore={571}
- style={{
- position: 'absolute',
- translate: '0px 1260px',
- scale: 0.9,
- transformOrigin: '50% 0%',
- }}
- />
- <AnimatedCaptions
- name="AnimatedCaptions (after import)"
- width={1080}
- height={360}
- from={1347}
- durationInFrames={453}
- trimBefore={1347}
- style={{
- position: 'absolute',
- translate: '0px 1260px',
- scale: 0.9,
- transformOrigin: '50% 0%',
- }}
- />
- </Track>
- <Track name="Effect and model demos">
- <EffectShow
- name="EffectShow"
- width={1080}
- height={1920}
- durationInFrames={200}
- cropBottom={interpolate(frame, [345, 359], [1, 0], {
- extrapolateLeft: 'clamp',
- extrapolateRight: 'clamp',
- easing: Easing.inOut(Easing.cubic),
- })}
- style={{
- position: 'absolute',
- translate: interpolate(
- frame,
- [345, 359, 512, 522],
- ['0px 0px', '0px 0px', '0px 0px', '-1080px 0px'],
- {
- extrapolateLeft: 'clamp',
- extrapolateRight: 'clamp',
- easing: Easing.inOut(Easing.cubic),
- },
- ),
- }}
- from={337}
- />
- <HuggingFace
- name="HuggingFace"
+ <Track name="Background">
+ <DiscoBallBg
+ name="DiscoBallBg"
width={1080}
height={1920}
- durationInFrames={166}
+ durationInFrames={MASTER_DURATION_IN_FRAMES}
style={{
position: 'absolute',
- translate: interpolate(
- frame,
- [567, 575, 694, 702],
- ['1080px 0px', '0px 0px', '0px 0px', '-1080px 0px'],
- {
- extrapolateLeft: 'clamp',
- extrapolateRight: 'clamp',
- easing: Easing.inOut(Easing.cubic),
- },
- ),
}}
- from={537}
/>
</Track>
- <PaperDiscoSting
- name="How did I do this? β€” disco sting"
+ <OpeningScene
+ name="Opening and dance"
+ from={0}
+ durationInFrames={325}
width={1080}
height={1920}
- from={534}
- durationInFrames={37}
- style={{position: 'absolute'}}
/>
- <ClientSideChad
- name="ClientSideChad"
+ <BackgroundRemovalScene
+ name="Background removal and layers"
+ from={296}
+ durationInFrames={526}
width={1080}
height={1920}
- durationInFrames={168}
- style={{
- position: 'absolute',
- translate: interpolate(
- frame,
- [694, 702, 823, 831],
- ['1080px 0px', '0px 0px', '0px 0px', '-1080px 0px'],
- {
- extrapolateLeft: 'clamp',
- extrapolateRight: 'clamp',
- easing: Easing.inOut(Easing.cubic),
- },
- ),
- }}
- from={694}
/>
- <Separate
- name="Separate"
+ <CustomToolScene
+ name="Fork and custom export tool"
+ from={803}
+ durationInFrames={255}
width={1080}
height={1920}
- from={823}
- durationInFrames={154}
- style={{
- position: 'absolute',
- translate: interpolate(
- frame,
- [823, 831, 966, 976],
- ['1080px 0px', '0px 0px', '0px 0px', '-1080px 0px'],
- {
- extrapolateLeft: 'clamp',
- extrapolateRight: 'clamp',
- easing: Easing.inOut(Easing.cubic),
- },
- ),
- }}
/>
- <Fork
- name="Fork"
+ <RemotionAssemblyScene
+ name="Assemble in Remotion"
+ from={1053}
+ durationInFrames={265}
width={1080}
height={1920}
- durationInFrames={140}
- style={{
- position: 'absolute',
- translate: interpolate(
- frame,
- [966, 976],
- ['1119.2px -299.4px', '39.2px -299.4px'],
- {
- extrapolateLeft: 'clamp',
- extrapolateRight: 'clamp',
- easing: Easing.inOut(Easing.cubic),
- },
- ),
- rotate: interpolate(frame, [1048, 1063], ['0deg', '60deg'], {
- extrapolateLeft: 'clamp',
- extrapolateRight: 'clamp',
- easing: [
- Easing.spring({
- damping: 200,
- mass: 1,
- stiffness: 100,
- allowTail: true,
- durationRestThreshold: 0.02,
- overshootClamping: false,
- }),
- ],
- }),
- transformOrigin: interpolate(
- frame,
- [1034, 1045],
- ['50% 50%', '50% 150%'],
- {
- extrapolateLeft: 'clamp',
- extrapolateRight: 'clamp',
- },
- ),
- }}
- from={953}
/>
- <ForkDrop
- name="ForkDrop"
- width={1080}
- height={1920}
- from={1052}
- durationInFrames={65}
- style={{
- position: 'absolute',
- overflow: 'hidden',
- translate: interpolate(
- frame,
- [1052, 1059],
- ['1080px -395.2px', '0px -395.2px'],
- {
- extrapolateLeft: 'clamp',
- extrapolateRight: 'clamp',
- easing: [
- Easing.spring({
- damping: 200,
- mass: 1,
- stiffness: 100,
- allowTail: true,
- durationRestThreshold: 0.02,
- overshootClamping: false,
- }),
- ],
- },
- ),
- scale: 1,
- }}
- />
- <VibeCoded
- name="VibeCoded"
- width={1080}
- height={1920}
- durationInFrames={140}
- style={{
- position: 'absolute',
- translate: interpolate(
- frame,
- [1093, 1104, 1226, 1232],
- ['1080px 0px', '0px 0px', '0px 0px', '-1080px 0px'],
- {
- extrapolateLeft: 'clamp',
- extrapolateRight: 'clamp',
- easing: [
- Easing.spring({
- damping: 200,
- mass: 1,
- stiffness: 100,
- allowTail: true,
- durationRestThreshold: 0.02,
- overshootClamping: false,
- }),
- Easing.linear,
- Easing.spring({
- damping: 200,
- mass: 1,
- stiffness: 100,
- allowTail: true,
- durationRestThreshold: 0.02,
- overshootClamping: false,
- }),
- ],
- },
- ),
- scale: 0.9999999983052765,
- }}
- from={1093}
- trimBefore={3}
- />
- <Mediabunny
- name="Mediabunny"
- width={1080}
- height={1920}
- from={1231}
- durationInFrames={30}
- style={{
- position: 'absolute',
- }}
- />
- <DragInDemo
- name="DragInDemo"
- width={1080}
- height={1920}
- durationInFrames={102}
- style={{
- position: 'absolute',
- translate: interpolate(
- frame,
- [1245, 1251, 1338, 1346],
- ['1080px 0px', '0px 0px', '0px 0px', '-1080px 0px'],
- {
- extrapolateLeft: 'clamp',
- extrapolateRight: 'clamp',
- easing: [
- Easing.spring({
- damping: 200,
- mass: 1,
- stiffness: 100,
- allowTail: true,
- durationRestThreshold: 0.02,
- overshootClamping: false,
- }),
- Easing.linear,
- Easing.linear,
- ],
- },
- ),
- }}
- from={1245}
- />
- <AnimatedCaptions
- name="AnimatedCaptions (over import)"
- width={1080}
- height={360}
- from={1245}
- durationInFrames={102}
- trimBefore={1245}
- style={{
- position: 'absolute',
- translate: '0px 1260px',
- scale: 0.9,
- transformOrigin: '50% 0%',
- }}
- />
- <TextBehindVideoStackComposition
- name="TextBehindVideoStack"
- width={1080}
- height={1920}
- durationInFrames={154}
- style={{
- position: 'absolute',
- overflow: 'hidden',
- scale: 1.236,
- translate: interpolate(
- frame,
- [1338, 1346],
- ['1012.8px 226.6px', '0px 226.6px'],
- {
- extrapolateLeft: 'clamp',
- extrapolateRight: 'clamp',
- },
- ),
- }}
- from={1337}
- />
- <CanvasImage
- name="Code snippet"
- src={asset('Screenshot 2026-07-19 at 18.28.52.png')}
- from={1455}
- durationInFrames={57}
- cropTop={0.124}
- cropBottom={0.12}
- cropLeft={0.016}
- cropRight={0.016}
- style={{
- position: 'absolute',
- width: 1188,
- height: 1260,
- scale: 1.04,
- transformOrigin: '0% 0%',
- translate: interpolate(
- frame,
- [1455, 1469, 1498, 1502, 1511],
- [
- '1080px -20px',
- '-75px -20px',
- '-125px -40px',
- '-125px -40px',
- '-1400px -40px',
- ],
- {
- extrapolateLeft: 'clamp',
- extrapolateRight: 'clamp',
- easing: [
- Easing.inOut(Easing.cubic),
- Easing.linear,
- Easing.linear,
- Easing.inOut(Easing.cubic),
- ],
- },
- ),
- }}
- />
- <ForkSound
- name="Fork sound effect"
- from={1036}
- durationInFrames={772}
- style={{pointerEvents: 'none'}}
- />
- <Video
- name="Drumsticks"
- src={asset('drumsticks.mp4')}
- style={{
- position: 'absolute',
- translate: '220px 672.4px',
- width: 640,
- height: 360,
- scale: 1.739,
- }}
- from={1615}
- durationInFrames={66}
- playbackRate={0.8}
- />
- <TextBehindVideoSeriesFirst20sComposition
- name="TextBehindVideoSeriesFirst20s"
- from={1648}
- durationInFrames={TEXT_BEHIND_VIDEO_SERIES_FIRST_20S_DURATION_IN_FRAMES}
- width={1080}
- height={1920}
- />
- <Countdown
- name="Countdown"
- from={1556}
- durationInFrames={COUNTDOWN_DURATION_IN_FRAMES}
+ <FinaleScene
+ name="Countdown and final result"
+ from={1364}
+ durationInFrames={244}
width={1080}
height={1920}
/>
+ <Track name="Music">
+ <Audio
+ name="Kein Kokain β€” instrumental"
+ src={asset('kein-kokain-instrumental-fad54dabc4a4.mp3')}
+ trimBefore={0.95075 * fps}
+ durationInFrames={(1368 / 30) * fps}
+ volume={interpolate(frame, [0, 7, 1113, 1355], [0, 0.07, 0.07, 0], {
+ extrapolateLeft: 'clamp',
+ extrapolateRight: 'clamp',
+ })}
+ />
+ <Audio
+ name="Outro music"
+ src={asset('text-behind-video-2.wav')}
+ from={(1368 / 30) * fps}
+ trimBefore={52 * fps}
+ durationInFrames={MASTER_DURATION_IN_FRAMES - (1368 / 30) * fps}
+ />
+ </Track>
<SocialSafeZones
name="Social safe zones β€” toggle visibility"
width={1080}
height={1920}
durationInFrames={MASTER_DURATION_IN_FRAMES}
platform="instagram"
- hidden
style={{pointerEvents: 'none', zIndex: 2147483647}}
+ hidden
/>
+ <Sequence
+ name="Narration and captions"
+ durationInFrames={MASTER_DURATION_IN_FRAMES}
+ width={1080}
+ height={1920}
+ style={{
+ position: 'absolute',
+ zIndex: 2147483647,
+ pointerEvents: 'none',
+ }}
+ >
+ <Narration />
+ </Sequence>
</>
);
};
diff --git a/packages/jonnys-videos/src/disco-light-show/Countdown.tsx b/packages/jonnys-videos/src/disco-light-show/Countdown.tsx
index 49731a5392..50f625fb31 100644
--- a/packages/jonnys-videos/src/disco-light-show/Countdown.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/Countdown.tsx
@@ -1,7 +1,9 @@
import {dropShadow} from '@remotion/effects/drop-shadow';
+import {lensBlur} from '@remotion/effects/lens-blur';
import {paper} from '@remotion/effects/paper';
import {roughenEdges} from '@remotion/effects/roughen-edges';
-import {TransitionSeries} from '@remotion/transitions';
+import {scale} from '@remotion/effects/scale';
+import {Video} from '@remotion/media';
import React, {useMemo} from 'react';
import {
useVideoConfig,
@@ -9,14 +11,18 @@ import {
CanvasImage,
Easing,
Interactive,
+ HtmlInCanvas,
interpolate,
random,
useCurrentFrame,
} from 'remotion';
+import {asset} from './assets';
import {DIGIT_GLYPHS, type DigitFont} from './digit-glyphs';
+import {DiscoBallBg} from './DiscoBallBg';
import {PAPER_SCAN_DATA_URL} from './paper-scan';
+import {pageTurnIn} from './RansomClipping';
-export const COUNTDOWN_DURATION_IN_FRAMES = 59;
+export const COUNTDOWN_DURATION_IN_FRAMES = 142;
type ClippingStyle = {
readonly paper: string;
@@ -27,8 +33,8 @@ type ClippingStyle = {
// Ransom-note clippings: each number looks cut from a different print source
const CLIPPINGS = {
newsprint: {paper: '#ebe4d2', ink: '#141414', font: 'abril'},
- magazineRed: {paper: '#e3382c', ink: '#fff4df', font: 'anton'},
- magazineYellow: {paper: '#ffcf2e', ink: '#151515', font: 'ultra'},
+ magazineBlack: {paper: '#141414', ink: '#ffffff', font: 'anton'},
+ magazineBlue: {paper: '#3160ff', ink: '#ffffff', font: 'ultra'},
glossyBlue: {paper: '#3160ff', ink: '#ffffff', font: 'abril'},
} as const satisfies Record<string, ClippingStyle>;
@@ -36,8 +42,8 @@ type ClippingName = keyof typeof CLIPPINGS;
const STYLE_FOR_NUMBER: Record<string, ClippingName> = {
'3': 'newsprint',
- '2': 'magazineRed',
- '1': 'magazineYellow',
+ '2': 'magazineBlack',
+ '1': 'magazineBlue',
};
const TILT_FOR_NUMBER: Record<string, number> = {'3': -6, '2': 5, '1': -3};
@@ -98,7 +104,6 @@ const makeClippingTexture = (number: string, style: ClippingStyle) => {
const CountdownPageInner: React.FC<{
readonly number: string;
}> = ({number}) => {
- const {durationInFrames} = useVideoConfig();
const frame = useCurrentFrame();
const style = CLIPPINGS[STYLE_FOR_NUMBER[number] ?? 'glossyBlue'];
const tilt = TILT_FOR_NUMBER[number] ?? 4;
@@ -124,17 +129,6 @@ const CountdownPageInner: React.FC<{
height={CANVAS_H}
fit="fill"
style={{
- // Each clipping slides across the frame at its full size.
- translate: interpolate(
- frame,
- [0, 4, durationInFrames - 5, durationInFrames - 1],
- ['1260px 0px', '0px 0px', '0px 0px', '-1260px 0px'],
- {
- extrapolateLeft: 'clamp',
- extrapolateRight: 'clamp',
- easing: Easing.inOut(Easing.cubic),
- },
- ),
rotate: `${tilt}deg`,
}}
effects={[
@@ -166,6 +160,19 @@ const CountdownPageInner: React.FC<{
opacity: 0.7,
color: '#000000',
}),
+ pageTurnIn({
+ progress: interpolate(frame, [0, 12], [0, 1], {
+ extrapolateLeft: 'clamp',
+ extrapolateRight: 'clamp',
+ posterize: 2,
+ easing: Easing.linear,
+ }),
+ width: CANVAS_W,
+ height: CANVAS_H,
+ direction: 315,
+ radius: 100,
+ paperColor: style.paper,
+ }),
]}
/>
</AbsoluteFill>
@@ -181,18 +188,115 @@ export const CountdownPage = Interactive.create({
});
const CountdownInner: React.FC = () => {
+ const frame = useCurrentFrame();
+ const {width, height} = useVideoConfig();
return (
- <TransitionSeries name="Countdown numbers">
- <TransitionSeries.Sequence name="Countdown 3" durationInFrames={20}>
- <CountdownPage name="Number 3" number="3" />
- </TransitionSeries.Sequence>
- <TransitionSeries.Sequence name="Countdown 2" durationInFrames={20}>
- <CountdownPage name="Number 2" number="2" />
- </TransitionSeries.Sequence>
- <TransitionSeries.Sequence name="Countdown 1" durationInFrames={19}>
- <CountdownPage name="Number 1" number="1" />
- </TransitionSeries.Sequence>
- </TransitionSeries>
+ <HtmlInCanvas
+ name="Countdown camera"
+ width={width}
+ height={height}
+ style={{position: 'absolute'}}
+ effects={[
+ scale({
+ scale: interpolate(
+ frame,
+ [0, 17, 20, 37, 40, 57, 59, 76],
+ [1, 1.12, 1.12, 1.25, 1.25, 1.4, 1.4, 1.64],
+ {
+ extrapolateLeft: 'clamp',
+ extrapolateRight: 'clamp',
+ easing: Easing.inOut(Easing.cubic),
+ output: 'perceptual-scale',
+ },
+ ),
+ }),
+ lensBlur({
+ radius: interpolate(
+ frame,
+ [0, 8, 17, 20, 28, 37, 40, 48, 57, 59, 67, 76],
+ [0, 18, 0, 0, 18, 0, 0, 18, 0, 0, 18, 0],
+ {
+ extrapolateLeft: 'clamp',
+ extrapolateRight: 'clamp',
+ easing: Easing.inOut(Easing.quad),
+ },
+ ),
+ samples: 128,
+ repeatEdgePixels: true,
+ }),
+ ]}
+ >
+ <DiscoBallBg name="Countdown background" width={width} height={height} />
+ <CountdownPage
+ name="Number 3"
+ number="3"
+ from={0}
+ durationInFrames={142}
+ />
+ <CountdownPage
+ name="Number 2"
+ number="2"
+ from={20}
+ durationInFrames={122}
+ />
+ <CountdownPage
+ name="Number 1"
+ number="1"
+ from={40}
+ durationInFrames={102}
+ />
+ <Video
+ name="Drumsticks β€” fourth countdown card"
+ src={asset('drumsticks.mp4')}
+ from={59}
+ durationInFrames={66}
+ playbackRate={0.8}
+ loop
+ objectFit="cover"
+ style={{
+ position: 'absolute',
+ left: 124,
+ top: 510,
+ width: 832,
+ height: 900,
+ rotate: '0deg',
+ }}
+ effects={[
+ // Transparent padding gives the edge effect a silhouette to roughen.
+ scale({scale: 0.94}),
+ paper({
+ amount: 0.28,
+ colorFront: '#ececf0',
+ colorBack: '#ffffff',
+ contrast: 0.12,
+ roughness: 0.15,
+ fiber: 0.18,
+ seed: 4,
+ }),
+ roughenEdges({amount: 0.7, border: 2, scale: 0.1, seed: 28}),
+ dropShadow({
+ radius: 16,
+ offsetX: 10,
+ offsetY: 18,
+ opacity: 0.7,
+ color: '#000000',
+ }),
+ pageTurnIn({
+ progress: interpolate(frame, [59, 71], [0, 1], {
+ extrapolateLeft: 'clamp',
+ extrapolateRight: 'clamp',
+ posterize: 2,
+ easing: Easing.linear,
+ }),
+ width: 832,
+ height: 900,
+ direction: 315,
+ radius: 105,
+ paperColor: '#ffffff',
+ }),
+ ]}
+ />
+ </HtmlInCanvas>
);
};
diff --git a/packages/jonnys-videos/src/disco-light-show/CustomToolScene.tsx b/packages/jonnys-videos/src/disco-light-show/CustomToolScene.tsx
new file mode 100644
index 0000000000..acd3a8b28f
--- /dev/null
+++ b/packages/jonnys-videos/src/disco-light-show/CustomToolScene.tsx
@@ -0,0 +1,110 @@
+import {Easing, Interactive, interpolate, useCurrentFrame} from 'remotion';
+import {Fork} from './Fork';
+import {ForkDrop} from './ForkDrop';
+import {ForkSound} from './ForkSound';
+import {VibeCoded} from './VibeCoded';
+
+const CustomToolSceneInner = () => {
+ const frame = useCurrentFrame();
+ return (
+ <>
+ <Fork
+ playbackRate={140 / 122}
+ name="Fork"
+ width={1080}
+ height={1920}
+ durationInFrames={140}
+ style={{
+ position: 'absolute',
+ translate: interpolate(
+ frame,
+ [10, 18],
+ ['1080px -299.4px', '0px -299.4px'],
+ {
+ extrapolateLeft: 'clamp',
+ extrapolateRight: 'clamp',
+ easing: Easing.inOut(Easing.cubic),
+ },
+ ),
+ rotate: interpolate(frame, [84, 97], ['0deg', '60deg'], {
+ extrapolateLeft: 'clamp',
+ extrapolateRight: 'clamp',
+ easing: [Easing.inOut(Easing.cubic)],
+ }),
+ transformOrigin: interpolate(
+ frame,
+ [72, 82],
+ ['50% 50%', '50% 150%'],
+ {
+ extrapolateLeft: 'clamp',
+ extrapolateRight: 'clamp',
+ },
+ ),
+ }}
+ from={0}
+ />
+ <ForkDrop
+ playbackRate={65 / 54}
+ name="ForkDrop"
+ width={1080}
+ height={1920}
+ from={87}
+ durationInFrames={65}
+ style={{
+ position: 'absolute',
+ overflow: 'hidden',
+ translate: interpolate(
+ frame,
+ [87, 94],
+ ['1540px -60px', '-40px -60px'],
+ {
+ extrapolateLeft: 'clamp',
+ extrapolateRight: 'clamp',
+ easing: [Easing.inOut(Easing.cubic)],
+ },
+ ),
+ scale: 1.6,
+ transformOrigin: '0% 50%',
+ }}
+ />
+ <VibeCoded
+ playbackRate={159 / 133}
+ name="VibeCoded"
+ width={1080}
+ height={1920}
+ durationInFrames={159}
+ style={{
+ position: 'absolute',
+ translate: interpolate(
+ frame,
+ [122, 130, 250, 255],
+ ['0px -1920px', '0px 0px', '0px 0px', '-1080px 0px'],
+ {
+ extrapolateLeft: 'clamp',
+ extrapolateRight: 'clamp',
+ easing: [
+ Easing.inOut(Easing.cubic),
+ Easing.linear,
+ Easing.inOut(Easing.cubic),
+ ],
+ },
+ ),
+ scale: 1,
+ }}
+ from={122}
+ trimBefore={3}
+ />
+ <ForkSound
+ name="Fork sound effect"
+ from={73}
+ durationInFrames={182}
+ style={{pointerEvents: 'none'}}
+ />
+ </>
+ );
+};
+
+export const CustomToolScene = Interactive.create({
+ Component: CustomToolSceneInner,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/DragInDemo.tsx b/packages/jonnys-videos/src/disco-light-show/DragInDemo.tsx
index fd99a5b63b..7484743832 100644
--- a/packages/jonnys-videos/src/disco-light-show/DragInDemo.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/DragInDemo.tsx
@@ -1,16 +1,12 @@
import {Video} from '@remotion/media';
import React from 'react';
-import {
- Easing,
- Interactive,
- interpolate,
- Solid,
- useCurrentFrame,
-} from 'remotion';
+import {Interactive, Solid, useVideoConfig} from 'remotion';
import {asset} from './assets';
+import {RemotionSticker} from './RemotionSticker';
const DragInDemoInner: React.FC = () => {
- const frame = useCurrentFrame();
+ const {fps} = useVideoConfig();
+
return (
<>
<Solid
@@ -23,33 +19,25 @@ const DragInDemoInner: React.FC = () => {
<Video
name="Importing video layers"
src={asset('Screen Recording 2026-07-19 at 18.16.56.mov')}
+ cropTop={100 / 1040}
style={{
position: 'absolute',
width: 1664,
height: 1040,
transformOrigin: '0% 0%',
- translate: interpolate(
- frame,
- [0, 15, 75, 102],
- [
- '-785.3px -64.78px',
- '-785.3px -64.78px',
- '-1415.3px -64.78px',
- '-1415.3px -64.78px',
- ],
- {
- extrapolateLeft: 'clamp',
- extrapolateRight: 'clamp',
- easing: Easing.inOut(Easing.cubic),
- },
- ),
- scale: 1.82,
+ translate: '-313px 250px',
+ scale: 0.94,
}}
from={-2}
durationInFrames={151}
trimBefore={8}
playbackRate={1.45}
/>
+ <RemotionSticker
+ name="Remotion logo sticker"
+ from={(56 / 30) * fps}
+ durationInFrames={(46 / 30) * fps}
+ />
</>
);
};
diff --git a/packages/jonnys-videos/src/disco-light-show/FinaleScene.tsx b/packages/jonnys-videos/src/disco-light-show/FinaleScene.tsx
new file mode 100644
index 0000000000..3f57ab417f
--- /dev/null
+++ b/packages/jonnys-videos/src/disco-light-show/FinaleScene.tsx
@@ -0,0 +1,32 @@
+import {Interactive} from 'remotion';
+import {Countdown, COUNTDOWN_DURATION_IN_FRAMES} from './Countdown';
+import {
+ TextBehindVideoSeriesFirst20sComposition,
+ TEXT_BEHIND_VIDEO_SERIES_FIRST_20S_DURATION_IN_FRAMES,
+} from './TextBehindVideoSeriesFirst20s';
+
+const FinaleSceneInner = () => {
+ return (
+ <>
+ <Countdown
+ name="Countdown"
+ from={0}
+ durationInFrames={COUNTDOWN_DURATION_IN_FRAMES}
+ width={1080}
+ height={1920}
+ />
+ <TextBehindVideoSeriesFirst20sComposition
+ name="TextBehindVideoSeriesFirst20s"
+ from={92}
+ durationInFrames={TEXT_BEHIND_VIDEO_SERIES_FIRST_20S_DURATION_IN_FRAMES}
+ width={1080}
+ height={1920}
+ />
+ </>
+ );
+};
+
+export const FinaleScene = Interactive.create({
+ Component: FinaleSceneInner,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/Fork.tsx b/packages/jonnys-videos/src/disco-light-show/Fork.tsx
index 7f15b83564..581f91a6e9 100644
--- a/packages/jonnys-videos/src/disco-light-show/Fork.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/Fork.tsx
@@ -57,7 +57,8 @@ const ForkInner: React.FC = () => {
src={asset('Screenshot 2026-07-19 at 14.35.33.png')}
style={{
position: 'absolute',
- translate: '-234px 617.9px',
+ translate: '0px 680.8px',
+ transformOrigin: '0% 0%',
width: 1428,
height: 786,
scale: 0.84,
diff --git a/packages/jonnys-videos/src/disco-light-show/ForkDrop.tsx b/packages/jonnys-videos/src/disco-light-show/ForkDrop.tsx
index a72fa9238a..53f95e9600 100644
--- a/packages/jonnys-videos/src/disco-light-show/ForkDrop.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/ForkDrop.tsx
@@ -3,6 +3,7 @@ import {
Easing,
CanvasImage,
Interactive,
+ Solid,
interpolate,
useCurrentFrame,
} from 'remotion';
@@ -13,6 +14,13 @@ const ForkDropInner: React.FC = () => {
return (
<>
+ <Solid
+ name="Cursor UI background"
+ color="#ffffff"
+ width={1080}
+ height={1160}
+ style={{position: 'absolute'}}
+ />
<CanvasImage
name="Cursor chat window"
src={asset('Screenshot 2026-07-19 at 16.26.01.png')}
@@ -68,12 +76,13 @@ const ForkDropInner: React.FC = () => {
easing: Easing.bezier(0.33, 0, 0.2, 1),
},
),
- scale: interpolate(frame, [0, 30, 38], [0.3, 0.215, 0.225], {
+ scale: interpolate(frame, [0, 30], [0.3, 0.225], {
extrapolateLeft: 'clamp',
extrapolateRight: 'clamp',
- easing: Easing.out(Easing.back(1.8)),
+ easing: Easing.bezier(0.33, 0, 0.2, 1),
+ output: 'perceptual-scale',
}),
- rotate: interpolate(frame, [0, 30, 38], ['-5deg', '2deg', '0deg'], {
+ rotate: interpolate(frame, [0, 30], ['-5deg', '0deg'], {
extrapolateLeft: 'clamp',
extrapolateRight: 'clamp',
easing: Easing.out(Easing.cubic),
diff --git a/packages/jonnys-videos/src/disco-light-show/GetThemToDance.tsx b/packages/jonnys-videos/src/disco-light-show/GetThemToDance.tsx
index d45545de00..74ae6558c0 100644
--- a/packages/jonnys-videos/src/disco-light-show/GetThemToDance.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/GetThemToDance.tsx
@@ -23,18 +23,22 @@ const GetThemToDanceInner: React.FC = () => {
seed={11}
style={{
position: 'absolute',
- translate: '56px 1140px',
+ translate: interpolate(
+ frame,
+ [0, 6],
+ ['56px 1920px', '56px 1140px'],
+ {
+ extrapolateLeft: 'clamp',
+ extrapolateRight: 'clamp',
+ easing: Easing.inOut(Easing.cubic),
+ },
+ ),
transformOrigin: '50% 50%',
rotate: '-2.5deg',
- scale: interpolate(frame, [0, 6, 46, 53], [0, 1, 1, 0.85], {
+ scale: interpolate(frame, [46, 53], [1, 0.6], {
extrapolateLeft: 'clamp',
extrapolateRight: 'clamp',
- posterize: 2,
- easing: [
- Easing.out(Easing.back(1.4)),
- Easing.linear,
- Easing.out(Easing.cubic),
- ],
+ easing: Easing.inOut(Easing.cubic),
output: 'perceptual-scale',
}),
}}
@@ -60,18 +64,17 @@ const GetThemToDanceInner: React.FC = () => {
seed={12}
style={{
position: 'absolute',
- translate: '24px 60px',
+ translate: interpolate(frame, [4, 10], ['24px -560px', '24px 60px'], {
+ extrapolateLeft: 'clamp',
+ extrapolateRight: 'clamp',
+ easing: Easing.inOut(Easing.cubic),
+ }),
transformOrigin: '50% 50%',
rotate: '-3.5deg',
- scale: interpolate(frame, [4, 10, 46, 53], [0, 1, 1, 0.85], {
+ scale: interpolate(frame, [46, 53], [1, 0.6], {
extrapolateLeft: 'clamp',
extrapolateRight: 'clamp',
- posterize: 2,
- easing: [
- Easing.out(Easing.back(1.4)),
- Easing.linear,
- Easing.out(Easing.cubic),
- ],
+ easing: Easing.inOut(Easing.cubic),
output: 'perceptual-scale',
}),
}}
@@ -97,7 +100,7 @@ const GetThemToDanceInner: React.FC = () => {
scale: interpolate(frame, [46, 53], [1, 1.3], {
extrapolateLeft: 'clamp',
extrapolateRight: 'clamp',
- easing: Easing.out(Easing.cubic),
+ easing: Easing.inOut(Easing.cubic),
output: 'perceptual-scale',
}),
}}
@@ -130,7 +133,7 @@ const GetThemToDanceInner: React.FC = () => {
extrapolateLeft: 'clamp',
extrapolateRight: 'clamp',
outputType: 'translate',
- easing: Easing.out(Easing.cubic),
+ easing: Easing.inOut(Easing.cubic),
},
),
rotate: '330.6deg',
diff --git a/packages/jonnys-videos/src/disco-light-show/Mediabunny.tsx b/packages/jonnys-videos/src/disco-light-show/Mediabunny.tsx
index c92373920c..a0fd55406c 100644
--- a/packages/jonnys-videos/src/disco-light-show/Mediabunny.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/Mediabunny.tsx
@@ -1,44 +1,55 @@
-import React from 'react';
-import {
- Interactive,
- Easing,
- CanvasImage,
- interpolate,
- useCurrentFrame,
-} from 'remotion';
+import React, {useMemo} from 'react';
+import {Easing, Interactive, interpolate, useCurrentFrame} from 'remotion';
import {asset} from './assets';
+import {type ClippingArt, RansomClipping, useDataUrl} from './RansomClipping';
+import {StickerSound} from './StickerSound';
const MediabunnyInner: React.FC = () => {
const frame = useCurrentFrame();
+ const logo = useDataUrl(asset('mediabunny-logo (1).svg'));
+ const art = useMemo<ClippingArt | null>(
+ () =>
+ logo === null
+ ? null
+ : {type: 'image', href: logo, scale: 0.7, keyWhite: false},
+ [logo],
+ );
+ if (art === null) {
+ return null;
+ }
+
return (
- <>
- <CanvasImage
- name="Mediabunny logo"
- src={asset('mediabunny-logo.png')}
- style={{
- position: 'absolute',
- translate: interpolate(
- frame,
- [0, 8, 17, 26],
- [
- '1605px 527.5px',
- '105px 527.5px',
- '105px 527.5px',
- '-1395px 527.5px',
- ],
- {
- extrapolateLeft: 'clamp',
- extrapolateRight: 'clamp',
- easing: Easing.inOut(Easing.cubic),
- },
- ),
- width: 870,
- height: 865,
- opacity: 0.1,
- scale: 1.7,
- }}
+ <Interactive.Div
+ name="Mediabunny sticker placement"
+ style={{
+ position: 'absolute',
+ left: -214,
+ top: 264,
+ width: 1508,
+ height: 1092,
+ transformOrigin: '50% 50%',
+ rotate: '-8deg',
+ }}
+ >
+ <StickerSound name="Mediabunny sticker sound" large pitch={0.96} />
+ <RansomClipping
+ name="Mediabunny sticker"
+ seed="tech-Mediabunny"
+ color="#ffcf2e"
+ width={1508}
+ height={1092}
+ art={art}
+ turn={interpolate(frame, [0, 15], [0, 1], {
+ extrapolateLeft: 'clamp',
+ extrapolateRight: 'clamp',
+ posterize: 3,
+ easing: Easing.linear,
+ })}
+ turnDirection={315}
+ turnRadius={182}
+ unit={2.6}
/>
- </>
+ </Interactive.Div>
);
};
diff --git a/packages/jonnys-videos/src/disco-light-show/Narration.tsx b/packages/jonnys-videos/src/disco-light-show/Narration.tsx
new file mode 100644
index 0000000000..03cf689fe9
--- /dev/null
+++ b/packages/jonnys-videos/src/disco-light-show/Narration.tsx
@@ -0,0 +1,31 @@
+import {Audio} from '@remotion/media';
+import {AnimatedCaptions} from './AnimatedCaptions';
+import {VOICEOVER_SRC} from './voiceover';
+
+export const Narration = () => (
+ <>
+ <Audio name="Voiceover" src={VOICEOVER_SRC} />
+ <div
+ style={{
+ position: 'absolute',
+ inset: 0,
+ zIndex: 2147483647,
+ pointerEvents: 'none',
+ }}
+ >
+ <AnimatedCaptions
+ name="Animated captions"
+ width={1080}
+ height={360}
+ durationInFrames={1608}
+ theme="dark"
+ style={{
+ position: 'absolute',
+ translate: '0px 1260px',
+ scale: 0.9,
+ transformOrigin: '50% 0%',
+ }}
+ />
+ </div>
+ </>
+);
diff --git a/packages/jonnys-videos/src/disco-light-show/OpeningScene.tsx b/packages/jonnys-videos/src/disco-light-show/OpeningScene.tsx
new file mode 100644
index 0000000000..be5769b3ad
--- /dev/null
+++ b/packages/jonnys-videos/src/disco-light-show/OpeningScene.tsx
@@ -0,0 +1,65 @@
+import {Easing, Interactive, interpolate, useCurrentFrame} from 'remotion';
+import {BirthdayPartyCompilation} from './BirthdayPartyCompilation';
+import {TextBackgroundComposition} from './TextBackgroundComposition';
+
+const OpeningSceneInner = () => {
+ const frame = useCurrentFrame();
+ return (
+ <>
+ <TextBackgroundComposition
+ playbackRate={201 / 181}
+ name="Text background"
+ width={1920}
+ height={1080}
+ durationInFrames={201}
+ style={{
+ position: 'absolute',
+ transformOrigin: '0% 0%',
+ translate: interpolate(
+ frame,
+ [0, 54, 72, 113, 128, 164],
+ [
+ '-565px -40px',
+ '-565px -40px',
+ '-310px -140px',
+ '-310px -140px',
+ '-640px -140px',
+ '-640px -140px',
+ ],
+ {
+ extrapolateLeft: 'clamp',
+ extrapolateRight: 'clamp',
+ easing: Easing.inOut(Easing.cubic),
+ },
+ ),
+ scale: interpolate(
+ frame,
+ [0, 54, 72, 164],
+ [1.12, 1.12, 1.24, 1.24],
+ {
+ extrapolateLeft: 'clamp',
+ extrapolateRight: 'clamp',
+ easing: Easing.inOut(Easing.cubic),
+ },
+ ),
+ }}
+ />
+ <BirthdayPartyCompilation
+ playbackRate={178 / 160}
+ name="BirthdayPartyCompilation"
+ width={1080}
+ height={1920}
+ durationInFrames={178}
+ style={{
+ position: 'absolute',
+ }}
+ from={165}
+ />
+ </>
+ );
+};
+
+export const OpeningScene = Interactive.create({
+ Component: OpeningSceneInner,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/PaperBox.tsx b/packages/jonnys-videos/src/disco-light-show/PaperBox.tsx
index 7140665583..d3802ed084 100644
--- a/packages/jonnys-videos/src/disco-light-show/PaperBox.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/PaperBox.tsx
@@ -5,8 +5,10 @@ import {
cutoutPaperEffects,
} from '../paper-disco/cutout-paper';
-const makePaperTexture = (w: number, h: number) => {
- const svg = `<svg xmlns="http://www.w3.org/2000/svg" width="${w}" height="${h}" viewBox="0 0 ${w} ${h}"><rect width="${w}" height="${h}" fill="${CUTOUT_PAPER_COLOR}"/></svg>`;
+const makePaperTexture = (w: number, h: number, shadowPad: number) => {
+ const canvasW = w + shadowPad * 2;
+ const canvasH = h + shadowPad * 2;
+ const svg = `<svg xmlns="http://www.w3.org/2000/svg" width="${canvasW}" height="${canvasH}" viewBox="0 0 ${canvasW} ${canvasH}"><rect x="${shadowPad}" y="${shadowPad}" width="${w}" height="${h}" fill="${CUTOUT_PAPER_COLOR}"/></svg>`;
return `data:image/svg+xml;charset=utf-8,${encodeURIComponent(svg)}`;
};
@@ -40,22 +42,32 @@ export const PaperBox: React.FC<{
const pad = padding / visualScale;
const boxW = Math.round(width + pad * 2);
const boxH = Math.round(height + pad * 2);
- const texture = useMemo(() => makePaperTexture(boxW, boxH), [boxW, boxH]);
+ // Leave transparent space around the paper so the shadow can render in full.
+ const shadowPad = Math.ceil(80 / visualScale);
+ const texture = useMemo(
+ () => makePaperTexture(boxW, boxH, shadowPad),
+ [boxW, boxH, shadowPad],
+ );
return (
<div style={{width, height, ...style}}>
<CanvasImage
name={name}
src={texture}
- width={boxW}
- height={boxH}
+ width={boxW + shadowPad * 2}
+ height={boxH + shadowPad * 2}
fit="fill"
- style={{position: 'absolute', left: -pad, top: -pad}}
+ style={{
+ position: 'absolute',
+ left: -pad - shadowPad,
+ top: -pad - shadowPad,
+ }}
effects={cutoutPaperEffects({
- gridOpacity: null,
+ gridOpacity: 0.28,
unit: 1 / visualScale,
seed,
edgeRoughness: null,
+ shadowOpacity: 0.72,
})}
/>
<div
diff --git a/packages/jonnys-videos/src/disco-light-show/RemotionAssemblyScene.tsx b/packages/jonnys-videos/src/disco-light-show/RemotionAssemblyScene.tsx
new file mode 100644
index 0000000000..866a5eccea
--- /dev/null
+++ b/packages/jonnys-videos/src/disco-light-show/RemotionAssemblyScene.tsx
@@ -0,0 +1,100 @@
+import {Easing, Interactive, interpolate, useCurrentFrame} from 'remotion';
+import {CodeEditor} from './CodeEditor';
+import {DragInDemo} from './DragInDemo';
+import {TextBehindVideoStackComposition} from './TextBehindVideoStack';
+
+const RemotionAssemblySceneInner = () => {
+ const frame = useCurrentFrame();
+ return (
+ <>
+ <DragInDemo
+ playbackRate={102 / 100}
+ name="DragInDemo"
+ width={1080}
+ height={1920}
+ durationInFrames={102}
+ style={{
+ position: 'absolute',
+ translate: interpolate(
+ frame,
+ [0, 5, 91, 99],
+ ['1080px 0px', '0px 0px', '0px 0px', '-1080px 0px'],
+ {
+ extrapolateLeft: 'clamp',
+ extrapolateRight: 'clamp',
+ easing: [
+ Easing.inOut(Easing.cubic),
+ Easing.linear,
+ Easing.inOut(Easing.cubic),
+ ],
+ },
+ ),
+ }}
+ from={0}
+ />
+ <TextBehindVideoStackComposition
+ playbackRate={154 / 153}
+ name="TextBehindVideoStack"
+ width={1080}
+ height={1920}
+ durationInFrames={154}
+ style={{
+ position: 'absolute',
+ overflow: 'hidden',
+ scale: 1.236,
+ translate: interpolate(
+ frame,
+ [91, 99],
+ ['1208px 226.6px', '0px 226.6px'],
+ {
+ extrapolateLeft: 'clamp',
+ extrapolateRight: 'clamp',
+ easing: Easing.inOut(Easing.cubic),
+ },
+ ),
+ }}
+ from={90}
+ />
+ <CodeEditor
+ name="Code editor"
+ from={209}
+ durationInFrames={56}
+ style={{
+ position: 'absolute',
+ width: 1188,
+ height: 1260,
+ scale: 1.04,
+ transformOrigin: '0% 0%',
+ translate: interpolate(
+ frame,
+ [209, 222, 250, 254, 264],
+ [
+ '1080px -20px',
+ '-75px -20px',
+ '-125px -40px',
+ '-125px -40px',
+ '-1400px -40px',
+ ],
+ {
+ extrapolateLeft: 'clamp',
+ extrapolateRight: 'clamp',
+ easing: [
+ Easing.inOut(Easing.cubic),
+ Easing.inOut(Easing.cubic),
+ Easing.linear,
+ Easing.inOut(Easing.cubic),
+ ],
+ },
+ ),
+ }}
+ width={1188}
+ height={1260}
+ />
+ </>
+ );
+};
+
+export const RemotionAssemblyScene = Interactive.create({
+ Component: RemotionAssemblySceneInner,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/RemotionSticker.tsx b/packages/jonnys-videos/src/disco-light-show/RemotionSticker.tsx
new file mode 100644
index 0000000000..b2ac9bf432
--- /dev/null
+++ b/packages/jonnys-videos/src/disco-light-show/RemotionSticker.tsx
@@ -0,0 +1,66 @@
+import React, {useMemo} from 'react';
+import {
+ Easing,
+ Interactive,
+ interpolate,
+ useCurrentFrame,
+ useVideoConfig,
+} from 'remotion';
+import {asset} from './assets';
+import {type ClippingArt, RansomClipping, useDataUrl} from './RansomClipping';
+import {StickerSound} from './StickerSound';
+
+const RemotionStickerInner: React.FC = () => {
+ const frame = useCurrentFrame();
+ const {fps} = useVideoConfig();
+ const logo = useDataUrl(asset('remotion-logo.svg'));
+ const art = useMemo<ClippingArt | null>(
+ () =>
+ logo === null
+ ? null
+ : {type: 'image', href: logo, scale: 0.62, keyWhite: false},
+ [logo],
+ );
+ if (art === null) {
+ return null;
+ }
+
+ return (
+ <Interactive.Div
+ name="Remotion sticker placement"
+ style={{
+ position: 'absolute',
+ left: 330,
+ top: 940,
+ width: 420,
+ height: 350,
+ transformOrigin: '50% 50%',
+ rotate: '7deg',
+ }}
+ >
+ <StickerSound name="Remotion sticker sound" large pitch={1.04} />
+ <RansomClipping
+ name="Remotion symbol on paper"
+ seed="tech-Remotion"
+ color="#f5f0e6"
+ width={420}
+ height={350}
+ art={art}
+ turn={interpolate(frame, [0, 0.5 * fps], [0, 1], {
+ extrapolateLeft: 'clamp',
+ extrapolateRight: 'clamp',
+ posterize: 3,
+ easing: Easing.linear,
+ })}
+ turnDirection={315}
+ turnRadius={54}
+ unit={0.77}
+ />
+ </Interactive.Div>
+ );
+};
+
+export const RemotionSticker = Interactive.create({
+ Component: RemotionStickerInner,
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/StickerSound.tsx b/packages/jonnys-videos/src/disco-light-show/StickerSound.tsx
new file mode 100644
index 0000000000..65069c7afe
--- /dev/null
+++ b/packages/jonnys-videos/src/disco-light-show/StickerSound.tsx
@@ -0,0 +1,53 @@
+import {Audio} from '@remotion/media';
+import {Interactive, useVideoConfig} from 'remotion';
+import {asset} from './assets';
+
+const StickerSoundInner = ({
+ large,
+ pitch,
+}: {
+ readonly large: boolean;
+ readonly pitch: number;
+}) => {
+ const {fps} = useVideoConfig();
+
+ return (
+ <>
+ <Audio
+ name={large ? 'Silk page-turn swish' : 'Unfold paper flutter'}
+ src={asset(
+ large
+ ? 'sound-lab-silk-9afd9eb970ab.wav'
+ : 'sound-lab-unfold-e5a3f0872f23.wav',
+ )}
+ playbackRate={large ? 1.65 : 1.25}
+ toneFrequency={pitch}
+ volume={large ? 0.5 : 0.42}
+ />
+ <Audio
+ name="Sticker landing tap"
+ src={asset('sound-lab-place-decff05333a7.wav')}
+ from={(large ? 0.4 : 0.2) * fps}
+ toneFrequency={pitch}
+ volume={large ? 0.2 : 0.14}
+ />
+ </>
+ );
+};
+
+export const StickerSound = Interactive.create({
+ Component: StickerSoundInner,
+ schema: {
+ large: {type: 'boolean', default: false, description: 'Large sticker'},
+ pitch: {
+ type: 'number',
+ default: 1,
+ min: 0.5,
+ max: 1.5,
+ step: 0.01,
+ description: 'Pitch',
+ hiddenFromList: false,
+ },
+ },
+ layout: 'absolute-fill',
+});
diff --git a/packages/jonnys-videos/src/disco-light-show/TextBehindVideoSeriesFirst20s.tsx b/packages/jonnys-videos/src/disco-light-show/TextBehindVideoSeriesFirst20s.tsx
index 16e9db7014..eea40f0df9 100644
--- a/packages/jonnys-videos/src/disco-light-show/TextBehindVideoSeriesFirst20s.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/TextBehindVideoSeriesFirst20s.tsx
@@ -32,16 +32,7 @@ const TextBehindVideoSeriesFirst20sCompositionInner: React.FC = () => {
{
extrapolateLeft: 'clamp',
extrapolateRight: 'clamp',
- easing: [
- Easing.spring({
- damping: 200,
- mass: 1,
- stiffness: 100,
- allowTail: true,
- durationRestThreshold: 0.02,
- overshootClamping: false,
- }),
- ],
+ easing: [Easing.inOut(Easing.cubic)],
},
),
}}
@@ -63,16 +54,7 @@ const TextBehindVideoSeriesFirst20sCompositionInner: React.FC = () => {
{
extrapolateLeft: 'clamp',
extrapolateRight: 'clamp',
- easing: [
- Easing.spring({
- damping: 200,
- mass: 1,
- stiffness: 100,
- allowTail: true,
- durationRestThreshold: 0.02,
- overshootClamping: false,
- }),
- ],
+ easing: [Easing.inOut(Easing.cubic)],
},
),
}}
diff --git a/packages/jonnys-videos/src/disco-light-show/TextBehindVideoStack.tsx b/packages/jonnys-videos/src/disco-light-show/TextBehindVideoStack.tsx
index eaf206426f..b3ffc86699 100644
--- a/packages/jonnys-videos/src/disco-light-show/TextBehindVideoStack.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/TextBehindVideoStack.tsx
@@ -27,6 +27,8 @@ const TextBehindVideoStackCompositionInner: React.FC = () => {
width: 1920,
height: 1080,
scale: 0.31,
+ // Keep the outline 2px wide after the layer's scale.
+ outline: `${2 / 0.31}px solid #2684ff`,
transformOrigin: '0% 0%',
translate: interpolate(
frame,
@@ -62,6 +64,8 @@ const TextBehindVideoStackCompositionInner: React.FC = () => {
width: 1920,
height: 1080,
scale: 0.31,
+ // Keep the outline 2px wide after the layer's scale.
+ outline: `${2 / 0.31}px solid #2684ff`,
transformOrigin: '0% 0%',
translate: interpolate(
frame,
@@ -97,6 +101,8 @@ const TextBehindVideoStackCompositionInner: React.FC = () => {
width: 1920,
height: 1080,
scale: 0.31,
+ // Keep the outline 2px wide after the layer's scale.
+ outline: `${2 / 0.31}px solid #2684ff`,
transformOrigin: '0% 0%',
translate: interpolate(
frame,
diff --git a/packages/jonnys-videos/src/disco-light-show/VibeCoded.tsx b/packages/jonnys-videos/src/disco-light-show/VibeCoded.tsx
index 1d024c8e9c..ed41dc21de 100644
--- a/packages/jonnys-videos/src/disco-light-show/VibeCoded.tsx
+++ b/packages/jonnys-videos/src/disco-light-show/VibeCoded.tsx
@@ -1,50 +1,79 @@
import {Video} from '@remotion/media';
import React from 'react';
-import {Easing, Interactive, interpolate, useCurrentFrame} from 'remotion';
+import {
+ Easing,
+ Interactive,
+ interpolate,
+ Solid,
+ useCurrentFrame,
+} from 'remotion';
import {asset} from './assets';
-import {PaperBox} from './PaperBox';
+import {Mediabunny} from './Mediabunny';
const VibeCodedInner: React.FC = () => {
const frame = useCurrentFrame();
return (
<>
- <PaperBox
- name="Transparent video layer export paper box"
- width={2070}
- height={1470}
- visualScale={0.75}
- seed={4}
+ <Solid
+ name="Export interface background"
+ color="#0a0912"
+ width={1080}
+ height={1920}
+ style={{position: 'absolute'}}
+ />
+ <Video
+ name="Transparent video layer export"
+ src={asset('Screen Recording 2026-07-19 at 17.43.33.mov')}
style={{
position: 'absolute',
+ width: 2702,
+ height: 1492,
transformOrigin: '0% 0%',
+ // Follow the layer tabs and export button, then hold on processing.
translate: interpolate(
frame,
- [35, 70, 125, 142],
- ['-420px 120px', '-420px 120px', '-350px 40px', '-350px 40px'],
+ [0, 25, 45, 87, 98, 104, 115],
+ [
+ '-622px -200px',
+ '-622px -200px',
+ '-676px -243px',
+ '-676px -243px',
+ '-2027.3px -617px',
+ '-2027.3px -617px',
+ '-703px -273px',
+ ],
{
extrapolateLeft: 'clamp',
extrapolateRight: 'clamp',
easing: Easing.inOut(Easing.cubic),
},
),
- scale: 0.75,
+ scale: interpolate(
+ frame,
+ [0, 25, 45, 87, 98, 104, 115],
+ [0.86, 0.86, 0.9, 0.9, 1.15, 1.15, 0.92],
+ {
+ extrapolateLeft: 'clamp',
+ extrapolateRight: 'clamp',
+ easing: Easing.inOut(Easing.cubic),
+ output: 'perceptual-scale',
+ },
+ ),
}}
- >
- <Video
- name="Transparent video layer export"
- src={asset('Screen Recording 2026-07-19 at 17.43.33.mov')}
- style={{
- position: 'absolute',
- width: 2702,
- height: 1492,
- translate: '-320px 0px',
- }}
- durationInFrames={294}
- trimBefore={3409}
- playbackRate={2}
- from={-4}
- />
- </PaperBox>
+ // Freeze the footage at 122.5s, before the downloads panel opens.
+ freeze={frame >= 129 ? 133 : null}
+ durationInFrames={336}
+ trimBefore={3409}
+ playbackRate={2}
+ from={-4}
+ />
+ <Mediabunny
+ name="Mediabunny sticker"
+ from={138}
+ durationInFrames={24}
+ width={1080}
+ height={1920}
+ />
</>
);
};
diff --git a/packages/jonnys-videos/src/disco-light-show/editing.md b/packages/jonnys-videos/src/disco-light-show/editing.md
new file mode 100644
index 0000000000..ba8d71bead
--- /dev/null
+++ b/packages/jonnys-videos/src/disco-light-show/editing.md
@@ -0,0 +1,26 @@
+# Editing the disco light show
+
+`Composition.tsx` assembles Master at 30 fps. Open the connected chapters under
+**DiscoLightShow β†’ Chapters** to edit their internal shots and transitions.
+
+| Chapter | Start in Master | Length | Content |
+| ---------------------- | --------------: | -----: | ---------------------------------------------------------------------------- |
+| OpeningScene | 0 | 325 | Intro, party footage, and Get them to dance |
+| BackgroundRemovalScene | 296 | 526 | Effect preview, Hugging Face demo, technology stickers, and layer separation |
+| CustomToolScene | 803 | 255 | Fork, chat drop, custom export tool, and fork sound |
+| RemotionAssemblyScene | 1053 | 265 | Importing clips, the three-layer stack, and code editor |
+| FinaleScene | 1364 | 244 | Countdown, drumsticks, and final video stack |
+
+Chapter entrances and exits overlap deliberately. Their keyframes use local
+frames, so moving a chapter keeps its shots, stickers, sounds, and transitions
+together. The existing per-shot playback rates and source trims remain inside
+the chapter. `CodeEditor` is also connected for editing its screenshot and solid
+independently.
+
+Master keeps the continuous paper background, two music segments, and the hidden
+social safe-zone guide. Its **Narration and captions** timing group moves or trims
+the voiceover and captions together; it remains above all visual chapters.
+Captions use the existing corrected transcript in `voiceover-captions.ts`.
+
+The chapter previews use a neutral dark background. Master supplies its paper
+background beneath the transparent portions of each chapter.
diff --git a/packages/jonnys-videos/src/disco-light-show/media-assets.md b/packages/jonnys-videos/src/disco-light-show/media-assets.md
index 01d281577a..03018ff3d8 100644
--- a/packages/jonnys-videos/src/disco-light-show/media-assets.md
+++ b/packages/jonnys-videos/src/disco-light-show/media-assets.md
@@ -50,3 +50,22 @@ The only longer new assets are audio: the 51.905-second voiceover and the 177.00
| `party-suggestions/lights-10.mp4` | 6.034 | 3354097 | [party-suggestions-lights-10-08c1e706da97.mp4](https://remotion.media/jonnys-videos/disco-light-show/party-suggestions-lights-10-08c1e706da97.mp4) | `08c1e706da978cc8f806566b408e76bd3708b100021315f291d2cc425f495fd4` |
| `tiktok-interface.png` | β€” | 103423 | [tiktok-interface-723936d52883.png](https://remotion.media/jonnys-videos/disco-light-show/tiktok-interface-723936d52883.png) | `723936d52883e02c0685d78705b8b4b3bea251bbe5fb00b4466a54e204645466` |
| `paper-texture-dark.jpg` | β€” | 242151 | [paper-texture-dark-2566e6c4f4cc.jpg](https://remotion.media/jonnys-videos/disco-light-show/paper-texture-dark-2566e6c4f4cc.jpg) | `2566e6c4f4cc8383f9ee1b786d472b1a491d6a487b582a29478b8fa0f8b9584c` |
+
+## Sticker sound effects
+
+Exported from [React Bits Sound Lab](https://reactbits.dev/tools/sound-lab) as 24-bit, 48 kHz stereo WAV. Unfold provides the technology-sticker flutter, Silk accompanies the larger logo page turns, and Place adds a quiet landing tap. All public files were verified against the downloaded exports by SHA-256.
+
+| Preset | Hosted file | SHA-256 |
+| ------ | ---------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ |
+| Silk | [sound-lab-silk-9afd9eb970ab.wav](https://remotion.media/jonnys-videos/disco-light-show/sound-lab-silk-9afd9eb970ab.wav) | `9afd9eb970abe52938a5b25bf84ef00c091bbbfdb3f7072751ca56957f5d657e` |
+| Unfold | [sound-lab-unfold-e5a3f0872f23.wav](https://remotion.media/jonnys-videos/disco-light-show/sound-lab-unfold-e5a3f0872f23.wav) | `e5a3f0872f234c249077f9d57dd4f07d08f0e37ecff03f6acc93aa15a25f3784` |
+| Place | [sound-lab-place-decff05333a7.wav](https://remotion.media/jonnys-videos/disco-light-show/sound-lab-place-decff05333a7.wav) | `decff05333a7038cea81e53fe066d0f542c61484d13415f375aeb5b3421426b8` |
+
+## Voiceover revision β€” question removed
+
+Regenerated with ElevenLabs Multilingual v2 and the original Derek – Fun & Energetic voice (`Q0Et7LOU7VpeoeCRQAVS`). The script omits β€œHow did I do this?” and the matching disco sting is removed from Master. The selected narration is 45.465 seconds; Master and MasterWithEffect now run 1,608 frames (53.6 seconds at 30 fps), retaining the countdown and final video timings relative to the end of the narration. Word timings were transcribed and matched to the exact script before retiming the scenes.
+
+| Asset | Hosted file | SHA-256 |
+| --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------ |
+| voiceover | [elevenlabs-voiceover-no-question-f76407aa5762.mp3](https://remotion.media/jonnys-videos/disco-light-show/elevenlabs-voiceover-no-question-f76407aa5762.mp3) | `f76407aa5762a9f1b8b5f184c00e4cc862165deb6a676953c9c25e78de30a2be` |
+| captions | [elevenlabs-captions-no-question-744cbaa1314b.json](https://remotion.media/jonnys-videos/disco-light-show/elevenlabs-captions-no-question-744cbaa1314b.json) | `744cbaa1314b5826179764de77332f92bcfdc2c4960b87e84be94cbdcf935527` |
diff --git a/packages/jonnys-videos/src/disco-light-show/notebook-arrow.ts b/packages/jonnys-videos/src/disco-light-show/notebook-arrow.ts
new file mode 100644
index 0000000000..c9d64a5f1c
--- /dev/null
+++ b/packages/jonnys-videos/src/disco-light-show/notebook-arrow.ts
@@ -0,0 +1,16 @@
+import {makeArrow} from '@remotion/shapes';
+import {CUTOUT_PAPER_COLOR} from '../paper-disco/cutout-paper';
+
+const arrow = makeArrow({
+ length: 300,
+ headWidth: 185,
+ headLength: 120,
+ shaftWidth: 80,
+ direction: 'right',
+ cornerRadius: 0,
+});
+
+// A raster-backed SVG keeps the textured arrow renderable while it slides offscreen.
+export const NOTEBOOK_ARROW_SRC = `data:image/svg+xml;charset=utf-8,${encodeURIComponent(
+ `<svg xmlns="http://www.w3.org/2000/svg" width="300" height="185" viewBox="0 0 300 185"><path d="${arrow.path}" fill="${CUTOUT_PAPER_COLOR}"/></svg>`,
+)}`;
diff --git a/packages/jonnys-videos/src/disco-light-show/script.md b/packages/jonnys-videos/src/disco-light-show/script.md
index 5317aea1c0..224b7b0184 100644
--- a/packages/jonnys-videos/src/disco-light-show/script.md
+++ b/packages/jonnys-videos/src/disco-light-show/script.md
@@ -4,7 +4,7 @@ I vibe-coded my own DJ show. Claude is helping me animate lights, and visuals ar
Then I threw a party for my birthday and played it for my friends. Let's see if I can get them to dance.
-For this track, I took the music video and inserted animated captions in between the foreground and the background. How did I do this?
+For this track, I took the music video and inserted animated captions in between the foreground and the background.
I found this Text-behind-video demo from Hugging Face, which works completely locally by leveraging all the cool technology.
diff --git a/packages/jonnys-videos/src/disco-light-show/voiceover-captions.ts b/packages/jonnys-videos/src/disco-light-show/voiceover-captions.ts
new file mode 100644
index 0000000000..4902f40098
--- /dev/null
+++ b/packages/jonnys-videos/src/disco-light-show/voiceover-captions.ts
@@ -0,0 +1,1117 @@
+import type {Caption} from '@remotion/captions';
+
+export const voiceoverCaptions: Caption[] = [
+ {
+ text: 'I',
+ startMs: 140.0,
+ endMs: 380.0,
+ timestampMs: 260.0,
+ confidence: null,
+ },
+ {
+ text: ' vibe-coded',
+ startMs: 380.0,
+ endMs: 800.0,
+ timestampMs: 590.0,
+ confidence: null,
+ },
+ {
+ text: ' my',
+ startMs: 800.0,
+ endMs: 1040.0,
+ timestampMs: 920.0,
+ confidence: null,
+ },
+ {
+ text: ' own',
+ startMs: 1040.0,
+ endMs: 1280.0,
+ timestampMs: 1160.0,
+ confidence: null,
+ },
+ {
+ text: ' DJ',
+ startMs: 1280.0,
+ endMs: 1700.0,
+ timestampMs: 1490.0,
+ confidence: null,
+ },
+ {
+ text: ' show.',
+ startMs: 1700.0,
+ endMs: 1840.0,
+ timestampMs: 1770.0,
+ confidence: null,
+ },
+ {
+ text: ' Claude',
+ startMs: 2160.0,
+ endMs: 2420.0,
+ timestampMs: 2290.0,
+ confidence: null,
+ },
+ {
+ text: ' is',
+ startMs: 2420.0,
+ endMs: 2640.0,
+ timestampMs: 2530.0,
+ confidence: null,
+ },
+ {
+ text: ' helping',
+ startMs: 2640.0,
+ endMs: 2860.0,
+ timestampMs: 2750.0,
+ confidence: null,
+ },
+ {
+ text: ' me',
+ startMs: 2860.0,
+ endMs: 3260.0,
+ timestampMs: 3060.0,
+ confidence: null,
+ },
+ {
+ text: ' animate',
+ startMs: 3260.0,
+ endMs: 3540.0,
+ timestampMs: 3400.0,
+ confidence: null,
+ },
+ {
+ text: ' lights,',
+ startMs: 3540.0,
+ endMs: 3680.0,
+ timestampMs: 3610.0,
+ confidence: null,
+ },
+ {
+ text: ' and',
+ startMs: 3840.0,
+ endMs: 4060.0,
+ timestampMs: 3950.0,
+ confidence: null,
+ },
+ {
+ text: ' visuals',
+ startMs: 4060.0,
+ endMs: 4320.0,
+ timestampMs: 4190.0,
+ confidence: null,
+ },
+ {
+ text: ' are',
+ startMs: 4320.0,
+ endMs: 4520.0,
+ timestampMs: 4420.0,
+ confidence: null,
+ },
+ {
+ text: ' made',
+ startMs: 4520.0,
+ endMs: 4720.0,
+ timestampMs: 4620.0,
+ confidence: null,
+ },
+ {
+ text: ' in',
+ startMs: 4720.0,
+ endMs: 4820.0,
+ timestampMs: 4770.0,
+ confidence: null,
+ },
+ {
+ text: ' Remotion.',
+ startMs: 4820.0,
+ endMs: 5560.0,
+ timestampMs: 5190.0,
+ confidence: null,
+ },
+ {
+ text: ' Then',
+ startMs: 5700.0,
+ endMs: 5820.0,
+ timestampMs: 5760.0,
+ confidence: null,
+ },
+ {
+ text: ' I',
+ startMs: 5820.0,
+ endMs: 5960.0,
+ timestampMs: 5890.0,
+ confidence: null,
+ },
+ {
+ text: ' threw',
+ startMs: 5960.0,
+ endMs: 6100.0,
+ timestampMs: 6030.0,
+ confidence: null,
+ },
+ {
+ text: ' a',
+ startMs: 6100.0,
+ endMs: 6340.0,
+ timestampMs: 6220.0,
+ confidence: null,
+ },
+ {
+ text: ' party',
+ startMs: 6340.0,
+ endMs: 6560.0,
+ timestampMs: 6450.0,
+ confidence: null,
+ },
+ {
+ text: ' for',
+ startMs: 6560.0,
+ endMs: 6700.0,
+ timestampMs: 6630.0,
+ confidence: null,
+ },
+ {
+ text: ' my',
+ startMs: 6700.0,
+ endMs: 6960.0,
+ timestampMs: 6830.0,
+ confidence: null,
+ },
+ {
+ text: ' birthday',
+ startMs: 6960.0,
+ endMs: 7080.0,
+ timestampMs: 7020.0,
+ confidence: null,
+ },
+ {
+ text: ' and',
+ startMs: 7260.0,
+ endMs: 7460.0,
+ timestampMs: 7360.0,
+ confidence: null,
+ },
+ {
+ text: ' played',
+ startMs: 7460.0,
+ endMs: 7560.0,
+ timestampMs: 7510.0,
+ confidence: null,
+ },
+ {
+ text: ' it',
+ startMs: 7560.0,
+ endMs: 7740.0,
+ timestampMs: 7650.0,
+ confidence: null,
+ },
+ {
+ text: ' for',
+ startMs: 7740.0,
+ endMs: 7880.0,
+ timestampMs: 7810.0,
+ confidence: null,
+ },
+ {
+ text: ' my',
+ startMs: 7880.0,
+ endMs: 8160.0,
+ timestampMs: 8020.0,
+ confidence: null,
+ },
+ {
+ text: ' friends.',
+ startMs: 8160.0,
+ endMs: 8600.0,
+ timestampMs: 8380.0,
+ confidence: null,
+ },
+ {
+ text: " Let's",
+ startMs: 8760.0,
+ endMs: 8920.0,
+ timestampMs: 8840.0,
+ confidence: null,
+ },
+ {
+ text: ' see',
+ startMs: 8920.0,
+ endMs: 9000,
+ timestampMs: 8960.0,
+ confidence: null,
+ },
+ {
+ text: ' if',
+ startMs: 9000,
+ endMs: 9120.0,
+ timestampMs: 9060.0,
+ confidence: null,
+ },
+ {
+ text: ' I',
+ startMs: 9120.0,
+ endMs: 9200.0,
+ timestampMs: 9160.0,
+ confidence: null,
+ },
+ {
+ text: ' can',
+ startMs: 9200.0,
+ endMs: 9320.0,
+ timestampMs: 9260.0,
+ confidence: null,
+ },
+ {
+ text: ' get',
+ startMs: 9320.0,
+ endMs: 9460.0,
+ timestampMs: 9390.0,
+ confidence: null,
+ },
+ {
+ text: ' them',
+ startMs: 9460.0,
+ endMs: 9600.0,
+ timestampMs: 9530.0,
+ confidence: null,
+ },
+ {
+ text: ' to',
+ startMs: 9600.0,
+ endMs: 9840.0,
+ timestampMs: 9720.0,
+ confidence: null,
+ },
+ {
+ text: ' dance.',
+ startMs: 9840.0,
+ endMs: 10320.0,
+ timestampMs: 10080.0,
+ confidence: null,
+ },
+ {
+ text: ' For',
+ startMs: 10480.0,
+ endMs: 10660.0,
+ timestampMs: 10570.0,
+ confidence: null,
+ },
+ {
+ text: ' this',
+ startMs: 10660.0,
+ endMs: 10900.0,
+ timestampMs: 10780.0,
+ confidence: null,
+ },
+ {
+ text: ' track,',
+ startMs: 10900.0,
+ endMs: 11060.0,
+ timestampMs: 10980.0,
+ confidence: null,
+ },
+ {
+ text: ' I',
+ startMs: 11100.0,
+ endMs: 11200.0,
+ timestampMs: 11150.0,
+ confidence: null,
+ },
+ {
+ text: ' took',
+ startMs: 11200.0,
+ endMs: 11360.0,
+ timestampMs: 11280.0,
+ confidence: null,
+ },
+ {
+ text: ' the',
+ startMs: 11360.0,
+ endMs: 11580.0,
+ timestampMs: 11470.0,
+ confidence: null,
+ },
+ {
+ text: ' music',
+ startMs: 11580.0,
+ endMs: 11920.0,
+ timestampMs: 11750.0,
+ confidence: null,
+ },
+ {
+ text: ' video',
+ startMs: 11920.0,
+ endMs: 12040.0,
+ timestampMs: 11980.0,
+ confidence: null,
+ },
+ {
+ text: ' and',
+ startMs: 12200.0,
+ endMs: 12600.0,
+ timestampMs: 12400.0,
+ confidence: null,
+ },
+ {
+ text: ' inserted',
+ startMs: 12600.0,
+ endMs: 13040.0,
+ timestampMs: 12820.0,
+ confidence: null,
+ },
+ {
+ text: ' animated',
+ startMs: 13040.0,
+ endMs: 13380.0,
+ timestampMs: 13210.0,
+ confidence: null,
+ },
+ {
+ text: ' captions',
+ startMs: 13380.0,
+ endMs: 13680.0,
+ timestampMs: 13530.0,
+ confidence: null,
+ },
+ {
+ text: ' in',
+ startMs: 13840.0,
+ endMs: 14100.0,
+ timestampMs: 13970.0,
+ confidence: null,
+ },
+ {
+ text: ' between',
+ startMs: 14100.0,
+ endMs: 14280.0,
+ timestampMs: 14190.0,
+ confidence: null,
+ },
+ {
+ text: ' the',
+ startMs: 14280.0,
+ endMs: 14600.0,
+ timestampMs: 14440.0,
+ confidence: null,
+ },
+ {
+ text: ' foreground',
+ startMs: 14600.0,
+ endMs: 14860.0,
+ timestampMs: 14730.0,
+ confidence: null,
+ },
+ {
+ text: ' and',
+ startMs: 14860.0,
+ endMs: 14960.0,
+ timestampMs: 14910.0,
+ confidence: null,
+ },
+ {
+ text: ' the',
+ startMs: 14960.0,
+ endMs: 15280.0,
+ timestampMs: 15120.0,
+ confidence: null,
+ },
+ {
+ text: ' background.',
+ startMs: 15280.0,
+ endMs: 15780.0,
+ timestampMs: 15530.0,
+ confidence: null,
+ },
+ {
+ text: ' I',
+ startMs: 15920.0,
+ endMs: 16060.0,
+ timestampMs: 15990.0,
+ confidence: null,
+ },
+ {
+ text: ' found',
+ startMs: 16060.0,
+ endMs: 16260.0,
+ timestampMs: 16160.0,
+ confidence: null,
+ },
+ {
+ text: ' this',
+ startMs: 16260.0,
+ endMs: 16520.0,
+ timestampMs: 16390.0,
+ confidence: null,
+ },
+ {
+ text: ' Text-behind-video',
+ startMs: 16520.0,
+ endMs: 17540.0,
+ timestampMs: 17030.0,
+ confidence: null,
+ },
+ {
+ text: ' demo',
+ startMs: 17540.0,
+ endMs: 17820.0,
+ timestampMs: 17680.0,
+ confidence: null,
+ },
+ {
+ text: ' from',
+ startMs: 17820.0,
+ endMs: 17980.0,
+ timestampMs: 17900.0,
+ confidence: null,
+ },
+ {
+ text: ' Hugging',
+ startMs: 17980.0,
+ endMs: 18400.0,
+ timestampMs: 18190.0,
+ confidence: null,
+ },
+ {
+ text: ' Face,',
+ startMs: 18400.0,
+ endMs: 18760.0,
+ timestampMs: 18580.0,
+ confidence: null,
+ },
+ {
+ text: ' which',
+ startMs: 19020.0,
+ endMs: 19240.0,
+ timestampMs: 19130.0,
+ confidence: null,
+ },
+ {
+ text: ' works',
+ startMs: 19240.0,
+ endMs: 19580.0,
+ timestampMs: 19410.0,
+ confidence: null,
+ },
+ {
+ text: ' completely',
+ startMs: 19580.0,
+ endMs: 19960.0,
+ timestampMs: 19770.0,
+ confidence: null,
+ },
+ {
+ text: ' locally',
+ startMs: 19960.0,
+ endMs: 19960.0,
+ timestampMs: 19960.0,
+ confidence: null,
+ },
+ {
+ text: ' by',
+ startMs: 20180.0,
+ endMs: 20500.0,
+ timestampMs: 20340.0,
+ confidence: null,
+ },
+ {
+ text: ' leveraging',
+ startMs: 20500.0,
+ endMs: 20760.0,
+ timestampMs: 20630.0,
+ confidence: null,
+ },
+ {
+ text: ' all',
+ startMs: 20760.0,
+ endMs: 20900.0,
+ timestampMs: 20830.0,
+ confidence: null,
+ },
+ {
+ text: ' the',
+ startMs: 20900.0,
+ endMs: 21100.0,
+ timestampMs: 21000.0,
+ confidence: null,
+ },
+ {
+ text: ' cool',
+ startMs: 21100.0,
+ endMs: 21620.0,
+ timestampMs: 21360.0,
+ confidence: null,
+ },
+ {
+ text: ' technology.',
+ startMs: 21620.0,
+ endMs: 22180.0,
+ timestampMs: 21900.0,
+ confidence: null,
+ },
+ {
+ text: ' The',
+ startMs: 22380.0,
+ endMs: 22600.0,
+ timestampMs: 22490.0,
+ confidence: null,
+ },
+ {
+ text: ' demo',
+ startMs: 22600.0,
+ endMs: 22860.0,
+ timestampMs: 22730.0,
+ confidence: null,
+ },
+ {
+ text: ' itself',
+ startMs: 22860.0,
+ endMs: 23040.0,
+ timestampMs: 22950.0,
+ confidence: null,
+ },
+ {
+ text: ' is',
+ startMs: 23040.0,
+ endMs: 23180.0,
+ timestampMs: 23110.0,
+ confidence: null,
+ },
+ {
+ text: ' quite',
+ startMs: 23180.0,
+ endMs: 23540.0,
+ timestampMs: 23360.0,
+ confidence: null,
+ },
+ {
+ text: ' limited,',
+ startMs: 23540.0,
+ endMs: 23680.0,
+ timestampMs: 23610.0,
+ confidence: null,
+ },
+ {
+ text: ' and',
+ startMs: 23840.0,
+ endMs: 23960.0,
+ timestampMs: 23900.0,
+ confidence: null,
+ },
+ {
+ text: ' we',
+ startMs: 23960.0,
+ endMs: 24160.0,
+ timestampMs: 24060.0,
+ confidence: null,
+ },
+ {
+ text: ' cannot',
+ startMs: 24160.0,
+ endMs: 24520.0,
+ timestampMs: 24340.0,
+ confidence: null,
+ },
+ {
+ text: ' insert',
+ startMs: 24520.0,
+ endMs: 24700.0,
+ timestampMs: 24610.0,
+ confidence: null,
+ },
+ {
+ text: ' an',
+ startMs: 24700.0,
+ endMs: 25040.0,
+ timestampMs: 24870.0,
+ confidence: null,
+ },
+ {
+ text: ' animated',
+ startMs: 25040.0,
+ endMs: 25400.0,
+ timestampMs: 25220.0,
+ confidence: null,
+ },
+ {
+ text: ' video',
+ startMs: 25400.0,
+ endMs: 25700.0,
+ timestampMs: 25550.0,
+ confidence: null,
+ },
+ {
+ text: ' layer.',
+ startMs: 25700.0,
+ endMs: 26000,
+ timestampMs: 25850.0,
+ confidence: null,
+ },
+ {
+ text: ' But',
+ startMs: 26160.0,
+ endMs: 26300.0,
+ timestampMs: 26230.0,
+ confidence: null,
+ },
+ {
+ text: ' since',
+ startMs: 26300.0,
+ endMs: 26440.0,
+ timestampMs: 26370.0,
+ confidence: null,
+ },
+ {
+ text: ' it',
+ startMs: 26440.0,
+ endMs: 26560.0,
+ timestampMs: 26500.0,
+ confidence: null,
+ },
+ {
+ text: ' is',
+ startMs: 26560.0,
+ endMs: 26780.0,
+ timestampMs: 26670.0,
+ confidence: null,
+ },
+ {
+ text: ' open',
+ startMs: 26780.0,
+ endMs: 27020.0,
+ timestampMs: 26900.0,
+ confidence: null,
+ },
+ {
+ text: ' source,',
+ startMs: 27020.0,
+ endMs: 27280.0,
+ timestampMs: 27150.0,
+ confidence: null,
+ },
+ {
+ text: ' I',
+ startMs: 27280.0,
+ endMs: 27380.0,
+ timestampMs: 27330.0,
+ confidence: null,
+ },
+ {
+ text: ' can',
+ startMs: 27380.0,
+ endMs: 27520.0,
+ timestampMs: 27450.0,
+ confidence: null,
+ },
+ {
+ text: ' just',
+ startMs: 27520.0,
+ endMs: 27540.0,
+ timestampMs: 27530.0,
+ confidence: null,
+ },
+ {
+ text: ' fork',
+ startMs: 27880.0,
+ endMs: 28100.0,
+ timestampMs: 27990.0,
+ confidence: null,
+ },
+ {
+ text: ' the',
+ startMs: 28100.0,
+ endMs: 28380.0,
+ timestampMs: 28240.0,
+ confidence: null,
+ },
+ {
+ text: ' project',
+ startMs: 28380.0,
+ endMs: 28580.0,
+ timestampMs: 28480.0,
+ confidence: null,
+ },
+ {
+ text: ' and',
+ startMs: 28580.0,
+ endMs: 28720.0,
+ timestampMs: 28650.0,
+ confidence: null,
+ },
+ {
+ text: ' make',
+ startMs: 28720.0,
+ endMs: 28880.0,
+ timestampMs: 28800.0,
+ confidence: null,
+ },
+ {
+ text: ' a',
+ startMs: 28880.0,
+ endMs: 29220.0,
+ timestampMs: 29050.0,
+ confidence: null,
+ },
+ {
+ text: ' custom',
+ startMs: 29220.0,
+ endMs: 29500.0,
+ timestampMs: 29360.0,
+ confidence: null,
+ },
+ {
+ text: ' version',
+ startMs: 29500.0,
+ endMs: 29740.0,
+ timestampMs: 29620.0,
+ confidence: null,
+ },
+ {
+ text: ' that',
+ startMs: 29740.0,
+ endMs: 29920.0,
+ timestampMs: 29830.0,
+ confidence: null,
+ },
+ {
+ text: ' fits',
+ startMs: 29920.0,
+ endMs: 30080.0,
+ timestampMs: 30000.0,
+ confidence: null,
+ },
+ {
+ text: ' my',
+ startMs: 30080.0,
+ endMs: 30400.0,
+ timestampMs: 30240.0,
+ confidence: null,
+ },
+ {
+ text: ' needs,',
+ startMs: 30400.0,
+ endMs: 30860.0,
+ timestampMs: 30630.0,
+ confidence: null,
+ },
+ {
+ text: ' exporting',
+ startMs: 31120.0,
+ endMs: 31240.0,
+ timestampMs: 31180.0,
+ confidence: null,
+ },
+ {
+ text: ' foreground',
+ startMs: 31640.0,
+ endMs: 32000,
+ timestampMs: 31820.0,
+ confidence: null,
+ },
+ {
+ text: ' and',
+ startMs: 32000,
+ endMs: 32280.0,
+ timestampMs: 32140.0,
+ confidence: null,
+ },
+ {
+ text: ' background',
+ startMs: 32280.0,
+ endMs: 32840.0,
+ timestampMs: 32560.0,
+ confidence: null,
+ },
+ {
+ text: ' separately',
+ startMs: 32840.0,
+ endMs: 33160.0,
+ timestampMs: 33000.0,
+ confidence: null,
+ },
+ {
+ text: ' as',
+ startMs: 33160.0,
+ endMs: 33520.0,
+ timestampMs: 33340.0,
+ confidence: null,
+ },
+ {
+ text: ' transparent',
+ startMs: 33520.0,
+ endMs: 33880.0,
+ timestampMs: 33700.0,
+ confidence: null,
+ },
+ {
+ text: ' layers',
+ startMs: 33880.0,
+ endMs: 34260.0,
+ timestampMs: 34070.0,
+ confidence: null,
+ },
+ {
+ text: ' using',
+ startMs: 34260.0,
+ endMs: 34720.0,
+ timestampMs: 34490.0,
+ confidence: null,
+ },
+ {
+ text: ' Mediabunny.',
+ startMs: 34720.0,
+ endMs: 34920.0,
+ timestampMs: 34820.0,
+ confidence: null,
+ },
+ {
+ text: ' Now',
+ startMs: 35380.0,
+ endMs: 35540.0,
+ timestampMs: 35460.0,
+ confidence: null,
+ },
+ {
+ text: ' I',
+ startMs: 35540.0,
+ endMs: 35680.0,
+ timestampMs: 35610.0,
+ confidence: null,
+ },
+ {
+ text: ' can',
+ startMs: 35680.0,
+ endMs: 35920.0,
+ timestampMs: 35800.0,
+ confidence: null,
+ },
+ {
+ text: ' drag',
+ startMs: 35920.0,
+ endMs: 36260.0,
+ timestampMs: 36090.0,
+ confidence: null,
+ },
+ {
+ text: ' both',
+ startMs: 36260.0,
+ endMs: 36600.0,
+ timestampMs: 36430.0,
+ confidence: null,
+ },
+ {
+ text: ' videos',
+ startMs: 36600.0,
+ endMs: 36860.0,
+ timestampMs: 36730.0,
+ confidence: null,
+ },
+ {
+ text: ' into',
+ startMs: 36860.0,
+ endMs: 36980.0,
+ timestampMs: 36920.0,
+ confidence: null,
+ },
+ {
+ text: ' Remotion',
+ startMs: 36980.0,
+ endMs: 37460.0,
+ timestampMs: 37220.0,
+ confidence: null,
+ },
+ {
+ text: ' and',
+ startMs: 37460.0,
+ endMs: 37580.0,
+ timestampMs: 37520.0,
+ confidence: null,
+ },
+ {
+ text: ' put',
+ startMs: 37580.0,
+ endMs: 37780.0,
+ timestampMs: 37680.0,
+ confidence: null,
+ },
+ {
+ text: ' an',
+ startMs: 37780.0,
+ endMs: 38240.0,
+ timestampMs: 38010.0,
+ confidence: null,
+ },
+ {
+ text: ' HTML',
+ startMs: 38240.0,
+ endMs: 38720.0,
+ timestampMs: 38480.0,
+ confidence: null,
+ },
+ {
+ text: ' layer',
+ startMs: 38720.0,
+ endMs: 38940.0,
+ timestampMs: 38830.0,
+ confidence: null,
+ },
+ {
+ text: ' in',
+ startMs: 38940.0,
+ endMs: 39080.0,
+ timestampMs: 39010.0,
+ confidence: null,
+ },
+ {
+ text: ' between',
+ startMs: 39080.0,
+ endMs: 39320.0,
+ timestampMs: 39200.0,
+ confidence: null,
+ },
+ {
+ text: ' using',
+ startMs: 39400.0,
+ endMs: 39480.0,
+ timestampMs: 39440.0,
+ confidence: null,
+ },
+ {
+ text: ' another',
+ startMs: 39740.0,
+ endMs: 40140.0,
+ timestampMs: 39940.0,
+ confidence: null,
+ },
+ {
+ text: ' agent',
+ startMs: 40140.0,
+ endMs: 40700.0,
+ timestampMs: 40420.0,
+ confidence: null,
+ },
+ {
+ text: ' or',
+ startMs: 40700.0,
+ endMs: 40960.0,
+ timestampMs: 40830.0,
+ confidence: null,
+ },
+ {
+ text: ' do',
+ startMs: 40960.0,
+ endMs: 41040.0,
+ timestampMs: 41000.0,
+ confidence: null,
+ },
+ {
+ text: ' it',
+ startMs: 41040.0,
+ endMs: 41260.0,
+ timestampMs: 41150.0,
+ confidence: null,
+ },
+ {
+ text: ' old',
+ startMs: 41260.0,
+ endMs: 41260.0,
+ timestampMs: 41260.0,
+ confidence: null,
+ },
+ {
+ text: ' school',
+ startMs: 41260.0,
+ endMs: 41840.0,
+ timestampMs: 41550.0,
+ confidence: null,
+ },
+ {
+ text: ' by',
+ startMs: 41840.0,
+ endMs: 42000,
+ timestampMs: 41920.0,
+ confidence: null,
+ },
+ {
+ text: ' going',
+ startMs: 42000,
+ endMs: 42180.0,
+ timestampMs: 42090.0,
+ confidence: null,
+ },
+ {
+ text: ' into',
+ startMs: 42180.0,
+ endMs: 42300.0,
+ timestampMs: 42240.0,
+ confidence: null,
+ },
+ {
+ text: ' the',
+ startMs: 42300.0,
+ endMs: 42560.0,
+ timestampMs: 42430.0,
+ confidence: null,
+ },
+ {
+ text: ' code.',
+ startMs: 42560.0,
+ endMs: 43020.0,
+ timestampMs: 42790.0,
+ confidence: null,
+ },
+ {
+ text: ' The',
+ startMs: 43020.0,
+ endMs: 43260.0,
+ timestampMs: 43140.0,
+ confidence: null,
+ },
+ {
+ text: ' result,',
+ startMs: 43260.0,
+ endMs: 43440.0,
+ timestampMs: 43350.0,
+ confidence: null,
+ },
+ {
+ text: ' in',
+ startMs: 43440.0,
+ endMs: 43520.0,
+ timestampMs: 43480.0,
+ confidence: null,
+ },
+ {
+ text: ' my',
+ startMs: 43580.0,
+ endMs: 43680.0,
+ timestampMs: 43630.0,
+ confidence: null,
+ },
+ {
+ text: ' opinion,',
+ startMs: 43780.0,
+ endMs: 44080.0,
+ timestampMs: 43930.0,
+ confidence: null,
+ },
+ {
+ text: ' is',
+ startMs: 44080.0,
+ endMs: 44520.0,
+ timestampMs: 44300.0,
+ confidence: null,
+ },
+ {
+ text: ' super',
+ startMs: 44520.0,
+ endMs: 45040.0,
+ timestampMs: 44780.0,
+ confidence: null,
+ },
+ {
+ text: ' fresh.',
+ startMs: 45040.0,
+ endMs: 45464.688,
+ timestampMs: 45252.344,
+ confidence: null,
+ },
+];
diff --git a/packages/jonnys-videos/src/disco-light-show/voiceover.ts b/packages/jonnys-videos/src/disco-light-show/voiceover.ts
index 8a86a12b38..37f42da227 100644
--- a/packages/jonnys-videos/src/disco-light-show/voiceover.ts
+++ b/packages/jonnys-videos/src/disco-light-show/voiceover.ts
@@ -1,7 +1,9 @@
import {asset} from './assets';
-export const VOICEOVER_SRC = asset('elevenlabs-voiceover-df04958d3f93.mp3');
+export const VOICEOVER_SRC = asset(
+ 'elevenlabs-voiceover-no-question-f76407aa5762.mp3',
+);
export const VOICEOVER_CAPTIONS_SRC = asset(
- 'elevenlabs-captions-8594cbcd9a27.json',
+ 'elevenlabs-captions-no-question-744cbaa1314b.json',
);
diff --git a/packages/jonnys-videos/src/paper-disco/NeonRays.tsx b/packages/jonnys-videos/src/paper-disco/NeonRays.tsx
index 541e6cdc99..20b8384f01 100644
--- a/packages/jonnys-videos/src/paper-disco/NeonRays.tsx
+++ b/packages/jonnys-videos/src/paper-disco/NeonRays.tsx
@@ -255,8 +255,21 @@ const NeonRaysInner: React.FC<NeonRaysProps> = ({
);
}
+ // Cover the viewport in every rotation, including room for paper edges and shadows.
+ // Rasterizing at viewport size cuts the strips before the parent can rotate them.
+ const viewportRadius = Math.max(
+ Math.hypot(centerX, centerY),
+ Math.hypot(width - centerX, centerY),
+ Math.hypot(centerX, height - centerY),
+ Math.hypot(width - centerX, height - centerY),
+ );
+ const renderRadius = Math.ceil(Math.min(length, viewportRadius)) + 64;
+ const renderSize = renderRadius * 2;
+ const renderLeft = centerX - renderRadius;
+ const renderTop = centerY - renderRadius;
+
// Tissue paper: each wedge is a torn sheet; overlaps darken like real tissue
- const svg = `<svg xmlns="http://www.w3.org/2000/svg" width="${width}" height="${height}" viewBox="0 0 ${width} ${height}">${wedges
+ const svg = `<svg xmlns="http://www.w3.org/2000/svg" width="${renderSize}" height="${renderSize}" viewBox="${renderLeft} ${renderTop} ${renderSize} ${renderSize}">${wedges
.map(
(w) =>
`<polygon points="${w.points}" fill="${w.color}" opacity="${w.opacity}"/>`,
@@ -265,14 +278,19 @@ const NeonRaysInner: React.FC<NeonRaysProps> = ({
const src = `data:image/svg+xml;charset=utf-8,${encodeURIComponent(svg)}`;
return (
- <div style={{width, height, ...style}}>
+ <div style={{width, height, overflow: 'visible', ...style}}>
<CanvasImage
name="Tissue paper rays"
src={src}
- width={width}
- height={height}
+ width={renderSize}
+ height={renderSize}
fit="fill"
- style={{opacity: rayOpacity}}
+ style={{
+ position: 'absolute',
+ left: renderLeft,
+ top: renderTop,
+ opacity: rayOpacity,
+ }}
effects={[
paper({
amount: 0.35,
diff --git a/packages/jonnys-videos/src/paper-disco/PaperDiscoSting.tsx b/packages/jonnys-videos/src/paper-disco/PaperDiscoSting.tsx
index dbcaff77b6..6d63f7c193 100644
--- a/packages/jonnys-videos/src/paper-disco/PaperDiscoSting.tsx
+++ b/packages/jonnys-videos/src/paper-disco/PaperDiscoSting.tsx
@@ -11,17 +11,18 @@ import {PaperDiscoBall} from './PaperDiscoBall';
// A ~1.2s version of PaperDiscoShow for the "How did I do this?" beat:
// the ball pops in and the tissue rays shoot out, hold, then the rays spin
-// and retract while the ball scales back to 0. Transparent background so it
+// and retract while the ball lifts out of the frame. Transparent background so it
// sits on the Master's paper background.
const PaperDiscoStingInner: React.FC = () => {
const frame = useCurrentFrame();
return (
- <AbsoluteFill>
+ <AbsoluteFill style={{overflow: 'visible'}}>
<Interactive.Div
name="Rays"
style={{
position: 'absolute',
inset: 0,
+ overflow: 'visible',
transformOrigin: '540px 960px',
rotate: interpolate(frame, [22, 37], ['0deg', '150deg'], {
extrapolateLeft: 'clamp',
@@ -39,7 +40,7 @@ const PaperDiscoStingInner: React.FC = () => {
length={1500}
posterize={2}
degreesPerSecond={20}
- progress={interpolate(frame, [2, 13, 22, 34], [0, 1, 1, 0], {
+ progress={interpolate(frame, [2, 13, 22, 32], [0, 1, 1, 0], {
extrapolateLeft: 'clamp',
extrapolateRight: 'clamp',
posterize: 2,
@@ -49,7 +50,7 @@ const PaperDiscoStingInner: React.FC = () => {
Easing.in(Easing.cubic),
],
})}
- style={{position: 'absolute'}}
+ style={{position: 'absolute', overflow: 'visible'}}
/>
</Interactive.Div>
<Interactive.Div
@@ -60,17 +61,21 @@ const PaperDiscoStingInner: React.FC = () => {
top: 510,
width: 900,
height: 900,
- scale: interpolate(frame, [0, 8, 26, 36], [0, 1, 1, 0], {
+ overflow: 'visible',
+ transformOrigin: '50% 50%',
+ scale: interpolate(frame, [0, 8], [0, 1], {
extrapolateLeft: 'clamp',
extrapolateRight: 'clamp',
posterize: 2,
- easing: [
- Easing.out(Easing.back(1.6)),
- Easing.linear,
- Easing.in(Easing.back(1.4)),
- ],
+ easing: Easing.out(Easing.back(1.6)),
output: 'perceptual-scale',
}),
+ translate: interpolate(frame, [24, 34], ['0px 0px', '0px -1600px'], {
+ extrapolateLeft: 'clamp',
+ extrapolateRight: 'clamp',
+ posterize: 2,
+ easing: Easing.inOut(Easing.cubic),
+ }),
}}
>
<PaperDiscoBall