🎥 Make videos programmatically with React
`@remotion/jonnys-videos`: Add disco light show compositions
JonnyBurger1aa99192965e
diff --git a/bun.lock b/bun.lockindex 4ef1cc64f7..5eed491f6f 100644--- a/bun.lock+++ b/bun.lock@@ -972,6 +972,30 @@"sharp": "catalog:",},},+ "packages/jonnys-videos": {+ "name": "@remotion/jonnys-videos",+ "version": "4.0.515",+ "dependencies": {+ "@mediabunny/prores": "catalog:",+ "@remotion/captions": "workspace:*",+ "@remotion/cli": "workspace:*",+ "@remotion/effects": "workspace:*",+ "@remotion/media": "workspace:*",+ "@remotion/noise": "workspace:*",+ "@remotion/shapes": "workspace:*",+ "@remotion/starburst": "workspace:*",+ "react": "catalog:",+ "react-dom": "catalog:",+ "remotion": "workspace:*",+ },+ "devDependencies": {+ "@remotion/eslint-config-flat": "workspace:*",+ "@types/react": "catalog:",+ "@types/web": "catalog:",+ "@typescript/native-preview": "catalog:",+ "eslint": "catalog:",+ },+ },"packages/kimi-code-plugin": {"name": "@remotion/kimi-code-plugin","version": "4.0.515",@@ -4361,6 +4385,8 @@"@remotion/it-tests": ["@remotion/it-tests@workspace:packages/it-tests"],+ "@remotion/jonnys-videos": ["@remotion/jonnys-videos@workspace:packages/jonnys-videos"],+"@remotion/kimi-code-plugin": ["@remotion/kimi-code-plugin@workspace:packages/kimi-code-plugin"],"@remotion/lambda": ["@remotion/lambda@workspace:packages/lambda"],@@ -10435,6 +10461,10 @@"@remotion/gif/react-dom": ["[email protected]", "", { "dependencies": { "scheduler": "^0.27.0" }, "peerDependencies": { "react": "^19.2.3" } }, "sha512-yELu4WmLPw5Mr/lmeEpox5rw3RETacE++JgHqQzd2dg+YbJuat3jH4ingc+WPZhxaoFzdv9y33G+F7Nl5O0GBg=="],+ "@remotion/jonnys-videos/react": ["[email protected]", "", {}, "sha512-Ku/hhYbVjOQnXDZFv2+RibmLFGwFdeeKHFcOTlrt7xplBnya5OGn/hIRDsqDiSUcfORsDC7MPxwork8jBwsIWA=="],++ "@remotion/jonnys-videos/react-dom": ["[email protected]", "", { "dependencies": { "scheduler": "^0.27.0" }, "peerDependencies": { "react": "^19.2.3" } }, "sha512-yELu4WmLPw5Mr/lmeEpox5rw3RETacE++JgHqQzd2dg+YbJuat3jH4ingc+WPZhxaoFzdv9y33G+F7Nl5O0GBg=="],+"@remotion/lambda/@types/express": ["@types/[email protected]", "", { "dependencies": { "@types/body-parser": "1.19.1", "@types/express-serve-static-core": "5.0.4", "@types/serve-static": "1.13.10" } }, "sha512-UZUw8vjpWFXuDnjFTh7/5c2TWDlQqeXHi6hcN7F2XSVT5P+WmUnnbFS3KA6Jnc6IsEqI2qCVu2bK0R0J4A8ZQQ=="],"@remotion/lambda-client/@types/express": ["@types/[email protected]", "", { "dependencies": { "@types/body-parser": "1.19.1", "@types/express-serve-static-core": "5.0.4", "@types/serve-static": "1.13.10" } }, "sha512-UZUw8vjpWFXuDnjFTh7/5c2TWDlQqeXHi6hcN7F2XSVT5P+WmUnnbFS3KA6Jnc6IsEqI2qCVu2bK0R0J4A8ZQQ=="],diff --git a/packages/jonnys-videos/HTML_IN_CANVAS_VIDEO_REPRO.md b/packages/jonnys-videos/HTML_IN_CANVAS_VIDEO_REPRO.mdnew file mode 100644index 0000000000..20d6c4846b--- /dev/null+++ b/packages/jonnys-videos/HTML_IN_CANVAS_VIDEO_REPRO.md@@ -0,0 +1,24 @@+# `HtmlInCanvas` render stall repro++The `HtmlInCanvasVideoRepro` composition is a five-second, self-contained+reproduction using `https://remotion.media/video.mp4`.++Run:++```sh+./node_modules/.bin/remotionb render src/HtmlInCanvasVideoReproRoot.tsx HtmlInCanvasVideoRepro /tmp/html-in-canvas-video-repro.mp4 --concurrency=1 --allow-html-in-canvas+```++Expected result on Remotion 4.0.499:++- Rendering advances normally through frame 89.+- Rendering remains stuck at frame 90.+- After 28 seconds it fails with:++```text+A delayRender() "waiting for first paint after canvas resize" was called but not cleared after 28000ms.+```++Frame 90 mounts a small effect-backed shape and image over the video while the+whole subtree is inside `HtmlInCanvas`. The repro intentionally does not attempt+to identify the underlying cause or provide a workaround.diff --git a/packages/jonnys-videos/README.md b/packages/jonnys-videos/README.mdnew file mode 100644index 0000000000..54a16fe45a--- /dev/null+++ b/packages/jonnys-videos/README.md@@ -0,0 +1,11 @@+# Jonny’s videos++Private Remotion compositions imported from [JonnyBurger/disco-light-show](https://github.com/JonnyBurger/disco-light-show) at commit `aed4ad8`.++All 51 source assets are hosted under `https://remotion.media/disco-light-show/` and resolved through `src/assets.ts`; no media binaries are committed in this package.++From this directory:++- `bun run dev` opens Remotion Studio.+- `bun run bundle` creates a bundle.+- `bun run render <composition-id>` renders a composition.diff --git a/packages/jonnys-videos/eslint.config.mjs b/packages/jonnys-videos/eslint.config.mjsnew file mode 100644index 0000000000..a072ff0663--- /dev/null+++ b/packages/jonnys-videos/eslint.config.mjs@@ -0,0 +1,3 @@+import {config} from '@remotion/eslint-config-flat';++export default config;diff --git a/packages/jonnys-videos/package.json b/packages/jonnys-videos/package.jsonnew file mode 100644index 0000000000..8560f2a931--- /dev/null+++ b/packages/jonnys-videos/package.json@@ -0,0 +1,38 @@+{+ "repository": {+ "url": "https://github.com/remotion-dev/remotion/tree/main/packages/jonnys-videos"+ },+ "name": "@remotion/jonnys-videos",+ "version": "4.0.515",+ "private": true,+ "type": "module",+ "scripts": {+ "dev": "remotion studio",+ "bundle": "remotion bundle",+ "render": "remotion render",+ "lint": "eslint src && tsgo --noEmit",+ "formatting": "oxfmt src remotion.config.ts --check",+ "format": "oxfmt src remotion.config.ts"+ },+ "dependencies": {+ "@mediabunny/prores": "catalog:",+ "@remotion/captions": "workspace:*",+ "@remotion/cli": "workspace:*",+ "@remotion/effects": "workspace:*",+ "@remotion/media": "workspace:*",+ "@remotion/noise": "workspace:*",+ "@remotion/shapes": "workspace:*",+ "@remotion/starburst": "workspace:*",+ "react": "catalog:",+ "react-dom": "catalog:",+ "remotion": "workspace:*"+ },+ "devDependencies": {+ "@remotion/eslint-config-flat": "workspace:*",+ "@typescript/native-preview": "catalog:",+ "@types/react": "catalog:",+ "@types/web": "catalog:",+ "eslint": "catalog:"+ },+ "license": "UNLICENSED"+}diff --git a/packages/jonnys-videos/remotion.config.ts b/packages/jonnys-videos/remotion.config.tsnew file mode 100644index 0000000000..f00e852a87--- /dev/null+++ b/packages/jonnys-videos/remotion.config.ts@@ -0,0 +1,12 @@+/**+ * Note: When using the Node.JS APIs, the config file+ * doesn't apply. Instead, pass options directly to the APIs.+ *+ * All configuration options: https://remotion.dev/docs/config+ */++import {Config} from '@remotion/cli/config';++Config.setVideoImageFormat('jpeg');+Config.setOverwriteOutput(true);+Config.setChromiumOpenGlRenderer('angle');diff --git a/packages/jonnys-videos/src/AnimatedCaptions.tsx b/packages/jonnys-videos/src/AnimatedCaptions.tsxnew file mode 100644index 0000000000..2332502945--- /dev/null+++ b/packages/jonnys-videos/src/AnimatedCaptions.tsx@@ -0,0 +1,154 @@+import type {Caption, TikTokPage} from '@remotion/captions';+import {Audio} from '@remotion/media';+import React, {useCallback, useEffect, useMemo, useState} from 'react';+import {+ AbsoluteFill,+ Sequence,+ useCurrentFrame,+ useDelayRender,+ useVideoConfig,+} from 'remotion';+import {asset} from './assets';+import {createSentenceAwareCaptionPages} from './paginate-captions';++export const VOICEOVER_FILE = 'text-behind-video-2.wav';+export const CAPTIONS_FILE = 'voiceover-captions.json';+export const CAPTIONS_DURATION_IN_FRAMES = 1816;+export const CAPTIONS_HEIGHT = 360;++type AnimatedCaptionsProps = {+ captionsFile?: string;+ voiceoverFile?: string | null;+};++const SWITCH_CAPTIONS_EVERY_MS = 1100;+const HIGHLIGHT_COLOR = '#ff3b1f';++const CaptionPage: React.FC<{page: TikTokPage}> = ({page}) => {+ const frame = useCurrentFrame();+ const {fps} = useVideoConfig();+ const absoluteTimeMs = page.startMs + (frame / fps) * 1000;++ return (+ <AbsoluteFill+ style={{+ alignItems: 'center',+ justifyContent: 'center',+ padding: '42px 64px 48px',+ pointerEvents: 'none',+ }}+ >+ <div+ style={{+ textAlign: 'center',+ fontFamily: 'Arial Black, Arial, sans-serif',+ fontSize: 76,+ fontWeight: 900,+ letterSpacing: -3.5,+ lineHeight: 1.05,+ textWrap: 'balance',+ whiteSpace: 'pre-wrap',+ filter:+ 'drop-shadow(0 8px 0 rgba(0, 0, 0, 0.82)) drop-shadow(0 16px 24px rgba(0, 0, 0, 0.55))',+ }}+ >+ {page.tokens.map((token, tokenIndex) => {+ const isActive =+ token.fromMs <= absoluteTimeMs && token.toMs > absoluteTimeMs;+ return (+ <span+ key={`${token.fromMs}-${tokenIndex}`}+ style={{+ color: isActive ? HIGHLIGHT_COLOR : '#ffffff',+ display: 'inline-block',+ marginLeft: tokenIndex === 0 ? 0 : 26,+ WebkitTextStroke: isActive+ ? '3px rgba(38, 4, 0, 0.95)'+ : '2px rgba(0, 0, 0, 0.85)',+ }}+ >+ {token.text.trimStart()}+ </span>+ );+ })}+ </div>+ </AbsoluteFill>+ );+};++export const AnimatedCaptions: React.FC<AnimatedCaptionsProps> = ({+ captionsFile = CAPTIONS_FILE,+ voiceoverFile = VOICEOVER_FILE,+}) => {+ const [captions, setCaptions] = useState<Caption[] | null>(null);+ const {delayRender, continueRender, cancelRender} = useDelayRender();+ const [handle] = useState(() => delayRender('Loading ElevenLabs captions'));+ const {fps} = useVideoConfig();++ const loadCaptions = useCallback(async () => {+ try {+ const response = await fetch(asset(captionsFile));+ if (!response.ok) {+ throw new Error(`Could not load captions (${response.status})`);+ }++ setCaptions((await response.json()) as Caption[]);+ continueRender(handle);+ } catch (error) {+ cancelRender(error);+ }+ }, [cancelRender, captionsFile, continueRender, handle]);++ useEffect(() => {+ loadCaptions();+ }, [loadCaptions]);++ const pages = useMemo(() => {+ if (!captions) {+ return [];+ }++ return createSentenceAwareCaptionPages({+ captions,+ combineTokensWithinMilliseconds: SWITCH_CAPTIONS_EVERY_MS,+ });+ }, [captions]);++ if (!captions) {+ return null;+ }++ return (+ <AbsoluteFill>+ {voiceoverFile ? (+ <Audio src={asset(voiceoverFile)} hidden showInTimeline={false} />+ ) : null}+ {pages.map((page, index) => {+ const nextPage = pages[index + 1];+ const startFrame = Math.round((page.startMs / 1000) * fps);+ const naturalEndFrame = Math.ceil(+ ((page.startMs + page.durationMs) / 1000) * fps,+ );+ const endFrame = nextPage+ ? Math.min(+ Math.round((nextPage.startMs / 1000) * fps),+ naturalEndFrame,+ )+ : naturalEndFrame;+ const durationInFrames = Math.max(1, endFrame - startFrame);++ return (+ <Sequence+ key={`${page.startMs}-${index}`}+ from={startFrame}+ durationInFrames={durationInFrames}+ premountFor={fps}+ showInTimeline={false}+ >+ <CaptionPage page={page} />+ </Sequence>+ );+ })}+ </AbsoluteFill>+ );+};diff --git a/packages/jonnys-videos/src/AnimatedCaptionsBigWords.tsx b/packages/jonnys-videos/src/AnimatedCaptionsBigWords.tsxnew file mode 100644index 0000000000..dae7ec76f6--- /dev/null+++ b/packages/jonnys-videos/src/AnimatedCaptionsBigWords.tsx@@ -0,0 +1,186 @@+import type {Caption, TikTokPage} from '@remotion/captions';+import {Audio} from '@remotion/media';+import React, {useCallback, useEffect, useMemo, useState} from 'react';+import {+ AbsoluteFill,+ Easing,+ Interactive,+ interpolate,+ Sequence,+ useCurrentFrame,+ useDelayRender,+ useVideoConfig,+} from 'remotion';+import {asset} from './assets';+import {createSentenceAwareCaptionPages} from './paginate-captions';++export const BIG_WORD_CAPTIONS_DURATION_IN_FRAMES = 1816;++const VOICEOVER_FILE = 'text-behind-video-2.wav';+const CAPTIONS_FILE = 'voiceover-captions.json';+const FONT_FAMILY = 'Arial Black, Arial, sans-serif';+const SWITCH_CAPTIONS_EVERY_MS = 1100;+const HIGHLIGHT_COLOR = '#ff3b1f';++const BigWordPage: React.FC<{page: TikTokPage}> = ({page}) => {+ const frame = useCurrentFrame();+ const {fps} = useVideoConfig();+ const absoluteTimeMs = page.startMs + (frame / fps) * 1000;+ const longestWordLength = Math.max(+ ...page.tokens.map((token) => token.text.trim().length),+ 1,+ );+ const fontSize = Math.min(230, 920 / Math.max(longestWordLength * 0.72, 1));++ return (+ <AbsoluteFill+ style={{+ alignItems: 'center',+ justifyContent: 'center',+ overflow: 'hidden',+ padding: 64,+ pointerEvents: 'none',+ }}+ >+ <Interactive.Div+ name={`Caption page: ${page.text.trim()}`}+ style={{+ alignItems: 'center',+ display: 'flex',+ flexDirection: 'column',+ fontFamily: FONT_FAMILY,+ fontWeight: 900,+ justifyContent: 'center',+ width: '100%',+ textTransform: 'uppercase',+ }}+ >+ {page.tokens.map((token, tokenIndex) => {+ const word = token.text.trim();+ const isActive =+ token.fromMs <= absoluteTimeMs && token.toMs > absoluteTimeMs;+ const wordStartFrame = Math.round(+ ((token.fromMs - page.startMs) / 1000) * fps,+ );++ return (+ <div+ key={`${token.fromMs}-${tokenIndex}`}+ style={{+ color: isActive ? HIGHLIGHT_COLOR : '#ffffff',+ filter:+ 'drop-shadow(0 14px 0 rgba(0, 0, 0, 0.96)) drop-shadow(0 30px 34px rgba(0, 0, 0, 0.5))',+ fontSize,+ letterSpacing: -0.055 * fontSize,+ lineHeight: 0.86,+ maxWidth: 952,+ opacity: interpolate(+ frame,+ [wordStartFrame, wordStartFrame + 1],+ [0, 1],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ ),+ scale: interpolate(+ frame,+ [wordStartFrame, wordStartFrame + 10],+ [0.2, 1],+ {+ easing: Easing.spring({+ damping: 11,+ mass: 0.65,+ stiffness: 210,+ }),+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ ),+ textAlign: 'center',+ transformOrigin: 'center center',+ WebkitTextStroke: `${Math.max(3, fontSize * 0.018)}px black`,+ whiteSpace: 'nowrap',+ }}+ >+ {word}+ </div>+ );+ })}+ </Interactive.Div>+ </AbsoluteFill>+ );+};++export const AnimatedCaptionsBigWords: React.FC = () => {+ const [captions, setCaptions] = useState<Caption[] | null>(null);+ const {delayRender, continueRender, cancelRender} = useDelayRender();+ const [handle] = useState(() => delayRender('Loading big word captions'));+ const {fps} = useVideoConfig();++ const loadCaptions = useCallback(async () => {+ try {+ const response = await fetch(asset(CAPTIONS_FILE));+ if (!response.ok) {+ throw new Error(`Could not load captions (${response.status})`);+ }++ setCaptions((await response.json()) as Caption[]);+ continueRender(handle);+ } catch (error) {+ cancelRender(error);+ }+ }, [cancelRender, continueRender, handle]);++ useEffect(() => {+ loadCaptions();+ }, [loadCaptions]);++ const pages = useMemo(() => {+ if (!captions) {+ return [];+ }++ return createSentenceAwareCaptionPages({+ captions,+ combineTokensWithinMilliseconds: SWITCH_CAPTIONS_EVERY_MS,+ });+ }, [captions]);++ if (!captions) {+ return null;+ }++ return (+ <AbsoluteFill>+ <Audio src={asset(VOICEOVER_FILE)} hidden showInTimeline={false} />+ {pages.map((page, index) => {+ const nextPage = pages[index + 1];+ const startFrame = Math.round((page.startMs / 1000) * fps);+ const naturalEndFrame = Math.ceil(+ ((page.startMs + page.durationMs) / 1000) * fps,+ );+ const endFrame = nextPage+ ? Math.min(+ Math.round((nextPage.startMs / 1000) * fps),+ naturalEndFrame,+ )+ : naturalEndFrame;+ const durationInFrames = Math.max(1, endFrame - startFrame);++ return (+ <Sequence+ key={`${page.startMs}-${index}`}+ name={`Caption page: ${page.text.trim()}`}+ from={startFrame}+ durationInFrames={durationInFrames}+ premountFor={fps}+ showInTimeline={false}+ >+ <BigWordPage page={page} />+ </Sequence>+ );+ })}+ </AbsoluteFill>+ );+};diff --git a/packages/jonnys-videos/src/ArrowLogo.tsx b/packages/jonnys-videos/src/ArrowLogo.tsxnew file mode 100644index 0000000000..e5d8f8c363--- /dev/null+++ b/packages/jonnys-videos/src/ArrowLogo.tsx@@ -0,0 +1,59 @@+import {dropShadow} from '@remotion/effects/drop-shadow';+import {scale} from '@remotion/effects/scale';+import {Arrow} from '@remotion/shapes';+import React from 'react';+import {Img, interpolate, useCurrentFrame} from 'remotion';+import {asset} from './assets';++export const ArrowLogo: React.FC = () => {+ const frame = useCurrentFrame();+ return (+ <>+ <Arrow+ length={300}+ headWidth={185}+ headLength={120}+ shaftWidth={80}+ direction="right"+ cornerRadius={0}+ fill={'#ffffff'}+ style={{+ position: 'absolute',+ translate: '810px 661.1px',+ rotate: '487.6deg',+ scale: 1.337,+ }}+ effects={[+ scale({+ scale: 0.8,+ }),+ dropShadow({+ offsetX: 0,+ offsetY: 0,+ radius: 100,+ }),+ ]}+ />+ <Img+ src={asset('claude-logo-png_seeklogo-554534 (1).png')}+ style={{+ position: 'absolute',+ translate: '989.9px 315.5px',+ width: 320,+ height: 320,+ scale: 0.998,+ rotate: interpolate(frame, [0, 239], ['0deg', '260deg'], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ posterize: 8,+ }),+ }}+ effects={[+ dropShadow({+ radius: 82,+ }),+ ]}+ />+ </>+ );+};diff --git a/packages/jonnys-videos/src/ArrowLogoRemotion.tsx b/packages/jonnys-videos/src/ArrowLogoRemotion.tsxnew file mode 100644index 0000000000..f95e0942fb--- /dev/null+++ b/packages/jonnys-videos/src/ArrowLogoRemotion.tsx@@ -0,0 +1,59 @@+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 {Img, useCurrentFrame} from 'remotion';+import {asset} from './assets';++export const ArrowLogoRemotion: React.FC = () => {+ const frame = useCurrentFrame();+ return (+ <>+ <Arrow+ length={300}+ headWidth={185}+ headLength={120}+ shaftWidth={80}+ direction="right"+ cornerRadius={0}+ fill={'#ffffff'}+ style={{+ position: 'absolute',+ translate: '903.4px 247.4px',+ rotate: '605.3deg',+ scale: 1.337,+ }}+ effects={[+ scale({+ scale: 0.7,+ }),+ dropShadow({+ offsetX: 0,+ offsetY: 0,+ radius: 100,+ }),+ ]}+ />+ <Img+ src={asset('remotion-logo.svg')}+ style={{+ position: 'absolute',+ translate: `${1125 + noise2D('remotion-logo-x', frame * 0.04, 0) * 20}px ${456.5 + noise2D('remotion-logo-y', frame * 0.04, 0) * 20}px`,+ width: 320,+ height: 320,+ scale: 0.998,+ rotate: `${noise2D('remotion-logo-rotation', frame * 0.04, 0) * 9}deg`,+ }}+ effects={[+ scale({+ scale: 0.7,+ }),+ dropShadow({+ radius: 82,+ }),+ ]}+ />+ </>+ );+};diff --git a/packages/jonnys-videos/src/BirthdayPartyCompilation.tsx b/packages/jonnys-videos/src/BirthdayPartyCompilation.tsxnew file mode 100644index 0000000000..105333c071--- /dev/null+++ b/packages/jonnys-videos/src/BirthdayPartyCompilation.tsx@@ -0,0 +1,93 @@+import {Video} from '@remotion/media';+import React from 'react';+import {Sequence, Solid, interpolate, useCurrentFrame, Easing} from 'remotion';+import {asset} from './assets';+import {Clip1} from './Clip1';+import {Clip3} from './Clip3';+import {Clip4} from './Clip4';++export const BIRTHDAY_PARTY_COMPILATION_DURATION_IN_FRAMES = 346;++export const BirthdayPartyCompilation: React.FC = () => {+ const frame = useCurrentFrame();+ return (+ <>+ <Sequence+ name="Clip1"+ width={1080}+ height={1920}+ durationInFrames={45}+ style={{+ position: 'absolute',+ }}+ from={93}+ premountFor={30}+ >+ <Clip1 />+ </Sequence>+ <Sequence+ name="Clip3"+ width={1080}+ height={1920}+ durationInFrames={57}+ style={{+ position: 'absolute',+ }}+ from={37}+ premountFor={30}+ >+ <Clip3 />+ </Sequence>+ <Sequence+ name="Clip4"+ width={1080}+ height={1920}+ durationInFrames={21}+ style={{+ position: 'absolute',+ }}+ from={134}+ premountFor={30}+ >+ <Clip4 />+ </Sequence>+ <Video+ src={asset('Setup.mp4')}+ style={{+ position: 'absolute',+ width: 1080,+ height: 1920,+ }}+ from={4}+ durationInFrames={33}+ trimBefore={11}+ premountFor={30}+ muted+ />+ <Solid+ width={1080}+ height={1920}+ color={'#ffffff'}+ style={{+ position: 'absolute',+ opacity: interpolate(+ frame,+ [0, 4, 8, 148, 155, 162],+ [0, 1, 0, 0, 1, 0],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: [+ Easing.linear,+ Easing.bezier(0, 0, 0.58, 1),+ Easing.linear,+ Easing.linear,+ Easing.linear,+ ],+ },+ ),+ }}+ />+ </>+ );+};diff --git a/packages/jonnys-videos/src/ClientSideChad.tsx b/packages/jonnys-videos/src/ClientSideChad.tsxnew file mode 100644index 0000000000..426f3e60a5--- /dev/null+++ b/packages/jonnys-videos/src/ClientSideChad.tsx@@ -0,0 +1,268 @@+import {colorKey} from '@remotion/effects/color-key';+import {dropShadow} from '@remotion/effects/drop-shadow';+import {grayscale} from '@remotion/effects/grayscale';+import {scale} from '@remotion/effects/scale';+import {vignette} from '@remotion/effects/vignette';+import React from 'react';+import {+ Img,+ Interactive,+ interpolate,+ useCurrentFrame,+ Easing,+ CanvasImage,+} from 'remotion';+import {asset} from './assets';++export const ClientSideChad: React.FC = () => {+ const frame = useCurrentFrame();+ const title = 'BEN2-ONNX';+ return (+ <>+ <Img+ src={asset('Screenshot 2026-07-19 at 18.11.15.png')}+ style={{+ position: 'absolute',+ translate: interpolate(+ frame,+ [0, 134],+ ['1.9px 207.7px', '1.9px 319.2px'],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ ),+ width: 1198,+ height: 1120,+ scale: interpolate(frame, [0, 134], [1.371, 1.57], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ output: 'perceptual-scale',+ }),+ opacity: 0.6,+ }}+ effects={[+ vignette({+ mode: 'alpha',+ center: [0.457, 0.281],+ amount: 1,+ feather: 1,+ radius: 0.28,+ roundness: 0,+ }),+ grayscale({}),+ ]}+ />+ <Img+ src={asset('images.png')}+ style={{+ position: 'absolute',+ translate: interpolate(+ frame,+ [37, 47],+ ['164.2px -306px', '147.6px 390.8px'],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: [+ Easing.spring({+ damping: 200,+ mass: 0.1,+ stiffness: 7,+ allowTail: true,+ durationRestThreshold: 0.02,+ overshootClamping: false,+ }),+ ],+ },+ ),+ width: 300,+ height: 300,+ scale: 1.04,+ }}+ effects={[+ colorKey({+ similarity: 0.45,+ keyColor: '#ffffff',+ }),+ dropShadow({+ radius: 100,+ offsetX: 0,+ offsetY: 0,+ opacity: 1,+ color: '#ffffff',+ }),+ dropShadow({+ radius: 100,+ offsetX: 0,+ offsetY: 0,+ opacity: 1,+ color: '#ffffff',+ }),+ ]}+ from={22}+ />+ <Img+ src={asset('WebGPU_logo.svg.webp')}+ style={{+ position: 'absolute',+ translate: interpolate(+ frame,+ [29, 39],+ ['-100px -886.4px', '-100px 222.8px'],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: [+ Easing.spring({+ damping: 200,+ mass: 0.1,+ stiffness: 7,+ allowTail: true,+ durationRestThreshold: 0.02,+ overshootClamping: false,+ }),+ ],+ },+ ),+ width: 1280,+ height: 1280,+ scale: 0.385,+ }}+ effects={[+ scale({+ scale: 0.9,+ }),+ dropShadow({+ color: '#ffffff',+ offsetX: 0,+ offsetY: 0,+ radius: 100,+ opacity: 1,+ }),+ dropShadow({+ color: '#ffffff',+ offsetX: 0,+ offsetY: 0,+ radius: 100,+ opacity: 1,+ }),+ ]}+ from={22}+ />+ <Interactive.Div+ name="BEN2-ONNX typewriter"+ style={{+ color: '#ffffff',+ fontFamily: 'Arial Black, Arial, sans-serif',+ fontSize: 150,+ fontWeight: 900,+ left: 0,+ letterSpacing: -8,+ position: 'absolute',+ textShadow: '0 0 36px rgba(255, 255, 255, 0.75)',+ top: 900,+ WebkitTextStroke: '3px #000000',+ width: '100%',+ translate: interpolate(+ frame,+ [22, 30],+ ['0px -1114.7px', '0px 126px'],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: [+ Easing.spring({+ damping: 200,+ mass: 0.1,+ stiffness: 7,+ allowTail: true,+ durationRestThreshold: 0.02,+ overshootClamping: false,+ }),+ ],+ },+ ),+ scale: 1.03,+ textAlign: 'center',+ }}+ from={22}+ >+ {title}+ </Interactive.Div>+ <CanvasImage+ src={asset('mediabunny-logo (1).svg')}+ style={{+ position: 'absolute',+ translate: interpolate(+ frame,+ [43, 53],+ ['663.5px -177.3px', '663.5px 470.2px'],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: [+ Easing.spring({+ damping: 200,+ mass: 0.1,+ stiffness: 7,+ allowTail: true,+ durationRestThreshold: 0.02,+ overshootClamping: false,+ }),+ ],+ },+ ),+ width: 151,+ height: 150,+ scale: 1.364,+ }}+ from={22}+ />+ <CanvasImage+ src={asset('image.png')}+ style={{+ position: 'absolute',+ translate: interpolate(+ frame,+ [48, 58],+ ['-3460.5px -2414.8px', '-3460.5px -1888.6px'],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ ),+ width: 8001,+ height: 4501,+ scale: 0.073,+ }}+ from={22}+ effects={[+ dropShadow({+ color: '#ffffff',+ radius: 100,+ }),+ ]}+ />+ <CanvasImage+ src={asset('image-1.png')}+ style={{+ position: 'absolute',+ translate: interpolate(+ frame,+ [55, 66],+ ['60px -627.4px', '60px -413.7px'],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ ),+ width: 960,+ height: 960,+ scale: 0.307,+ }}+ from={22}+ />+ </>+ );+};diff --git a/packages/jonnys-videos/src/Clip1.tsx b/packages/jonnys-videos/src/Clip1.tsxnew file mode 100644index 0000000000..e89ead5525--- /dev/null+++ b/packages/jonnys-videos/src/Clip1.tsx@@ -0,0 +1,24 @@+import {Video} from '@remotion/media';+import React from 'react';+import {} from 'remotion';+import {asset} from './assets';++export const Clip1: React.FC = () => {+ return (+ <>+ <Video+ src={asset('clip1-source.mp4')}+ style={{+ position: 'absolute',+ width: 1920,+ height: 1080,+ scale: 1.837,+ translate: '301px 420px',+ }}+ durationInFrames={58}+ from={-1}+ muted+ />+ </>+ );+};diff --git a/packages/jonnys-videos/src/Clip2.tsx b/packages/jonnys-videos/src/Clip2.tsxnew file mode 100644index 0000000000..1138ff69a8--- /dev/null+++ b/packages/jonnys-videos/src/Clip2.tsx@@ -0,0 +1,22 @@+import {Video} from '@remotion/media';+import React from 'react';+import {} from 'remotion';+import {asset} from './assets';++export const Clip2: React.FC = () => {+ return (+ <>+ <Video+ src={asset('clip2-source.mp4')}+ style={{+ position: 'absolute',+ width: 1920,+ height: 1080,+ scale: 1.998,+ translate: '-420px 419.9px',+ }}+ durationInFrames={46}+ />+ </>+ );+};diff --git a/packages/jonnys-videos/src/Clip3.tsx b/packages/jonnys-videos/src/Clip3.tsxnew file mode 100644index 0000000000..74abc2beca--- /dev/null+++ b/packages/jonnys-videos/src/Clip3.tsx@@ -0,0 +1,37 @@+import {linearProgressiveBlur} from '@remotion/effects/linear-progressive-blur';+import {Video} from '@remotion/media';+import React from 'react';+import {interpolate, useCurrentFrame} from 'remotion';+import {asset} from './assets';++export const Clip3: React.FC = () => {+ const frame = useCurrentFrame();+ return (+ <>+ <Video+ src={asset('clip3-source.mp4')}+ style={{+ position: 'absolute',+ translate: '-860.6px 434.6px',+ width: 1920,+ height: 1080,+ scale: 1.805,+ }}+ durationInFrames={68}+ playbackRate={1.5}+ effects={[+ linearProgressiveBlur({+ end: [0.651, -0.012],+ start: [0.646, 0.972],+ endBlur: interpolate(frame, [28, 39], [0, 73], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ }),+ ]}+ muted+ premountFor={30}+ />+ </>+ );+};diff --git a/packages/jonnys-videos/src/Clip4.tsx b/packages/jonnys-videos/src/Clip4.tsxnew file mode 100644index 0000000000..bf73e45e82--- /dev/null+++ b/packages/jonnys-videos/src/Clip4.tsx@@ -0,0 +1,23 @@+import {Video} from '@remotion/media';+import React from 'react';+import {} from 'remotion';+import {asset} from './assets';++export const Clip4: React.FC = () => {+ return (+ <>+ <Video+ src={asset('IMG_8549.mp4')}+ style={{+ position: 'absolute',+ translate: '-180px 128.8px',+ width: 1440,+ height: 1920,+ scale: 2.033,+ }}+ durationInFrames={47}+ muted+ />+ </>+ );+};diff --git a/packages/jonnys-videos/src/Clip5.tsx b/packages/jonnys-videos/src/Clip5.tsxnew file mode 100644index 0000000000..0ab0bb05d9--- /dev/null+++ b/packages/jonnys-videos/src/Clip5.tsx@@ -0,0 +1,25 @@+import {Video} from '@remotion/media';+import React from 'react';+import {} from 'remotion';+import {asset} from './assets';++export const Clip5: React.FC = () => {+ return (+ <>+ <Video+ src={asset('clip5-source.mp4')}+ style={{+ position: 'absolute',+ translate: '-423.4px 739px',+ width: 1920,+ height: 1080,+ scale: 0.799,+ rotate: '2deg',+ }}+ from={-6}+ durationInFrames={306}+ muted+ />+ </>+ );+};diff --git a/packages/jonnys-videos/src/Compilation.tsx b/packages/jonnys-videos/src/Compilation.tsxnew file mode 100644index 0000000000..1214ffc9bc--- /dev/null+++ b/packages/jonnys-videos/src/Compilation.tsx@@ -0,0 +1,23 @@+import {Video} from '@remotion/media';+import React from 'react';+import {} from 'remotion';+import {asset} from './assets';++export const Compilation: React.FC = () => {+ return (+ <>+ <Video+ src={asset('IMG_7933 (1).mov')}+ style={{+ position: 'absolute',+ translate: '146.3px 310.8px',+ width: 1156,+ height: 1080,+ scale: 1.98,+ }}+ durationInFrames={52}+ trimBefore={327}+ />+ </>+ );+};diff --git a/packages/jonnys-videos/src/Composition.tsx b/packages/jonnys-videos/src/Composition.tsxnew file mode 100644index 0000000000..49031f4cb7--- /dev/null+++ b/packages/jonnys-videos/src/Composition.tsx@@ -0,0 +1,826 @@+import {Audio, Video} from '@remotion/media';+import {+ CalculateMetadataFunction,+ Composition,+ Easing,+ Folder,+ Sequence,+ interpolate,+ useCurrentFrame,+ Img,+} from 'remotion';+import {AnimatedCaptions} from './AnimatedCaptions';+import {AnimatedCaptionsBigWords} from './AnimatedCaptionsBigWords';+import {asset} from './assets';+import {BirthdayPartyCompilation} from './BirthdayPartyCompilation';+import {ClientSideChad} from './ClientSideChad';+import {Countdown, COUNTDOWN_DURATION_IN_FRAMES} from './Countdown';+import {DiscoBallBg} from './DiscoBallBg';+import {DragInDemo} from './DragInDemo';+import {EffectShow} from './EffectShow';+import {Fork} from './Fork';+import {ForkDrop} from './ForkDrop';+import {HuggingFace} from './HuggingFace';+import {Mediabunny} from './Mediabunny';+import {OneShot} from './OneShot';+import {+ SCREEN_RECORDING_DURATION_IN_FRAMES,+ ScreenRecordingComposition,+} from './ScreenRecordingComposition';+import {Separate} from './Separate';+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';++type Props = {};++export const MASTER_DURATION_IN_FRAMES = 1816;++const calculateMetadata: CalculateMetadataFunction<Props> = () => {+ return {};+};++export const MyComposition = () => {+ return (+ <>+ <Composition+ id="Master"+ component={MyComponent}+ durationInFrames={1800}+ fps={30}+ width={1080}+ height={1920}+ calculateMetadata={calculateMetadata}+ />+ <Folder name="backgrounds">+ <Composition+ id="Waves"+ component={ScreenRecordingComposition}+ durationInFrames={SCREEN_RECORDING_DURATION_IN_FRAMES}+ fps={30}+ width={1080}+ height={1920}+ />+ <Composition+ id="TextBackground"+ component={TextBackgroundComposition}+ durationInFrames={TEXT_BACKGROUND_DURATION_IN_FRAMES}+ fps={30}+ width={1920}+ height={1080}+ />+ </Folder>+ </>+ );+};++export const MyComponent: React.FC<Props> = () => {+ const frame = useCurrentFrame();+ return (+ <>+ <Sequence+ name="DiscoBallBg"+ width={1080}+ height={1920}+ durationInFrames={MASTER_DURATION_IN_FRAMES}+ style={{+ position: 'absolute',+ }}+ >+ <DiscoBallBg />+ </Sequence>+ <Sequence+ name="Text background"+ width={1920}+ height={1080}+ durationInFrames={201}+ style={{+ position: 'absolute',+ translate: interpolate(+ frame,+ [0, 91, 103, 127, 136, 172],+ [+ '-384.3px -80.8px',+ '-420px 45.5px',+ '135.6px -76.9px',+ '135.6px -76.9px',+ '-419.93606px 93.283812px',+ '-419.93606px 93.283812px',+ ],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: [+ Easing.linear,+ Easing.spring({+ damping: 200,+ mass: 1,+ stiffness: 100,+ allowTail: true,+ durationRestThreshold: 0.02,+ overshootClamping: false,+ }),+ Easing.linear,+ Easing.linear,+ Easing.linear,+ ],+ },+ ),+ scale: interpolate(+ frame,+ [91, 103, 127, 136, 172, 179],+ [0.73, 1.297, 1.297, 1.35, 1.35, 0.684],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ output: 'perceptual-scale',+ easing: [+ Easing.spring({+ damping: 200,+ mass: 1,+ stiffness: 100,+ allowTail: true,+ durationRestThreshold: 0.02,+ overshootClamping: false,+ }),+ Easing.linear,+ Easing.linear,+ Easing.linear,+ Easing.spring({+ damping: 200,+ mass: 1,+ stiffness: 100,+ allowTail: true,+ durationRestThreshold: 0.02,+ overshootClamping: false,+ }),+ ],+ },+ ),+ }}+ >+ <TextBackgroundComposition />+ </Sequence>+ <Sequence+ name="BirthdayPartyCompilation"+ width={1080}+ height={1920}+ durationInFrames={169}+ style={{+ position: 'absolute',+ }}+ from={182}+ premountFor={30}+ >+ <BirthdayPartyCompilation />+ </Sequence>+ <Audio src={asset('text-behind-video-2.wav')} />+ <Sequence+ name="AnimatedCaptions"+ width={1080}+ height={360}+ durationInFrames={334}+ style={{+ position: 'absolute',+ translate: '0px 1132.3px',+ }}+ >+ <AnimatedCaptions />+ </Sequence>+ <Sequence+ name="AnimatedCaptions"+ width={1080}+ height={360}+ from={347}+ durationInFrames={175}+ trimBefore={347}+ style={{+ position: 'absolute',+ translate: '0px 1132.3px',+ }}+ >+ <AnimatedCaptions />+ </Sequence>+ <Sequence+ name="AnimatedCaptions"+ width={1080}+ height={360}+ from={566}+ durationInFrames={1234}+ trimBefore={566}+ style={{+ position: 'absolute',+ translate: interpolate(+ frame,+ [567, 575],+ ['1080px 1132.3px', '0px 1132.3px'],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: [+ Easing.spring({+ damping: 200,+ mass: 1,+ stiffness: 100,+ allowTail: true,+ durationRestThreshold: 0.02,+ overshootClamping: false,+ }),+ ],+ },+ ),+ }}+ >+ <AnimatedCaptions />+ </Sequence>+ <Sequence+ name="AnimatedCaptionsBigWords"+ width={1080}+ height={1920}+ from={529}+ durationInFrames={55}+ trimBefore={522}+ style={{+ position: 'absolute',+ scale: 0.85,+ translate: interpolate(+ frame,+ [567, 575],+ ['0px 0px', '-1070.4px 0px'],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: [+ Easing.spring({+ damping: 200,+ mass: 1,+ stiffness: 100,+ allowTail: true,+ durationRestThreshold: 0.02,+ overshootClamping: false,+ }),+ ],+ },+ ),+ }}+ >+ <AnimatedCaptionsBigWords />+ </Sequence>+ <Sequence+ name="EffectShow"+ width={1080}+ height={1920}+ durationInFrames={197}+ style={{+ position: 'absolute',+ translate: interpolate(+ frame,+ [337, 352],+ ['0px 1920px', '0px -330.8px'],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: [+ Easing.spring({+ damping: 200,+ mass: 1,+ stiffness: 100,+ allowTail: true,+ durationRestThreshold: 0.02,+ overshootClamping: false,+ }),+ ],+ },+ ),+ scale: interpolate(frame, [512, 522], [1, 0], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ output: 'perceptual-scale',+ easing: [+ Easing.spring({+ damping: 200,+ mass: 1,+ stiffness: 100,+ allowTail: false,+ durationRestThreshold: 0.01,+ overshootClamping: false,+ }),+ ],+ }),+ }}+ from={337}+ premountFor={30}+ >+ <EffectShow />+ </Sequence>+ <Sequence+ name="HuggingFace"+ width={1920}+ height={1080}+ durationInFrames={162}+ style={{+ position: 'absolute',+ translate: interpolate(+ frame,+ [567, 575],+ ['704.8px 79.9px', '-420px 79.9px'],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: [+ Easing.spring({+ damping: 200,+ mass: 1,+ stiffness: 100,+ allowTail: true,+ durationRestThreshold: 0.02,+ overshootClamping: false,+ }),+ ],+ },+ ),+ scale: interpolate(frame, [692, 697], [0.707, 0], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ output: 'perceptual-scale',+ easing: [+ Easing.spring({+ damping: 200,+ mass: 1,+ stiffness: 100,+ allowTail: true,+ durationRestThreshold: 0.02,+ overshootClamping: false,+ }),+ ],+ }),+ }}+ from={537}+ premountFor={30}+ >+ <HuggingFace />+ </Sequence>+ <Sequence+ name="ClientSideChad"+ width={1080}+ height={1920}+ durationInFrames={168}+ style={{+ position: 'absolute',+ opacity: interpolate(frame, [817, 821], [1, 0], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ }}+ from={694}+ premountFor={30}+ >+ <ClientSideChad />+ </Sequence>+ <Sequence+ name="Separate"+ width={1080}+ height={1920}+ from={823}+ durationInFrames={141}+ style={{+ position: 'absolute',+ scale: interpolate(frame, [823, 829, 885, 893], [0, 1, 1, 1.608], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ output: 'perceptual-scale',+ 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,+ }),+ ],+ }),+ translate: interpolate(+ frame,+ [885, 893, 949, 962],+ [+ '0px 0px',+ '-328.3px 195.8px',+ '-328.3px 195.8px',+ '-1456.7px 195.8px',+ ],+ {+ 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,+ }),+ ],+ },+ ),+ }}+ premountFor={30}+ >+ <Separate />+ </Sequence>+ <Sequence+ name="Fork"+ width={1080}+ height={1920}+ durationInFrames={140}+ style={{+ position: 'absolute',+ translate: '39.2px -299.4px',+ scale: interpolate(+ frame,+ [966, 976, 1048],+ [0, 1, 0.9999999999999999],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ output: 'perceptual-scale',+ easing: [+ Easing.spring({+ damping: 200,+ mass: 1,+ stiffness: 100,+ allowTail: true,+ durationRestThreshold: 0.02,+ overshootClamping: false,+ }),+ Easing.linear,+ ],+ },+ ),+ 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}+ premountFor={30}+ >+ <Fork />+ </Sequence>+ <Sequence+ name="ForkDrop"+ width={1080}+ height={1920}+ from={1052}+ durationInFrames={65}+ style={{+ position: 'absolute',+ 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,+ }}+ >+ <ForkDrop />+ </Sequence>+ <Sequence+ name="OneShot"+ width={1080}+ height={1080}+ durationInFrames={61}+ style={{+ position: 'absolute',+ translate: interpolate(+ frame,+ [1145, 1152],+ ['-37.5px -66.9px', '-1080px -66.9px'],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ output: 'perceptual-scale',+ easing: [+ Easing.spring({+ damping: 200,+ mass: 1,+ stiffness: 100,+ allowTail: true,+ durationRestThreshold: 0.02,+ overshootClamping: false,+ }),+ ],+ },+ ),+ scale: interpolate(frame, [1093, 1104], [0, 1], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ output: 'perceptual-scale',+ easing: [+ Easing.spring({+ damping: 200,+ mass: 1,+ stiffness: 100,+ allowTail: true,+ durationRestThreshold: 0.02,+ overshootClamping: false,+ }),+ ],+ }),+ }}+ from={1093}+ premountFor={30}+ >+ <OneShot />+ </Sequence>+ <Sequence+ name="VibeCoded"+ width={1080}+ height={1080}+ durationInFrames={108}+ style={{+ position: 'absolute',+ translate: interpolate(+ frame,+ [1145, 1152, 1226, 1232],+ [+ '1226.1px 178.9px',+ '-19.5px 178.9px',+ '-19.5px 178.9px',+ '-1346.7px 178.9px',+ ],+ {+ 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={1125}+ premountFor={30}+ trimBefore={35}+ >+ <VibeCoded />+ </Sequence>+ <Sequence+ name="Mediabunny"+ width={1080}+ height={1920}+ from={1231}+ durationInFrames={30}+ style={{+ position: 'absolute',+ }}+ premountFor={30}+ >+ <Mediabunny />+ </Sequence>+ <Sequence+ name="DragInDemo"+ width={1080}+ height={1920}+ durationInFrames={102}+ style={{+ position: 'absolute',+ translate: interpolate(+ frame,+ [1245, 1251, 1338, 1346],+ [+ '1548.4px -173.2px',+ '0px -173.2px',+ '0px -173.2px',+ '-1458.6px -173.2px',+ ],+ {+ 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}+ >+ <DragInDemo />+ </Sequence>+ <Sequence+ name="TextBehindVideoStack"+ width={1080}+ height={1920}+ durationInFrames={154}+ style={{+ position: 'absolute',+ scale: 1.236,+ translate: interpolate(+ frame,+ [1338, 1346],+ ['1012.8px 226.6px', '0px 226.6px'],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ ),+ }}+ from={1337}+ premountFor={30}+ >+ <TextBehindVideoStackComposition />+ </Sequence>+ <Img+ src={asset('Screenshot 2026-07-19 at 18.28.52.png')}+ style={{+ position: 'absolute',+ translate: interpolate(+ frame,+ [1455, 1469, 1502, 1511],+ [+ '1078px 185.5px',+ '117.1px 177.6px',+ '117.1px 177.6px',+ '-1160.8px 177.6px',+ ],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: [+ Easing.spring({+ damping: 200,+ mass: 1,+ stiffness: 100,+ allowTail: true,+ durationRestThreshold: 0.1,+ overshootClamping: false,+ }),+ Easing.linear,+ Easing.linear,+ ],+ },+ ),+ width: 1188,+ height: 1260,+ padding: 36,+ backgroundColor: '#292c32',+ borderRadius: 40,+ scale: 0.712,+ rotate: interpolate(+ frame,+ [1455, 1469, 1502, 1511],+ ['-18deg', '0deg', '0deg', '-26.7deg'],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: [+ Easing.spring({+ damping: 200,+ mass: 1,+ stiffness: 100,+ allowTail: true,+ durationRestThreshold: 0.1,+ overshootClamping: false,+ }),+ Easing.linear,+ Easing.linear,+ ],+ },+ ),+ transformOrigin: interpolate(frame, [1455], ['0% 0%'], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ }}+ from={1455}+ trimBefore={1310}+ name={'Code snippet'}+ durationInFrames={205}+ />+ <Audio+ src={asset('fahhhh.mp3')}+ from={1036}+ premountFor={30}+ volume={0.1}+ durationInFrames={772}+ />+ <Video+ src={asset('drumsticks.mp4')}+ style={{+ position: 'absolute',+ translate: '220px 672.4px',+ width: 640,+ height: 360,+ scale: 1.739,+ }}+ from={1615}+ durationInFrames={66}+ premountFor={30}+ playbackRate={0.8}+ />+ <Sequence+ name="TextBehindVideoSeriesFirst20s"+ from={1648}+ premountFor={30}+ durationInFrames={TEXT_BEHIND_VIDEO_SERIES_FIRST_20S_DURATION_IN_FRAMES}+ width={1080}+ height={1920}+ >+ <TextBehindVideoSeriesFirst20sComposition />+ </Sequence>+ <Sequence+ name="Countdown"+ from={1556}+ durationInFrames={COUNTDOWN_DURATION_IN_FRAMES}+ width={1080}+ height={1920}+ >+ <Countdown />+ </Sequence>+ </>+ );+};diff --git a/packages/jonnys-videos/src/Countdown.tsx b/packages/jonnys-videos/src/Countdown.tsxnew file mode 100644index 0000000000..3eadee4568--- /dev/null+++ b/packages/jonnys-videos/src/Countdown.tsx@@ -0,0 +1,91 @@+import React from 'react';+import {+ AbsoluteFill,+ Easing,+ Interactive,+ interpolate,+ Sequence,+ useCurrentFrame,+} from 'remotion';++export const COUNTDOWN_DURATION_IN_FRAMES = 59;++const PAGES = [+ {number: '3', from: 0, durationInFrames: 20},+ {number: '2', from: 20, durationInFrames: 20},+ {number: '1', from: 40, durationInFrames: 19},+] as const;++const CountdownPage: React.FC<{+ number: string;+ durationInFrames: number;+}> = ({number, durationInFrames}) => {+ const frame = useCurrentFrame();++ return (+ <AbsoluteFill+ style={{+ alignItems: 'center',+ justifyContent: 'center',+ overflow: 'hidden',+ pointerEvents: 'none',+ }}+ >+ <Interactive.Div+ name={`Countdown number ${number}`}+ style={{+ color: '#ffffff',+ filter:+ 'drop-shadow(0 18px 0 rgba(0, 0, 0, 0.96)) drop-shadow(0 36px 42px rgba(0, 0, 0, 0.55))',+ fontFamily: 'Arial Black, Arial, sans-serif',+ fontSize: 900,+ fontWeight: 900,+ letterSpacing: -72,+ lineHeight: 1,+ opacity: interpolate(+ frame,+ [0, Math.max(1, durationInFrames - 4), durationInFrames - 1],+ [1, 1, 0],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: Easing.bezier(0.4, 0, 1, 1),+ },+ ),+ paddingRight: 72,+ scale: interpolate(frame, [0, durationInFrames - 1], [1.35, 0.45], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: Easing.bezier(0.16, 1, 0.3, 1),+ output: 'perceptual-scale',+ }),+ textAlign: 'center',+ transformOrigin: 'center center',+ WebkitTextStroke: '14px #000000',+ }}+ >+ {number}+ </Interactive.Div>+ </AbsoluteFill>+ );+};++export const Countdown: React.FC = () => {+ return (+ <AbsoluteFill>+ {PAGES.map((page) => (+ <Sequence+ key={page.number}+ name={`Countdown page ${page.number}`}+ from={page.from}+ durationInFrames={page.durationInFrames}+ >+ <CountdownPage+ number={page.number}+ durationInFrames={page.durationInFrames}+ />+ </Sequence>+ ))}+ </AbsoluteFill>+ );+};diff --git a/packages/jonnys-videos/src/DiscoBallBg.tsx b/packages/jonnys-videos/src/DiscoBallBg.tsxnew file mode 100644index 0000000000..1501693c38--- /dev/null+++ b/packages/jonnys-videos/src/DiscoBallBg.tsx@@ -0,0 +1,108 @@+import {blur} from '@remotion/effects/blur';+import {chromaticAberration} from '@remotion/effects/chromatic-aberration';+import {noise} from '@remotion/effects/noise';+import {pattern} from '@remotion/effects/pattern';+import {rings} from '@remotion/effects/rings';+import {wave} from '@remotion/effects/wave';+import {Video} from '@remotion/media';+import React from 'react';+import {Solid, Sequence, useCurrentFrame, interpolate} from 'remotion';+import {asset} from './assets';++export const DiscoBallBg: React.FC = () => {+ const frame = useCurrentFrame();+ return (+ <>+ <Solid+ color={'#1e1c1c'}+ width={1080}+ height={1920}+ style={{position: 'absolute'}}+ />+ <Sequence+ style={{+ opacity: 0.1,+ }}+ >+ <Solid+ width={1080}+ height={1920}+ color={'#010101'}+ style={{+ position: 'absolute',+ }}+ effects={[+ rings({+ colors: ['#000000', '#b1b1b1'],+ center: interpolate(+ frame,+ [0, 1839],+ [+ [0, 1],+ [1, 0],+ ],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ posterize: 10,+ },+ ),+ thickness: interpolate(frame, [0, 1839], [84.1, 146.3], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ posterize: 10,+ }),+ gap: 24.8,+ }),+ wave({+ phase: interpolate(frame, [0, 1839], [200, 229], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ }),+ blur({+ radius: 20,+ }),+ noise({+ amount: 0.25,+ }),+ ]}+ />++ <Solid+ width={1080}+ height={1920}+ color={'rgba(255, 255, 255, 0)'}+ style={{+ position: 'absolute',+ }}+ />+ <Video+ src={asset('disco-ball-3d-loop.mov')}+ style={{+ position: 'absolute',+ width: 1080,+ height: 1920,+ }}+ objectFit="cover"+ effects={[+ pattern({+ scale: 0.34,+ gapX: -13,+ }),+ chromaticAberration({+ amount: 100,+ angle: interpolate(frame, [0, 1849], [101, 2700], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ posterize: 10,+ }),+ }),+ ]}+ playbackRate={0.1}+ loop+ />+ </Sequence>+ </>+ );+};diff --git a/packages/jonnys-videos/src/DragIn.tsx b/packages/jonnys-videos/src/DragIn.tsxnew file mode 100644index 0000000000..b9a16fa80a--- /dev/null+++ b/packages/jonnys-videos/src/DragIn.tsx@@ -0,0 +1,30 @@+import {Video} from '@remotion/media';+import React from 'react';+import {AbsoluteFill, Interactive} from 'remotion';+import {asset} from './assets';++export const DragIn: React.FC = () => {+ return (+ <>+ <Video+ src={asset('text-behind-video-background.webm')}+ style={{+ position: 'absolute',+ width: 1920,+ height: 1080,+ }}+ />+ <AbsoluteFill>+ <Interactive.Div>FOLLOW ME</Interactive.Div>+ </AbsoluteFill>+ <Video+ src={asset('text-behind-video-foreground.webm')}+ style={{+ position: 'absolute',+ width: 1920,+ height: 1080,+ }}+ />+ </>+ );+};diff --git a/packages/jonnys-videos/src/DragInDemo.tsx b/packages/jonnys-videos/src/DragInDemo.tsxnew file mode 100644index 0000000000..2c103acd03--- /dev/null+++ b/packages/jonnys-videos/src/DragInDemo.tsx@@ -0,0 +1,26 @@+import {Video} from '@remotion/media';+import React from 'react';+import {} from 'remotion';+import {asset} from './assets';++export const DragInDemo: React.FC = () => {+ return (+ <>+ <Video+ src={asset('Screen Recording 2026-07-19 at 18.16.56.mov')}+ style={{+ position: 'absolute',+ translate: '-370.3px 204.3px',+ width: 1664,+ height: 1040,+ scale: 1.062,+ borderRadius: 60,+ }}+ from={-2}+ durationInFrames={112}+ trimBefore={8}+ playbackRate={1.85}+ />+ </>+ );+};diff --git a/packages/jonnys-videos/src/EffectShow.tsx b/packages/jonnys-videos/src/EffectShow.tsxnew file mode 100644index 0000000000..47214b4964--- /dev/null+++ b/packages/jonnys-videos/src/EffectShow.tsx@@ -0,0 +1,26 @@+import {Video} from '@remotion/media';+import React from 'react';+import {} from 'remotion';+import {asset} from './assets';++export const EffectShow: React.FC = () => {+ return (+ <>+ <Video+ src={asset('TextBehindVideoSeries.mp4')}+ style={{+ position: 'absolute',+ translate: '-420px 420px',+ width: 1920,+ height: 1080,+ scale: 0.526,+ boxShadow: '0px 0px 50px rgba(255, 255, 255, 0.5)',+ borderRadius: 60,+ }}+ muted+ trimBefore={151}+ premountFor={30}+ />+ </>+ );+};diff --git a/packages/jonnys-videos/src/FirstCustomerChart.tsx b/packages/jonnys-videos/src/FirstCustomerChart.tsxnew file mode 100644index 0000000000..9db1b75c77--- /dev/null+++ b/packages/jonnys-videos/src/FirstCustomerChart.tsx@@ -0,0 +1,355 @@+import React from 'react';+import {+ AbsoluteFill,+ Easing,+ Interactive,+ interpolate,+ useCurrentFrame,+} from 'remotion';++export const FIRST_CUSTOMER_CHART_DURATION_IN_FRAMES = 174;++const FONT_FAMILY =+ "Noteworthy, 'Bradley Hand', 'Marker Felt', 'Comic Sans MS', cursive";++const MONTHS = [+ {label: "Feb '21", value: '$0', x: 102, delay: 8, rotate: -2.4},+ {label: "Mar '21", value: '$0', x: 292, delay: 20, rotate: 1.2},+ {label: "April '21", value: '$0', x: 482, delay: 32, rotate: -1},+ {label: "May '21", value: '$0', x: 672, delay: 44, rotate: 1.8},+] as const;++const ZeroMonth: React.FC<(typeof MONTHS)[number]> = ({x, delay}) => {+ const frame = useCurrentFrame();++ return (+ <>+ <path+ d={`M${x - 58} 392 C${x - 28} 387 ${x + 25} 397 ${x + 61} 390`}+ fill="none"+ pathLength={1}+ stroke="#f3edd8"+ strokeDasharray={1}+ strokeDashoffset={interpolate(frame, [delay, delay + 8], [1, 0], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ })}+ strokeLinecap="round"+ strokeWidth={8}+ />+ <path+ d={`M${x - 52} 399 C${x - 16} 395 ${x + 30} 403 ${x + 57} 397`}+ fill="none"+ pathLength={1}+ stroke="#6f98df"+ strokeDasharray={1}+ strokeDashoffset={interpolate(frame, [delay + 3, delay + 11], [1, 0], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ })}+ strokeLinecap="round"+ strokeWidth={3}+ />+ </>+ );+};++export const FirstCustomerChart: React.FC = () => {+ const frame = useCurrentFrame();++ return (+ <AbsoluteFill style={{overflow: 'hidden'}}>+ <Interactive.Div+ name="First customer chart"+ style={{+ height: 790,+ left: 52,+ opacity: interpolate(frame, [0, 7, 164, 173], [0, 1, 1, 0], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ position: 'absolute',+ right: 52,+ top: 166,+ translate: interpolate(frame, [0, 12], ['0px 34px', '0px 0px'], {+ easing: Easing.bezier(0.16, 1, 0.3, 1),+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ }}+ >+ <Interactive.Div+ name="Four months heading"+ style={{+ color: '#91b7ff',+ fontFamily: FONT_FAMILY,+ fontSize: 42,+ fontWeight: 700,+ letterSpacing: 2.2,+ opacity: interpolate(frame, [2, 10], [0, 1], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ position: 'absolute',+ rotate: '-1.2deg',+ textTransform: 'uppercase',+ top: 0,+ }}+ >+ Four months to find...+ </Interactive.Div>++ <Interactive.Div+ name="First customer heading"+ style={{+ color: '#f5f0dc',+ fontFamily: FONT_FAMILY,+ fontSize: 82,+ fontWeight: 700,+ letterSpacing: -1.8,+ lineHeight: 1,+ opacity: interpolate(frame, [33, 42], [0, 1], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ position: 'absolute',+ rotate: '0.6deg',+ top: 51,+ }}+ >+ the first customer+ </Interactive.Div>++ <svg+ aria-hidden="true"+ viewBox="0 0 976 520"+ style={{+ height: 520,+ left: 0,+ overflow: 'visible',+ position: 'absolute',+ top: 164,+ width: 976,+ }}+ >+ <defs>+ <clipPath id="june-bar-reveal">+ <rect+ x={760}+ y={interpolate(frame, [69, 91], [410, 40], {+ easing: Easing.bezier(0.16, 1, 0.3, 1),+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ })}+ width={210}+ height={interpolate(frame, [69, 91], [0, 370], {+ easing: Easing.bezier(0.16, 1, 0.3, 1),+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ })}+ />+ </clipPath>+ </defs>+ <path+ d="M13 407 C190 398 364 412 535 404 C694 397 833 410 964 401"+ fill="none"+ pathLength={1}+ stroke="#6f98df"+ strokeDasharray={1}+ strokeDashoffset={interpolate(frame, [4, 18], [1, 0], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ })}+ strokeLinecap="round"+ strokeWidth={5}+ />+ <path+ d="M19 413 C206 407 371 419 546 411 C719 404 849 417 958 409"+ fill="none"+ pathLength={1}+ stroke="rgba(111, 152, 223, 0.28)"+ strokeDasharray={1}+ strokeDashoffset={interpolate(frame, [7, 21], [1, 0], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ })}+ strokeLinecap="round"+ strokeWidth={3}+ />++ {MONTHS.map((month) => (+ <ZeroMonth key={month.label} {...month} />+ ))}++ <g clipPath="url(#june-bar-reveal)">+ <path+ d="M805 399 C808 325 801 223 811 126 C845 119 896 126 925 120 C929 226 922 321 934 399 C895 394 849 404 805 399Z"+ fill="rgba(255, 86, 61, 0.22)"+ stroke="#ff674f"+ strokeLinejoin="round"+ strokeWidth={8}+ />+ <path+ d="M816 390 C820 303 811 218 821 137 C850 132 891 138 915 130 C917 229 913 316 924 389"+ fill="none"+ stroke="rgba(255, 199, 188, 0.62)"+ strokeLinecap="round"+ strokeLinejoin="round"+ strokeWidth={3}+ />+ <path+ d="M827 381 L909 145 M841 390 L922 177 M812 352 L904 126"+ fill="none"+ stroke="rgba(255, 103, 79, 0.35)"+ strokeLinecap="round"+ strokeWidth={5}+ />+ </g>++ <path+ d="M781 83 C816 53 924 50 956 88 C981 119 947 151 879 154 C812 157 764 131 781 83Z"+ fill="none"+ pathLength={1}+ stroke="#ff674f"+ strokeDasharray={1}+ strokeDashoffset={interpolate(frame, [91, 105], [1, 0], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ })}+ strokeLinecap="round"+ strokeLinejoin="round"+ strokeWidth={6}+ />+ <path+ d="M770 74 C817 41 935 48 962 94"+ fill="none"+ pathLength={1}+ stroke="rgba(255, 103, 79, 0.46)"+ strokeDasharray={1}+ strokeDashoffset={interpolate(frame, [96, 108], [1, 0], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ })}+ strokeLinecap="round"+ strokeWidth={3}+ />+ <path+ d="M748 194 C774 179 790 161 811 139 M795 139 L813 137 L809 156"+ fill="none"+ pathLength={1}+ stroke="#ff674f"+ strokeDasharray={1}+ strokeDashoffset={interpolate(frame, [99, 112], [1, 0], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ })}+ strokeLinecap="round"+ strokeLinejoin="round"+ strokeWidth={6}+ />+ </svg>++ {MONTHS.map((month) => (+ <React.Fragment key={month.label}>+ <Interactive.Div+ name={`${month.label} value`}+ style={{+ color: '#f5f0dc',+ fontFamily: FONT_FAMILY,+ fontSize: 48,+ fontWeight: 700,+ left: month.x - 58,+ opacity: interpolate(+ frame,+ [month.delay + 2, month.delay + 8],+ [0, 1],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ ),+ position: 'absolute',+ rotate: `${month.rotate}deg`,+ textAlign: 'center',+ top: 451,+ width: 120,+ }}+ >+ {month.value}+ </Interactive.Div>+ <Interactive.Div+ name={`${month.label} label`}+ style={{+ color: '#c9c2ad',+ fontFamily: FONT_FAMILY,+ fontSize: 35,+ fontWeight: 700,+ left: month.x - 78,+ lineHeight: 1,+ opacity: interpolate(+ frame,+ [month.delay + 5, month.delay + 11],+ [0, 1],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ ),+ position: 'absolute',+ rotate: `${month.rotate * -0.6}deg`,+ textAlign: 'center',+ top: 589,+ width: 160,+ }}+ >+ {month.label}+ </Interactive.Div>+ </React.Fragment>+ ))}++ <Interactive.Div+ name="June revenue"+ style={{+ color: '#fff4e7',+ fontFamily: FONT_FAMILY,+ fontSize: 49,+ fontWeight: 700,+ left: 770,+ opacity: interpolate(frame, [85, 94], [0, 1], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ position: 'absolute',+ rotate: '-2deg',+ textAlign: 'center',+ top: 224,+ width: 200,+ }}+ >+ $15 MRR+ </Interactive.Div>+ <Interactive.Div+ name="June 2021 label"+ style={{+ color: '#ff8b78',+ fontFamily: FONT_FAMILY,+ fontSize: 38,+ fontWeight: 700,+ left: 788,+ opacity: interpolate(frame, [73, 82], [0, 1], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ position: 'absolute',+ rotate: '-1.5deg',+ textAlign: 'center',+ top: 589,+ width: 176,+ }}+ >+ June '21+ </Interactive.Div>+ </Interactive.Div>+ </AbsoluteFill>+ );+};diff --git a/packages/jonnys-videos/src/Fork.tsx b/packages/jonnys-videos/src/Fork.tsxnew file mode 100644index 0000000000..f24e190298--- /dev/null+++ b/packages/jonnys-videos/src/Fork.tsx@@ -0,0 +1,60 @@+import {Video} from '@remotion/media';+import React from 'react';+import {Img, interpolate, useCurrentFrame, Easing} from 'remotion';+import {asset} from './assets';++export const Fork: React.FC = () => {+ const frame = useCurrentFrame();+ return (+ <>+ <Video+ src={asset('Blood Spurt v7.mov')}+ style={{+ position: 'absolute',+ translate: '-531.3px 43px',+ scale: 1.519,+ }}+ from={62}+ premountFor={30}+ />+ <Img+ pauseWhenLoading={false}+ src={asset('elegant-silver-fork-free-png.webp')}+ style={{+ position: 'absolute',+ translate: interpolate(+ frame,+ [71, 77],+ ['365px -912px', '365px 831.5px'],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: [Easing.bezier(0.4681, 0.0594, 0.9171, 1.075)],+ },+ ),+ width: 350,+ height: 350,+ scale: 3.905,+ rotate: '180deg',+ transformOrigin: interpolate(frame, [77], ['50% 0%'], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ }}+ from={69}+ durationInFrames={133}+ trimBefore={7}+ />+ <Img+ src={asset('Screenshot 2026-07-19 at 14.35.33.png')}+ style={{+ position: 'absolute',+ translate: '-174px 617.9px',+ width: 1428,+ height: 786,+ scale: 0.786,+ }}+ />+ </>+ );+};diff --git a/packages/jonnys-videos/src/ForkDrop.tsx b/packages/jonnys-videos/src/ForkDrop.tsxnew file mode 100644index 0000000000..adf39286af--- /dev/null+++ b/packages/jonnys-videos/src/ForkDrop.tsx@@ -0,0 +1,136 @@+import React from 'react';+import {+ AbsoluteFill,+ Easing,+ Img,+ Interactive,+ interpolate,+ useCurrentFrame,+} from 'remotion';+import {asset} from './assets';++export const ForkDrop: React.FC = () => {+ const frame = useCurrentFrame();++ return (+ <AbsoluteFill style={{overflow: 'hidden'}}>+ <Img+ name="Cursor chat window"+ src={asset('Screenshot 2026-07-19 at 16.26.01.png')}+ style={{+ position: 'absolute',+ translate: '154px 795px',+ width: 772,+ height: 330,+ scale: 1.202,+ }}+ />+ <Interactive.Div+ name="Chat drop highlight"+ style={{+ position: 'absolute',+ left: 79,+ top: 900,+ width: 922,+ height: 238,+ borderRadius: 48,+ border: '5px solid rgba(88, 101, 242, 0.75)',+ boxShadow: '0 0 48px rgba(88, 101, 242, 0.42)',+ opacity: interpolate(frame, [24, 31, 42, 54], [0, 1, 1, 0], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: Easing.inOut(Easing.cubic),+ }),+ scale: interpolate(frame, [24, 35], ['0.97', '0.96 1'], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: [+ Easing.bezier(0.33333333333333337, 1, 0.6666666666666667, 1),+ ],+ }),+ transformOrigin: '50% 50%',+ }}+ />+ <Interactive.Div+ name="Forked Hugging Face page"+ style={{+ position: 'absolute',+ left: 0,+ top: 0,+ width: 1428,+ height: 786,+ overflow: 'hidden',+ borderRadius: 30,+ border: '8px solid rgba(255, 255, 255, 0.95)',+ boxShadow: '0 24px 60px rgba(0, 0, 0, 0.28)',+ translate: interpolate(+ frame,+ [0, 30, 38],+ ['-444px -880px', '-444px 630px', '-444px 630px'],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: Easing.bezier(0.33, 0, 0.2, 1),+ },+ ),+ scale: interpolate(frame, [0, 30, 38], [0.3, 0.215, 0.225], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: Easing.out(Easing.back(1.8)),+ }),+ rotate: interpolate(frame, [0, 30, 38], ['-5deg', '2deg', '0deg'], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: Easing.out(Easing.cubic),+ }),+ transformOrigin: '50% 50%',+ }}+ >+ <Img+ src={asset('Screenshot 2026-07-19 at 14.35.33.png')}+ style={{width: 1428, height: 786}}+ showInTimeline={false}+ />+ </Interactive.Div>+ <Img+ name="Dragging fork"+ src={asset('elegant-silver-fork-free-png.webp')}+ style={{+ position: 'absolute',+ width: 350,+ height: 350,+ translate: interpolate(+ frame,+ [0, 30, 52],+ ['95px -1020px', '95px 650px', '95px -1020px'],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: [+ Easing.bezier(0.33, 0, 0.2, 1),+ Easing.inOut(Easing.cubic),+ ],+ },+ ),+ scale: interpolate(frame, [0, 30, 52], [2.4, 1.8, 1.45], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: Easing.out(Easing.cubic),+ }),+ rotate: interpolate(+ frame,+ [0, 30, 52],+ ['180deg', '180deg', '168deg'],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: Easing.inOut(Easing.cubic),+ },+ ),+ transformOrigin: '50% 50%',+ filter: 'drop-shadow(0 20px 18px rgba(0, 0, 0, 0.28))',+ }}+ />+ </AbsoluteFill>+ );+};diff --git a/packages/jonnys-videos/src/FreeMaster.tsx b/packages/jonnys-videos/src/FreeMaster.tsxnew file mode 100644index 0000000000..a2a9dde47b--- /dev/null+++ b/packages/jonnys-videos/src/FreeMaster.tsx@@ -0,0 +1,88 @@+import {Audio} from '@remotion/media';+import React from 'react';+import {Sequence, Solid} from 'remotion';+import {AnimatedCaptions, CAPTIONS_HEIGHT} from './AnimatedCaptions';+import {asset} from './assets';+import {+ FIRST_CUSTOMER_CHART_DURATION_IN_FRAMES,+ FirstCustomerChart,+} from './FirstCustomerChart';+import {+ PREMIUM_VERSION_DURATION_IN_FRAMES,+ PremiumVersion,+} from './PremiumVersion';+import {+ UNRULY_OUTCOME_DURATION_IN_FRAMES,+ UnrulyOutcome,+} from './UnrulyOutcome';+import {ZURICH_PHOTO_DURATION_IN_FRAMES, ZurichPhoto} from './ZurichPhoto';++const FREE_MASTER_AUDIO_FILE =+ 'ElevenLabs_2026-08-23T17_39_27_Derek - Fun & Energetic _pvc_sp115_s50_sb75_se0_b_m2.mp3';+const FREE_MASTER_CAPTIONS_FILE = 'free-master-captions.json';+const PREMIUM_VERSION_START_FRAME = 100;+const UNRULY_OUTCOME_START_FRAME = 148;+const FIRST_CUSTOMER_CHART_START_FRAME = 645;+const SWITZERLAND_SCENE_START_FRAME = 816;++export const FreeMaster: React.FC = () => {+ return (+ <>+ <Audio src={asset(FREE_MASTER_AUDIO_FILE)} durationInFrames={1674.71} />+ <Solid+ width={1080}+ height={1920}+ color={'#161616'}+ style={{+ position: 'absolute',+ }}+ />+ <Sequence+ name="Premium version"+ from={PREMIUM_VERSION_START_FRAME}+ durationInFrames={PREMIUM_VERSION_DURATION_IN_FRAMES}+ premountFor={30}+ >+ <PremiumVersion />+ </Sequence>+ <Sequence+ name="Unruly outcome"+ from={UNRULY_OUTCOME_START_FRAME}+ durationInFrames={UNRULY_OUTCOME_DURATION_IN_FRAMES}+ premountFor={30}+ >+ <UnrulyOutcome />+ </Sequence>+ <Sequence+ name="First customer chart"+ from={FIRST_CUSTOMER_CHART_START_FRAME}+ durationInFrames={FIRST_CUSTOMER_CHART_DURATION_IN_FRAMES}+ premountFor={30}+ >+ <FirstCustomerChart />+ </Sequence>+ <Sequence+ name="Switzerland photograph and watch"+ from={SWITZERLAND_SCENE_START_FRAME}+ durationInFrames={ZURICH_PHOTO_DURATION_IN_FRAMES}+ premountFor={30}+ >+ <ZurichPhoto />+ </Sequence>+ <Sequence+ name="AnimatedCaptions"+ width={1080}+ height={CAPTIONS_HEIGHT}+ style={{+ position: 'absolute',+ translate: '0px 1132.3px',+ }}+ >+ <AnimatedCaptions+ captionsFile={FREE_MASTER_CAPTIONS_FILE}+ voiceoverFile={null}+ />+ </Sequence>+ </>+ );+};diff --git a/packages/jonnys-videos/src/HtmlInCanvasVideoRepro.tsx b/packages/jonnys-videos/src/HtmlInCanvasVideoRepro.tsxnew file mode 100644index 0000000000..1e576f54c0--- /dev/null+++ b/packages/jonnys-videos/src/HtmlInCanvasVideoRepro.tsx@@ -0,0 +1,36 @@+import {dropShadow} from '@remotion/effects/drop-shadow';+import {scale} from '@remotion/effects/scale';+import {Video} from '@remotion/media';+import {Arrow} from '@remotion/shapes';+import {HtmlInCanvas, Img, Sequence} from 'remotion';++const IMAGE =+ "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Ccircle cx='100' cy='100' r='90' fill='blue'/%3E%3C/svg%3E";++export const HtmlInCanvasVideoRepro: React.FC = () => {+ return (+ <HtmlInCanvas name="Video inside HtmlInCanvas" width={1280} height={720}>+ <Video+ src="https://remotion.media/video.mp4"+ objectFit="cover"+ style={{width: '100%', height: '100%'}}+ />+ <Sequence from={90}>+ <Arrow+ length={300}+ headWidth={185}+ headLength={120}+ shaftWidth={80}+ direction="right"+ fill="white"+ effects={[scale({scale: 0.8}), dropShadow({radius: 82})]}+ />+ <Img+ src={IMAGE}+ style={{width: 200, height: 200, translate: '400px 0'}}+ effects={[dropShadow({radius: 82})]}+ />+ </Sequence>+ </HtmlInCanvas>+ );+};diff --git a/packages/jonnys-videos/src/HtmlInCanvasVideoReproRoot.tsx b/packages/jonnys-videos/src/HtmlInCanvasVideoReproRoot.tsxnew file mode 100644index 0000000000..bfb0273fc2--- /dev/null+++ b/packages/jonnys-videos/src/HtmlInCanvasVideoReproRoot.tsx@@ -0,0 +1,17 @@+import {Composition, registerRoot} from 'remotion';+import {HtmlInCanvasVideoRepro} from './HtmlInCanvasVideoRepro';++const HtmlInCanvasVideoReproRoot: React.FC = () => {+ return (+ <Composition+ id="HtmlInCanvasVideoRepro"+ component={HtmlInCanvasVideoRepro}+ durationInFrames={150}+ fps={30}+ width={1280}+ height={720}+ />+ );+};++registerRoot(HtmlInCanvasVideoReproRoot);diff --git a/packages/jonnys-videos/src/HuggingFace.tsx b/packages/jonnys-videos/src/HuggingFace.tsxnew file mode 100644index 0000000000..9a60198fa4--- /dev/null+++ b/packages/jonnys-videos/src/HuggingFace.tsx@@ -0,0 +1,26 @@+import {Video} from '@remotion/media';+import React from 'react';+import {} from 'remotion';+import {asset} from './assets';++export const HuggingFace: React.FC = () => {+ return (+ <>+ <Video+ src={asset('Screen Recording 2026-07-19 at 10.04.18.mov')}+ style={{+ position: 'absolute',+ translate: '-391px -121.8px',+ width: 2702,+ height: 1496,+ scale: 0.53,+ boxShadow: '0px 0px 50px rgba(255, 255, 255, 0.5)',+ borderRadius: 60,+ }}+ durationInFrames={247}+ trimBefore={185}+ playbackRate={0.5}+ />+ </>+ );+};diff --git a/packages/jonnys-videos/src/MasterWithEffect.tsx b/packages/jonnys-videos/src/MasterWithEffect.tsxnew file mode 100644index 0000000000..a9f2c64e9f--- /dev/null+++ b/packages/jonnys-videos/src/MasterWithEffect.tsx@@ -0,0 +1,173 @@+import {chromaticAberration} from '@remotion/effects/chromatic-aberration';+import {noise} from '@remotion/effects/noise';+import {scanlines} from '@remotion/effects/scanlines';+import {+ AbsoluteFill,+ Easing,+ HtmlInCanvas,+ interpolate,+ useCurrentFrame,+ useVideoConfig,+} from 'remotion';+import {MyComponent} from './Composition';++export const MasterWithEffect: React.FC = () => {+ const frame = useCurrentFrame();+ const {durationInFrames, height, width} = useVideoConfig();++ return (+ <AbsoluteFill style={{backgroundColor: 'black'}}>+ <HtmlInCanvas+ name="Master CRT screen"+ width={width}+ height={height}+ effects={[+ scanlines({+ amount: interpolate(+ frame,+ [+ durationInFrames - 45,+ durationInFrames - 45 + 5,+ durationInFrames - 20 - 11,+ ],+ [0, 0.38, 0.58],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: Easing.spring({+ damping: 200,+ mass: 1,+ stiffness: 100,+ allowTail: true,+ durationRestThreshold: 0.1,+ overshootClamping: false,+ }),+ },+ ),+ spacing: 5,+ thickness: 2,+ offset: frame * 3,+ premultiply: true,+ }),+ chromaticAberration({+ amount:+ interpolate(+ frame,+ [+ durationInFrames - 45,+ durationInFrames - 45 + 3,+ durationInFrames - 20 - 11,+ ],+ [0, 14, 34],+ {extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},+ ) *+ (0.35 + Math.abs(Math.sin(frame * 2.7)) * 0.65),+ angle: frame % 4 < 2 ? 0 : 180,+ }),+ noise({+ amount:+ interpolate(+ frame,+ [+ durationInFrames - 45,+ durationInFrames - 45 + 7,+ durationInFrames - 20 - 11,+ ],+ [0, 0.14, 0.36],+ {extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},+ ) *+ (0.45 + Math.abs(Math.sin(frame * 4.1)) * 0.55),+ seed: frame,+ premultiply: false,+ }),+ ]}+ style={{+ opacity: interpolate(+ frame,+ [durationInFrames - 20 - 1, durationInFrames - 20],+ [1, 0],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ ),+ scale: `${interpolate(+ frame,+ [+ durationInFrames - 20 - 11,+ durationInFrames - 20 - 4,+ durationInFrames - 20,+ ],+ [1, 1, 0],+ {extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},+ )} ${interpolate(+ frame,+ [durationInFrames - 20 - 11, durationInFrames - 20 - 6],+ [1, 0.012],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: Easing.spring({+ damping: 200,+ mass: 1,+ stiffness: 100,+ allowTail: true,+ durationRestThreshold: 0.1,+ overshootClamping: false,+ }),+ },+ )}`,+ translate: `${+ Math.sin(frame * 5.3) *+ interpolate(+ frame,+ [durationInFrames - 45, durationInFrames - 20 - 11],+ [0, 12],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ )+ }px 0px`,+ transformOrigin: 'center center',+ }}+ >+ <MyComponent />+ </HtmlInCanvas>+ <AbsoluteFill+ style={{+ background:+ 'radial-gradient(ellipse at center, rgba(255,255,255,0.95) 0%, rgba(210,235,255,0.55) 16%, rgba(255,255,255,0) 68%)',+ opacity: interpolate(+ frame,+ [+ durationInFrames - 20 - 11,+ durationInFrames - 20 - 6,+ durationInFrames - 20 - 2,+ durationInFrames - 20,+ ],+ [0, 0.9, 0.35, 0],+ {extrapolateLeft: 'clamp', extrapolateRight: 'clamp'},+ ),+ scale: `${interpolate(+ frame,+ [durationInFrames - 20 - 6, durationInFrames - 20],+ [1, 0],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ )} ${interpolate(+ frame,+ [durationInFrames - 20 - 11, durationInFrames - 20 - 6],+ [1, 0.006],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ )}`,+ }}+ />+ </AbsoluteFill>+ );+};diff --git a/packages/jonnys-videos/src/Mediabunny.tsx b/packages/jonnys-videos/src/Mediabunny.tsxnew file mode 100644index 0000000000..6496034ca5--- /dev/null+++ b/packages/jonnys-videos/src/Mediabunny.tsx@@ -0,0 +1,29 @@+import React from 'react';+import {Img, interpolate, useCurrentFrame} from 'remotion';+import {asset} from './assets';++export const Mediabunny: React.FC = () => {+ const frame = useCurrentFrame();+ return (+ <>+ <Img+ src={asset('mediabunny-logo.png')}+ style={{+ position: 'absolute',+ translate: '105px 527.5px',+ width: 870,+ height: 865,+ opacity: interpolate(frame, [0, 8, 17, 26], [0, 0.1, 0.1, 0], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ scale: interpolate(frame, [0, 26], [1, 2.5], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'extend',+ output: 'perceptual-scale',+ }),+ }}+ />+ </>+ );+};diff --git a/packages/jonnys-videos/src/OneShot.tsx b/packages/jonnys-videos/src/OneShot.tsxnew file mode 100644index 0000000000..d6509901ea--- /dev/null+++ b/packages/jonnys-videos/src/OneShot.tsx@@ -0,0 +1,57 @@+import {grayscale} from '@remotion/effects/grayscale';+import React from 'react';+import {+ AnimatedImage,+ Interactive,+ interpolate,+ useCurrentFrame,+} from 'remotion';+import {asset} from './assets';++export const OneShot: React.FC = () => {+ const frame = useCurrentFrame();+ return (+ <>+ <AnimatedImage+ src={asset('Eu0CBaxXpj8DK85e61.webp')}+ style={{+ position: 'absolute',+ translate: '300px 395px',+ width: 480,+ height: 290,+ scale: 2.885,+ }}+ effects={[grayscale({})]}+ playbackRate={0.5}+ />+ <Interactive.Div+ name="One-Shot title"+ style={{+ position: 'absolute',+ left: 0,+ top: 0,+ width: '100%',+ height: '100%',+ display: 'flex',+ alignItems: 'center',+ justifyContent: 'center',+ color: 'white',+ WebkitTextStroke: '4px black',+ fontSize: 164,+ fontWeight: 900,+ scale: interpolate(frame, [0, 56, 59], [0, 0.7857142857142857, 1], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ output: 'perceptual-scale',+ }),+ opacity: interpolate(frame, [56, 59], [1, 0], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ }}+ >+ One-Shot+ </Interactive.Div>+ </>+ );+};diff --git a/packages/jonnys-videos/src/PremiumVersion.tsx b/packages/jonnys-videos/src/PremiumVersion.tsxnew file mode 100644index 0000000000..c906e54c53--- /dev/null+++ b/packages/jonnys-videos/src/PremiumVersion.tsx@@ -0,0 +1,164 @@+import React from 'react';+import {+ AbsoluteFill,+ Easing,+ Interactive,+ interpolate,+ useCurrentFrame,+} from 'remotion';++export const PREMIUM_VERSION_DURATION_IN_FRAMES = 48;++const REMOTION_LOGO_PATH =+ 'M87.6061 0.0346985C79.1878 0.491638 72.4039 1.82733 65.5673 4.42841C62.1578 5.71136 56.569 8.5058 53.4934 10.439C40.6286 18.5059 30.8219 30.6325 25.7076 44.7451C24.6882 47.5395 21.929 56.4499 20.1539 62.5835C8.32607 103.586 1.61249 148.419 0.171355 195.871C-0.0571182 203.428 -0.0571182 221.425 0.171355 228.859C1.13797 260.318 4.14327 288.719 9.59146 317.682C11.8059 329.405 15.356 345.152 17.4123 352.305C21.6126 366.839 30.1892 379.212 42.3861 388.28C50.5584 394.361 59.8379 398.438 70.1192 400.442C75.0753 401.409 81.6131 401.848 86.4286 401.532C93.0895 401.092 106.306 399.317 117.044 397.402C165.445 388.772 210.155 373.324 250.701 351.215C276.377 337.208 298.328 322.041 319.506 303.64C340.613 285.327 358.61 265.626 374.445 243.516C378.118 238.402 379.963 235.414 381.809 231.653C386.554 221.952 388.786 212.304 388.768 201.513C388.768 191.46 386.87 182.532 382.775 173.393C380.807 168.982 378.926 165.818 374.708 159.807C359.172 137.681 341.931 118.401 320.912 99.6664C288.328 70.6328 249.628 46.8189 206.412 29.1913C197.045 25.3776 187.818 22.0208 176.711 18.3828C153.195 10.7026 124.091 4.04178 99.4691 0.720123C95.6027 0.192871 90.3478 -0.105896 87.6061 0.0346985Z';++const TIERS = [+ {label: 'Remotion', rings: 3},+ {label: 'Remotion Plus', rings: 4},+ {label: 'Remotion Max', rings: 5},+] as const;++const INNER_RING_WIDTH = 118;+const RING_WIDTH_STEP = 48;+const LOGO_SLOT_WIDTH =+ INNER_RING_WIDTH + (TIERS[TIERS.length - 1].rings - 1) * RING_WIDTH_STEP;++const RingLogo: React.FC<{rings: number; rowIndex: number}> = ({+ rings,+ rowIndex,+}) => {+ const frame = useCurrentFrame();++ return (+ <div+ style={{+ height: LOGO_SLOT_WIDTH * (402 / 389),+ position: 'relative',+ width: LOGO_SLOT_WIDTH,+ }}+ >+ {Array.from({length: rings}, (_, ringIndex) => {+ const ringWidth = INNER_RING_WIDTH + ringIndex * RING_WIDTH_STEP;+ const ringHeight = ringWidth * (402 / 389);++ return (+ <svg+ key={ringIndex}+ viewBox="0 0 389 402"+ style={{+ height: ringHeight,+ left: '50%',+ opacity: interpolate(+ frame,+ [+ rowIndex * 5 + ringIndex * 2,+ rowIndex * 5 + ringIndex * 2 + 5,+ ],+ [0, 1],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ ),+ position: 'absolute',+ top: '50%',+ translate: '-50% -50%',+ width: ringWidth,+ }}+ >+ <path+ d={REMOTION_LOGO_PATH}+ fill="none"+ stroke="#0B84F3"+ strokeWidth={3}+ vectorEffect="non-scaling-stroke"+ />+ </svg>+ );+ })}+ </div>+ );+};++const TierRow: React.FC<{index: number; label: string; rings: number}> = ({+ index,+ label,+ rings,+}) => {+ const frame = useCurrentFrame();+ const startFrame = index * 5;++ return (+ <Interactive.Div+ name={`${label} — ${rings} rings`}+ style={{+ alignItems: 'center',+ display: 'flex',+ gap: 48,+ height: 294,+ opacity: interpolate(+ frame,+ [startFrame, startFrame + 6, 43, 47],+ [0, 1, 1, 0],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ ),+ translate: interpolate(+ frame,+ [startFrame, startFrame + 8],+ ['-60px 0px', '0px 0px'],+ {+ easing: Easing.bezier(0.16, 1, 0.3, 1),+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ ),+ }}+ >+ <RingLogo rings={rings} rowIndex={index} />+ <div+ style={{+ color: '#ffffff',+ fontFamily: 'Arial Black, Arial, sans-serif',+ fontSize: 42,+ fontWeight: 900,+ letterSpacing: -1.8,+ lineHeight: 1,+ textAlign: 'left',+ textTransform: 'uppercase',+ width: 500,+ }}+ >+ {label}+ </div>+ </Interactive.Div>+ );+};++export const PremiumVersion: React.FC = () => {+ return (+ <AbsoluteFill style={{overflow: 'hidden'}}>+ <div+ style={{+ display: 'flex',+ flexDirection: 'column',+ gap: 8,+ left: 92,+ position: 'absolute',+ top: 42,+ }}+ >+ {TIERS.map((tier, index) => (+ <TierRow+ key={tier.label}+ index={index}+ label={tier.label}+ rings={tier.rings}+ />+ ))}+ </div>+ </AbsoluteFill>+ );+};diff --git a/packages/jonnys-videos/src/Root.tsx b/packages/jonnys-videos/src/Root.tsxnew file mode 100644index 0000000000..19eb160687--- /dev/null+++ b/packages/jonnys-videos/src/Root.tsx@@ -0,0 +1,302 @@+import {Composition, Folder} from 'remotion';+import {+ AnimatedCaptions,+ CAPTIONS_DURATION_IN_FRAMES,+ CAPTIONS_HEIGHT,+} from './AnimatedCaptions';+import {+ AnimatedCaptionsBigWords,+ BIG_WORD_CAPTIONS_DURATION_IN_FRAMES,+} from './AnimatedCaptionsBigWords';+import {ArrowLogo} from './ArrowLogo';+import {ArrowLogoRemotion} from './ArrowLogoRemotion';+import {BirthdayPartyCompilation} from './BirthdayPartyCompilation';+import {ClientSideChad} from './ClientSideChad';+import {Clip1} from './Clip1';+import {Clip2} from './Clip2';+import {Clip3} from './Clip3';+import {Clip4} from './Clip4';+import {Clip5} from './Clip5';+import {Compilation} from './Compilation';+import {MyComposition} from './Composition';+import {Countdown, COUNTDOWN_DURATION_IN_FRAMES} from './Countdown';+import {DiscoBallBg} from './DiscoBallBg';+import {DragIn} from './DragIn';+import {DragInDemo} from './DragInDemo';+import {EffectShow} from './EffectShow';+import {+ FIRST_CUSTOMER_CHART_DURATION_IN_FRAMES,+ FirstCustomerChart,+} from './FirstCustomerChart';+import {Fork} from './Fork';+import {ForkDrop} from './ForkDrop';+import {FreeMaster} from './FreeMaster';+import {HuggingFace} from './HuggingFace';+import {MasterWithEffect} from './MasterWithEffect';+import {Mediabunny} from './Mediabunny';+import {OneShot} from './OneShot';+import {+ PREMIUM_VERSION_DURATION_IN_FRAMES,+ PremiumVersion,+} from './PremiumVersion';+import {Separate} from './Separate';+import {Setup} from './Setup';+import {TextBehindVideoSeriesFirst20s} from './TextBehindVideoSeriesFirst20s';+import {TextBehindVideoStack} from './TextBehindVideoStack';+import {+ UNRULY_OUTCOME_DURATION_IN_FRAMES,+ UnrulyOutcome,+} from './UnrulyOutcome';+import {VibeCoded} from './VibeCoded';++export const RemotionRoot: React.FC = () => {+ return (+ <>+ <MyComposition />+ <Composition+ id="MasterWithEffect"+ component={MasterWithEffect}+ durationInFrames={1800}+ fps={30}+ width={1080}+ height={1920}+ />+ <TextBehindVideoStack />+ <TextBehindVideoSeriesFirst20s />+ <Composition+ id="EffectShow"+ component={EffectShow}+ durationInFrames={CAPTIONS_DURATION_IN_FRAMES}+ fps={30}+ width={1080}+ height={1920}+ />+ <Composition+ id="AnimatedCaptions"+ component={AnimatedCaptions}+ durationInFrames={CAPTIONS_DURATION_IN_FRAMES}+ fps={30}+ width={1080}+ height={CAPTIONS_HEIGHT}+ />+ <Composition+ id="AnimatedCaptionsBigWords"+ component={AnimatedCaptionsBigWords}+ durationInFrames={BIG_WORD_CAPTIONS_DURATION_IN_FRAMES}+ fps={30}+ width={1080}+ height={1920}+ />+ <Composition+ id="Countdown"+ component={Countdown}+ durationInFrames={COUNTDOWN_DURATION_IN_FRAMES}+ fps={30}+ width={1080}+ height={1920}+ />+ <Composition+ id="ArrowLogo"+ component={ArrowLogo}+ durationInFrames={240}+ fps={30}+ width={1920}+ height={1080}+ />+ <Composition+ id="ArrowLogoRemotion"+ component={ArrowLogoRemotion}+ durationInFrames={240}+ fps={30}+ width={1920}+ height={1080}+ />+ <Composition+ id="HuggingFace"+ component={HuggingFace}+ durationInFrames={240}+ fps={30}+ width={1920}+ height={1080}+ />+ <Composition+ id="Fork"+ component={Fork}+ durationInFrames={140}+ fps={30}+ width={1080}+ height={1920}+ />+ <Composition+ id="ClientSideChad"+ component={ClientSideChad}+ durationInFrames={150}+ fps={30}+ width={1080}+ height={1920}+ />+ <Composition+ id="ForkDrop"+ component={ForkDrop}+ durationInFrames={1629}+ fps={30}+ width={1080}+ height={1920}+ />+ <Composition+ id="Separate"+ component={Separate}+ durationInFrames={1629}+ fps={30}+ width={1080}+ height={1920}+ />+ <Composition+ id="Mediabunny"+ component={Mediabunny}+ durationInFrames={1629}+ fps={30}+ width={1080}+ height={1920}+ />+ <Composition+ id="OneShot"+ component={OneShot}+ durationInFrames={60}+ fps={30}+ width={1080}+ height={1080}+ />+ <Composition+ id="VibeCoded"+ component={VibeCoded}+ durationInFrames={150}+ fps={30}+ width={1080}+ height={1080}+ />+ <Composition+ id="DragIn"+ component={DragIn}+ durationInFrames={1629}+ fps={30}+ width={1920}+ height={1080}+ />+ <Composition+ id="DragInDemo"+ component={DragInDemo}+ durationInFrames={60}+ fps={30}+ width={1080}+ height={1920}+ />+ <Composition+ id="DiscoBallBg"+ component={DiscoBallBg}+ durationInFrames={1850}+ fps={30}+ width={1080}+ height={1920}+ />+ <Composition+ id="Compilation"+ component={Compilation}+ durationInFrames={1629}+ fps={30}+ width={1080}+ height={1920}+ />+ <Composition+ id="BirthdayPartyCompilation"+ component={BirthdayPartyCompilation}+ durationInFrames={200}+ fps={30}+ width={1080}+ height={1920}+ />+ <Composition+ id="Clip1"+ component={Clip1}+ durationInFrames={57}+ fps={30}+ width={1080}+ height={1920}+ />+ <Composition+ id="Clip2"+ component={Clip2}+ durationInFrames={48}+ fps={30}+ width={1080}+ height={1920}+ />+ <Composition+ id="Clip3"+ component={Clip3}+ durationInFrames={66}+ fps={30}+ width={1080}+ height={1920}+ />+ <Composition+ id="Clip4"+ component={Clip4}+ durationInFrames={47}+ fps={30}+ width={1080}+ height={1920}+ />+ <Composition+ id="Clip5"+ component={Clip5}+ durationInFrames={300}+ fps={30}+ width={1080}+ height={1920}+ />+ <Composition+ id="Setup"+ component={Setup}+ durationInFrames={1800}+ fps={30}+ width={1080}+ height={1920}+ />+ <Folder name="HowIsRemotionFree">+ <Composition+ id="FirstCustomerChart"+ component={FirstCustomerChart}+ durationInFrames={FIRST_CUSTOMER_CHART_DURATION_IN_FRAMES}+ fps={30}+ width={1080}+ height={1920}+ />+ <Composition+ id="PremiumVersion"+ component={PremiumVersion}+ durationInFrames={PREMIUM_VERSION_DURATION_IN_FRAMES}+ fps={30}+ width={1080}+ height={1920}+ />+ <Composition+ id="UnrulyOutcome"+ component={UnrulyOutcome}+ durationInFrames={UNRULY_OUTCOME_DURATION_IN_FRAMES}+ fps={30}+ width={1080}+ height={1920}+ />+ <Composition+ id="FreeMaster"+ component={FreeMaster}+ durationInFrames={1800}+ fps={30}+ width={1080}+ height={1920}+ />+ </Folder>+ </>+ );+};diff --git a/packages/jonnys-videos/src/ScreenRecordingComposition.tsx b/packages/jonnys-videos/src/ScreenRecordingComposition.tsxnew file mode 100644index 0000000000..37e7264dc1--- /dev/null+++ b/packages/jonnys-videos/src/ScreenRecordingComposition.tsx@@ -0,0 +1,70 @@+import {blur} from '@remotion/effects/blur';+import {noise} from '@remotion/effects/noise';+import {rings} from '@remotion/effects/rings';+import {wave} from '@remotion/effects/wave';+import {+ AbsoluteFill,+ interpolate,+ Solid,+ useCurrentFrame,+ useVideoConfig,+} from 'remotion';++export const SCREEN_RECORDING_DURATION_IN_FRAMES = 280;++export const ScreenRecordingComposition: React.FC = () => {+ const frame = useCurrentFrame();+ const {durationInFrames} = useVideoConfig();++ return (+ <AbsoluteFill>+ <Solid+ width={1080}+ height={1920}+ color={'#191919'}+ style={{+ position: 'absolute',+ }}+ effects={[+ rings({+ colors: ['#000000', '#0b0b0b'],+ center: interpolate(+ frame,+ [0, 279],+ [+ [0, 1],+ [1, 0],+ ],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ ),+ thickness: interpolate(+ frame,+ [0, durationInFrames - 1],+ [84.1, 146.3],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ ),+ gap: 24.8,+ }),+ wave({+ phase: interpolate(frame, [0, durationInFrames - 1], [200, 229], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ }),+ blur({+ radius: 20,+ }),+ noise({+ amount: 0.25,+ }),+ ]}+ />+ </AbsoluteFill>+ );+};diff --git a/packages/jonnys-videos/src/Separate.tsx b/packages/jonnys-videos/src/Separate.tsxnew file mode 100644index 0000000000..31af48ded9--- /dev/null+++ b/packages/jonnys-videos/src/Separate.tsx@@ -0,0 +1,23 @@+import {Video} from '@remotion/media';+import React from 'react';+import {} from 'remotion';+import {asset} from './assets';++export const Separate: React.FC = () => {+ return (+ <>+ <Video+ src={asset('Screen Recording 2026-07-19 at 17.05.25.mov')}+ style={{+ position: 'absolute',+ translate: '-926.2px -220.9px',+ width: 2702,+ height: 1546,+ scale: 0.485,+ borderRadius: 60,+ }}+ playbackRate={0.8}+ />+ </>+ );+};diff --git a/packages/jonnys-videos/src/Setup.tsx b/packages/jonnys-videos/src/Setup.tsxnew file mode 100644index 0000000000..568bee6938--- /dev/null+++ b/packages/jonnys-videos/src/Setup.tsx@@ -0,0 +1,24 @@+import {Video} from '@remotion/media';+import React from 'react';+import {asset} from './assets';++export const Setup: React.FC = () => {+ return (+ <>+ <Video+ src={asset('IMG_7301.MOV')}+ style={{+ position: 'absolute',+ width: 1920,+ height: 1080,+ translate: '-693.8px 420px',+ scale: 1.852,+ }}+ playbackRate={8}+ durationInFrames={72}+ trimBefore={262}+ from={-18}+ />+ </>+ );+};diff --git a/packages/jonnys-videos/src/TextBackgroundComposition.tsx b/packages/jonnys-videos/src/TextBackgroundComposition.tsxnew file mode 100644index 0000000000..d23d3739d3--- /dev/null+++ b/packages/jonnys-videos/src/TextBackgroundComposition.tsx@@ -0,0 +1,120 @@+import {Video} from '@remotion/media';+import {Sequence, interpolate, useCurrentFrame, Easing} from 'remotion';+import {ArrowLogo} from './ArrowLogo';+import {ArrowLogoRemotion} from './ArrowLogoRemotion';+import {asset} from './assets';++export const TEXT_BACKGROUND_DURATION_IN_FRAMES = 226;++export const TextBackgroundComposition: React.FC = () => {+ const frame = useCurrentFrame();+ return (+ <>+ <Sequence>+ <Video+ src={asset('text-background.mov')}+ style={{+ width: 1920,+ height: 1080,+ }}+ muted+ trimBefore={2916}+ durationInFrames={TEXT_BACKGROUND_DURATION_IN_FRAMES}+ />+ </Sequence>+ <Sequence+ name="ArrowLogo"+ width={1920}+ height={1080}+ durationInFrames={137}+ style={{+ position: 'absolute',+ scale: interpolate(frame, [94, 99], [0, 0.606], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ output: 'perceptual-scale',+ easing: [+ Easing.spring({+ damping: 200,+ mass: 1,+ stiffness: 100,+ allowTail: true,+ durationRestThreshold: 0.02,+ overshootClamping: false,+ }),+ ],+ }),+ translate: interpolate(+ frame,+ [94, 99],+ ['-214px -287px', '-262.4px -318.1px'],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: [+ Easing.spring({+ damping: 200,+ mass: 1,+ stiffness: 100,+ allowTail: true,+ durationRestThreshold: 0.02,+ overshootClamping: false,+ }),+ ],+ },+ ),+ transformOrigin: interpolate(frame, [99], ['43.51% 92.58%'], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ rotate: interpolate(frame, [94, 103], ['45deg', '-43deg'], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: [+ Easing.spring({+ damping: 200,+ mass: 1,+ stiffness: 100,+ allowTail: true,+ durationRestThreshold: 0.02,+ overshootClamping: false,+ }),+ ],+ }),+ }}+ from={94}+ >+ <ArrowLogo />+ </Sequence>+ <Sequence+ name="ArrowLogoRemotion"+ width={1920}+ height={1080}+ durationInFrames={240}+ style={{+ position: 'absolute',+ translate: '-202.5px 320.6px',+ scale: interpolate(frame, [134, 140], [0, 0.736], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ output: 'perceptual-scale',+ easing: [+ Easing.spring({+ damping: 200,+ mass: 1,+ stiffness: 100,+ allowTail: true,+ durationRestThreshold: 0.02,+ overshootClamping: false,+ }),+ ],+ }),+ transformOrigin: '50.46% 15.88%',+ }}+ from={134}+ >+ <ArrowLogoRemotion />+ </Sequence>+ </>+ );+};diff --git a/packages/jonnys-videos/src/TextBehindVideoSeriesFirst20s.tsx b/packages/jonnys-videos/src/TextBehindVideoSeriesFirst20s.tsxnew file mode 100644index 0000000000..a1a9664156--- /dev/null+++ b/packages/jonnys-videos/src/TextBehindVideoSeriesFirst20s.tsx@@ -0,0 +1,137 @@+import {Video} from '@remotion/media';+import {+ Composition,+ Easing,+ interpolate,+ useCurrentFrame,+ Sequence,+} from 'remotion';+import {asset} from './assets';+import {Clip5} from './Clip5';++export const TEXT_BEHIND_VIDEO_SERIES_FIRST_20S_DURATION_IN_FRAMES = 190;++export const TextBehindVideoSeriesFirst20sComposition: React.FC = () => {+ const frame = useCurrentFrame();++ return (+ <>+ <Sequence+ name="Clip5"+ width={1080}+ height={1920}+ durationInFrames={300}+ style={{+ position: 'absolute',+ scale: 1.59,+ translate: interpolate(+ frame,+ [19, 29],+ ['1960px -170px', '-450px -170px'],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: [+ Easing.spring({+ damping: 200,+ mass: 1,+ stiffness: 100,+ allowTail: true,+ durationRestThreshold: 0.02,+ overshootClamping: false,+ }),+ ],+ },+ ),+ }}+ from={-1}+ >+ <Clip5 />+ </Sequence>+ <Sequence+ name="Clip5-copy"+ width={1080}+ height={1920}+ durationInFrames={300}+ style={{+ position: 'absolute',+ scale: 1.328,+ translate: interpolate(+ frame,+ [15, 25],+ ['-1650.9px -1291.1px', '234.7px -1291.1px'],+ {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ easing: [+ Easing.spring({+ damping: 200,+ mass: 1,+ stiffness: 100,+ allowTail: true,+ durationRestThreshold: 0.02,+ overshootClamping: false,+ }),+ ],+ },+ ),+ }}+ from={-1}+ >+ <Clip5 />+ </Sequence>+ <Sequence showInTimeline={false}>+ (+ <Video+ src={asset('text-behind-video-series-first-20s.mp4')}+ style={{+ position: 'absolute',+ translate: '-420px 311.8px',+ width: 1920,+ height: 1080,+ scale: interpolate(frame, [9, 14, 19], [0, 0.585, 0.594], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ output: 'perceptual-scale',+ easing: [+ Easing.spring({+ damping: 200,+ mass: 1,+ stiffness: 100,+ allowTail: true,+ durationRestThreshold: 0.02,+ overshootClamping: false,+ }),+ Easing.spring({+ damping: 200,+ mass: 1,+ stiffness: 100,+ allowTail: true,+ durationRestThreshold: 0.02,+ overshootClamping: false,+ }),+ ],+ }),+ }}+ muted+ durationInFrames={190}+ trimBefore={31}+ />+ )+ </Sequence>+ </>+ );+};++export const TextBehindVideoSeriesFirst20s: React.FC = () => {+ return (+ <Composition+ id="TextBehindVideoSeriesFirst20s"+ component={TextBehindVideoSeriesFirst20sComposition}+ durationInFrames={190}+ fps={30}+ width={1080}+ height={1920}+ />+ );+};diff --git a/packages/jonnys-videos/src/TextBehindVideoStack.tsx b/packages/jonnys-videos/src/TextBehindVideoStack.tsxnew file mode 100644index 0000000000..3ff536c82f--- /dev/null+++ b/packages/jonnys-videos/src/TextBehindVideoStack.tsx@@ -0,0 +1,168 @@+import {Video} from '@remotion/media';+import {+ AbsoluteFill,+ Composition,+ Easing,+ Interactive,+ interpolate,+ useCurrentFrame,+} from 'remotion';+import {asset} from './assets';++export const TextBehindVideoStackComposition: React.FC = () => {+ const frame = useCurrentFrame();++ return (+ <AbsoluteFill style={{overflow: 'hidden'}}>+ <Interactive.Div+ name="Background video"+ style={{+ position: 'absolute',+ left: 0,+ top: 0,+ width: 1920,+ height: 1080,+ scale: 0.31,+ transformOrigin: '0% 0%',+ translate: interpolate(+ frame,+ [58, 84],+ ['242.4px 50px', '242.4px 416px'],+ {+ easing: [+ Easing.spring({+ damping: 200,+ mass: 1,+ stiffness: 100,+ allowTail: true,+ durationRestThreshold: 0.02,+ overshootClamping: false,+ }),+ ],+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ ),+ }}+ >+ <Video+ src={asset('text-behind-video-background.webm')}+ from={0}+ trimBefore={330}+ durationInFrames={3343}+ muted+ style={{+ width: 1920,+ height: 1080,+ boxShadow: '0px 0px 50px rgba(255, 255, 255, 0.5)',+ borderRadius: 60,+ }}+ showInTimeline={false}+ />+ </Interactive.Div>+ <Interactive.Div+ name="Text video"+ style={{+ position: 'absolute',+ left: 0,+ top: 0,+ width: 1920,+ height: 1080,+ scale: 0.31,+ transformOrigin: '0% 0%',+ translate: interpolate(+ frame,+ [58, 84],+ ['242.4px 416px', '242.4px 416px'],+ {+ easing: [+ Easing.spring({+ damping: 200,+ mass: 1,+ stiffness: 100,+ allowTail: true,+ durationRestThreshold: 0.02,+ overshootClamping: false,+ }),+ ],+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ ),+ }}+ >+ <Video+ src={asset('text-behind-video-text.webm')}+ from={-625}+ trimBefore={330}+ durationInFrames={3343}+ style={{+ width: 1920,+ height: 1080,+ boxShadow: '0px 0px 50px rgba(255, 255, 255, 0.5)',+ borderRadius: 60,+ }}+ premountFor={30}+ />+ </Interactive.Div>+ <Interactive.Div+ name="Foreground video"+ style={{+ position: 'absolute',+ left: 0,+ top: 0,+ width: 1920,+ height: 1080,+ scale: 0.31,+ transformOrigin: '0% 0%',+ translate: interpolate(+ frame,+ [58, 84],+ ['242.4px 782px', '242.4px 416px'],+ {+ easing: [+ Easing.spring({+ damping: 200,+ mass: 1,+ stiffness: 100,+ allowTail: true,+ durationRestThreshold: 0.02,+ overshootClamping: false,+ }),+ ],+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ ),+ }}+ >+ <Video+ src={asset('text-behind-video-foreground.webm')}+ from={0}+ trimBefore={330}+ durationInFrames={3343}+ style={{+ width: 1920,+ height: 1080,+ boxShadow: '0px 0px 50px rgba(255, 255, 255, 0.5)',+ borderRadius: 60,+ }}+ showInTimeline={false}+ />+ </Interactive.Div>+ </AbsoluteFill>+ );+};++export const TextBehindVideoStack: React.FC = () => {+ return (+ <Composition+ id="TextBehindVideoStack"+ component={TextBehindVideoStackComposition}+ durationInFrames={3343}+ fps={30}+ width={1080}+ height={1920}+ />+ );+};diff --git a/packages/jonnys-videos/src/UnrulyOutcome.tsx b/packages/jonnys-videos/src/UnrulyOutcome.tsxnew file mode 100644index 0000000000..644271c922--- /dev/null+++ b/packages/jonnys-videos/src/UnrulyOutcome.tsx@@ -0,0 +1,113 @@+import React from 'react';+import {AbsoluteFill, Interactive} from 'remotion';++export const UNRULY_OUTCOME_DURATION_IN_FRAMES = 81;++const OUTCOMES = [+ 'bait and switch',+ 'sell to highest bidder',+ 'acquihire by big tech',+ 'become a cloud',+ 'go broke',+] as const;++const OutcomeRow: React.FC<{item: string; index: number}> = ({item, index}) => {+ return (+ <Interactive.Div+ name={`Outcome ${index + 1}: ${item}`}+ style={{+ alignItems: 'center',+ display: 'flex',+ height: 126,+ padding: '0 24px 18px 18px',+ position: 'relative',+ rotate: `${[-1.1, 0.45, -0.35, 0.8, -0.65][index]}deg`,+ }}+ >+ <svg+ viewBox="0 0 960 32"+ preserveAspectRatio="none"+ style={{+ bottom: 0,+ height: 32,+ left: 0,+ overflow: 'visible',+ position: 'absolute',+ width: '100%',+ }}+ >+ <path+ d="M4 18 C150 8 302 26 456 17 C620 8 785 23 956 14"+ fill="none"+ stroke="rgba(113, 165, 255, 0.62)"+ strokeLinecap="round"+ strokeWidth="3.5"+ />+ <path+ d="M10 24 C190 19 338 29 500 23 C684 17 824 28 948 21"+ fill="none"+ stroke="rgba(113, 165, 255, 0.2)"+ strokeLinecap="round"+ strokeWidth="2"+ />+ </svg>+ <div+ style={{+ alignItems: 'center',+ border: '4px solid #ff563d',+ borderRadius: '51% 44% 53% 46%',+ color: '#ff674f',+ display: 'flex',+ flex: '0 0 68px',+ fontFamily:+ "Noteworthy, 'Bradley Hand', 'Marker Felt', 'Comic Sans MS', cursive",+ fontSize: 43,+ fontWeight: 700,+ height: 68,+ justifyContent: 'center',+ lineHeight: 1,+ marginRight: 30,+ rotate: `${[-5, 4, -3, 5, -4][index]}deg`,+ }}+ >+ {index + 1}+ </div>+ <div+ style={{+ color: '#f5f0dc',+ fontFamily:+ "Noteworthy, 'Bradley Hand', 'Marker Felt', 'Comic Sans MS', cursive",+ fontSize: 64,+ fontWeight: 700,+ letterSpacing: 0.4,+ lineHeight: 1,+ textShadow: '0 3px 0 rgba(0, 0, 0, 0.3)',+ }}+ >+ {item}+ </div>+ </Interactive.Div>+ );+};++export const UnrulyOutcome: React.FC = () => {+ return (+ <AbsoluteFill style={{overflow: 'hidden'}}>+ <div+ style={{+ display: 'flex',+ flexDirection: 'column',+ gap: 12,+ left: 58,+ position: 'absolute',+ right: 58,+ top: 135,+ }}+ >+ {OUTCOMES.map((item, index) => (+ <OutcomeRow key={item} item={item} index={index} />+ ))}+ </div>+ </AbsoluteFill>+ );+};diff --git a/packages/jonnys-videos/src/VibeCoded.tsx b/packages/jonnys-videos/src/VibeCoded.tsxnew file mode 100644index 0000000000..973b01ac15--- /dev/null+++ b/packages/jonnys-videos/src/VibeCoded.tsx@@ -0,0 +1,31 @@+import {Video} from '@remotion/media';+import React from 'react';+import {interpolate, useCurrentFrame} from 'remotion';+import {asset} from './assets';++export const VibeCoded: React.FC = () => {+ const frame = useCurrentFrame();+ return (+ <>+ <Video+ src={asset('Screen Recording 2026-07-19 at 17.43.33.mov')}+ style={{+ position: 'absolute',+ translate: '-811px -351.1px',+ width: 2702,+ height: 1492,+ scale: interpolate(frame, [0, 111], [0.398, 0.52], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ output: 'perceptual-scale',+ }),+ borderRadius: 60,+ }}+ durationInFrames={154}+ trimBefore={3409}+ playbackRate={2}+ from={-4}+ />+ </>+ );+};diff --git a/packages/jonnys-videos/src/ZurichPhoto.tsx b/packages/jonnys-videos/src/ZurichPhoto.tsxnew file mode 100644index 0000000000..e0ecf9e67a--- /dev/null+++ b/packages/jonnys-videos/src/ZurichPhoto.tsx@@ -0,0 +1,99 @@+import React from 'react';+import {+ AbsoluteFill,+ CanvasImage,+ Easing,+ Interactive,+ interpolate,+ useCurrentFrame,+} from 'remotion';+import {asset} from './assets';++export const ZURICH_PHOTO_DURATION_IN_FRAMES = 48;++export const ZurichPhoto: React.FC = () => {+ const frame = useCurrentFrame();++ return (+ <AbsoluteFill style={{overflow: 'hidden'}}>+ <Interactive.Div+ name="Zurich full-screen photograph"+ style={{+ inset: 0,+ opacity: interpolate(frame, [0, 5, 40, 47], [0, 1, 1, 0], {+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ }),+ overflow: 'hidden',+ position: 'absolute',+ }}+ >+ <CanvasImage+ name="Zurich Bahnhofstrasse photograph"+ src={asset('zurich-bahnhofstrasse.jpg')}+ style={{+ filter: 'saturate(1.04) contrast(1.02)',+ height: 1920,+ left: -300,+ position: 'absolute',+ scale: interpolate(frame, [0, 47], [1.035, 1], {+ easing: Easing.bezier(0.16, 1, 0.3, 1),+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ output: 'perceptual-scale',+ }),+ top: 0,+ width: 2560,+ }}+ />+ <Interactive.Div+ name="Caption contrast gradient"+ style={{+ background:+ 'linear-gradient(180deg, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0.08) 51%, rgba(0, 0, 0, 0.52) 82%, rgba(0, 0, 0, 0.68) 100%)',+ inset: 0,+ position: 'absolute',+ }}+ />+ <CanvasImage+ name="Flying Zurich watch"+ src={asset('zurich-watch-cutout.png')}+ style={{+ filter: 'drop-shadow(0 28px 24px rgba(0, 0, 0, 0.46))',+ height: 480,+ left: 0,+ position: 'absolute',+ rotate: interpolate(+ frame,+ [0, 24, 47],+ ['-18deg', '8deg', '30deg'],+ {+ easing: Easing.bezier(0.22, 0.72, 0.24, 1),+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ ),+ scale: interpolate(frame, [0, 24, 47], [0.68, 1.06, 0.72], {+ easing: Easing.bezier(0.22, 0.72, 0.24, 1),+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ output: 'perceptual-scale',+ }),+ top: 0,+ translate: interpolate(+ frame,+ [0, 24, 47],+ ['-850px 980px', '180px 560px', '1250px 120px'],+ {+ easing: Easing.bezier(0.22, 0.72, 0.24, 1),+ extrapolateLeft: 'clamp',+ extrapolateRight: 'clamp',+ },+ ),+ width: 720,+ }}+ />+ </Interactive.Div>+ </AbsoluteFill>+ );+};diff --git a/packages/jonnys-videos/src/assets.ts b/packages/jonnys-videos/src/assets.tsnew file mode 100644index 0000000000..c755d2fa47--- /dev/null+++ b/packages/jonnys-videos/src/assets.ts@@ -0,0 +1,5 @@+const ASSET_BASE_URL = 'https://remotion.media/disco-light-show/';++export const asset = (filename: string) => {+ return `${ASSET_BASE_URL}${encodeURIComponent(filename)}`;+};diff --git a/packages/jonnys-videos/src/index.ts b/packages/jonnys-videos/src/index.tsnew file mode 100644index 0000000000..b2782ee904--- /dev/null+++ b/packages/jonnys-videos/src/index.ts@@ -0,0 +1,6 @@+import {registerProresDecoder} from '@mediabunny/prores';+import {registerRoot} from 'remotion';+import {RemotionRoot} from './Root';++registerProresDecoder();+registerRoot(RemotionRoot);diff --git a/packages/jonnys-videos/src/paginate-captions.ts b/packages/jonnys-videos/src/paginate-captions.tsnew file mode 100644index 0000000000..1e02164a24--- /dev/null+++ b/packages/jonnys-videos/src/paginate-captions.ts@@ -0,0 +1,103 @@+import type {Caption, TikTokPage, TikTokToken} from '@remotion/captions';+import {createTikTokStyleCaptions} from '@remotion/captions';++const SENTENCE_END = /[.!?…]["'”’)\]]*$/u;++const splitIntoSentences = (captions: Caption[]): Caption[][] => {+ const sentences: Caption[][] = [];+ let sentence: Caption[] = [];++ for (const caption of captions) {+ sentence.push(caption);++ if (SENTENCE_END.test(caption.text.trim())) {+ sentences.push(sentence);+ sentence = [];+ }+ }++ if (sentence.length > 0) {+ sentences.push(sentence);+ }++ return sentences;+};++const toToken = (caption: Caption, isFirst: boolean): TikTokToken => ({+ text: isFirst ? caption.text.trimStart() : caption.text,+ fromMs: caption.startMs,+ toMs: caption.endMs,+});++const rebalanceSentence = ({+ captions,+ pageCount,+}: {+ captions: Caption[];+ pageCount: number;+}): TikTokPage[] => {+ const wordsPerPage = Math.floor(captions.length / pageCount);+ const pagesWithExtraWord = captions.length % pageCount;+ const pages: TikTokPage[] = [];+ let cursor = 0;++ for (let pageIndex = 0; pageIndex < pageCount; pageIndex++) {+ const wordCount = wordsPerPage + (pageIndex < pagesWithExtraWord ? 1 : 0);+ const pageCaptions = captions.slice(cursor, cursor + wordCount);+ const nextCaption = captions[cursor + wordCount];+ const startMs = pageCaptions[0].startMs;+ const endMs = nextCaption+ ? nextCaption.startMs+ : pageCaptions[pageCaptions.length - 1].endMs;+ const tokens = pageCaptions.map((caption, tokenIndex) =>+ toToken(caption, tokenIndex === 0),+ );++ pages.push({+ text: tokens+ .map((token) => token.text)+ .join('')+ .trimStart(),+ startMs,+ tokens,+ durationMs: endMs - startMs,+ });++ cursor += wordCount;+ }++ return pages;+};++/**+ * Keeps the library's time-based page cadence, but never crosses a sentence+ * boundary. Once a sentence is complete, its words are spread evenly across+ * the number of pages the default paginator would have produced.+ */+export const createSentenceAwareCaptionPages = ({+ captions,+ combineTokensWithinMilliseconds,+}: {+ captions: Caption[];+ combineTokensWithinMilliseconds: number;+}): TikTokPage[] => {+ return splitIntoSentences(captions).flatMap((sentence) => {+ const visibleCaptions = sentence.filter(+ (caption) => caption.text.trim().length > 0,+ );++ if (visibleCaptions.length === 0) {+ return [];+ }++ const defaultPageCount = createTikTokStyleCaptions({+ captions: visibleCaptions,+ combineTokensWithinMilliseconds,+ }).pages.length;++ return rebalanceSentence({+ captions: visibleCaptions,+ pageCount: defaultPageCount,+ });+ });+};diff --git a/packages/jonnys-videos/tsconfig.json b/packages/jonnys-videos/tsconfig.jsonnew file mode 100644index 0000000000..083f42b70b--- /dev/null+++ b/packages/jonnys-videos/tsconfig.json@@ -0,0 +1,11 @@+{+ "extends": "../tsconfig.settings.json",+ "compilerOptions": {+ "module": "Preserve",+ "esModuleInterop": true,+ "skipLibCheck": true,+ "jsx": "react-jsx",+ "noEmit": true+ },+ "include": ["src"]+}diff --git a/tsconfig.json b/tsconfig.jsonindex 81aeabe508..c8b25a849c 100644--- a/tsconfig.json+++ b/tsconfig.json@@ -246,6 +246,9 @@{"path": "./packages/example-videos"},+ {+ "path": "./packages/jonnys-videos"+ },{"path": "./packages/zod-types"},