start and end
Browse files
Remotion-app/src/HelloWorld/ImageStream.jsx
CHANGED
@@ -28,7 +28,11 @@ 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 |
+
[
|
32 |
+
fps * entry.start,
|
33 |
+
fps * entry.start + 2 * (durationInFrames / 4),
|
34 |
+
fps * entry.start + durationInFrames,
|
35 |
+
],
|
36 |
[1, 1.2, 1],
|
37 |
{extrapolateRight: 'clamp'}
|
38 |
);
|