Skip to content

🎥 Make videos programmatically with React

visual mode test folder

JonnyBurgerf48ffa30979e
diff --git a/packages/example/src/Root.tsx b/packages/example/src/Root.tsx
index 7d720def71..44802bffbd 100644
--- a/packages/example/src/Root.tsx
+++ b/packages/example/src/Root.tsx
@@ -160,6 +160,7 @@ import {VideoTestingPlayback} from './VideoTesting/playback';
import {VideoTestingTrim} from './VideoTesting/trim';
import {RemotionMediaVideoTexture} from './VideoTexture';
import {VisualControls} from './VisualControls';
+import {FastUpdates} from './VisualModeTests/FastUpdates';
import {VoiceVisualization} from './voice-visualization';
import {WhisperWeb} from './WhisperWeb';
@@ -1894,6 +1895,16 @@ export const Index: React.FC = () => {
durationInFrames={165}
/>
</Folder>
+ <Folder name="VisualModeTests">
+ <Composition
+ id="fast-updates"
+ component={FastUpdates}
+ width={1080}
+ height={1080}
+ fps={30}
+ durationInFrames={60}
+ />
+ </Folder>
<ChangingTrimBeforeValue />
<Composition
id="browser-test"
diff --git a/packages/example/src/VisualModeTests/FastUpdates.tsx b/packages/example/src/VisualModeTests/FastUpdates.tsx
new file mode 100644
index 0000000000..5d298981d4
--- /dev/null
+++ b/packages/example/src/VisualModeTests/FastUpdates.tsx
@@ -0,0 +1,11 @@
+import {LightLeak} from '@remotion/light-leaks';
+import React from 'react';
+import {AbsoluteFill} from 'remotion';
+
+export const FastUpdates: React.FC = () => {
+ return (
+ <AbsoluteFill style={{backgroundColor: 'black'}}>
+ <LightLeak durationInFrames={60} seed={1} hueShift={0} />
+ </AbsoluteFill>
+ );
+};