initialize the frame
Browse files
Remotion-app/src/HelloWorld/ImageStream.jsx
CHANGED
|
@@ -28,7 +28,7 @@ export default function ImageStream() {
|
|
| 28 |
|
| 29 |
const zoom = interpolate(
|
| 30 |
frame,
|
| 31 |
-
[
|
| 32 |
[1, 1.2, 1],
|
| 33 |
{extrapolateRight: 'clamp'}
|
| 34 |
);
|
|
|
|
| 28 |
|
| 29 |
const zoom = interpolate(
|
| 30 |
frame,
|
| 31 |
+
[frame, frame + 2 * (durationInFrames / 4), frame + durationInFrames],
|
| 32 |
[1, 1.2, 1],
|
| 33 |
{extrapolateRight: 'clamp'}
|
| 34 |
);
|