removed clamp
Browse files
Remotion-app/src/HelloWorld/ImageStream.jsx
CHANGED
@@ -27,14 +27,14 @@ export default function ImageStream() {
|
|
27 |
const durationInFrames = (entry.end - entry.start) * fps;
|
28 |
|
29 |
const zoom = interpolate(
|
30 |
-
frame
|
31 |
[
|
32 |
fps * entry.start,
|
33 |
fps * entry.start + 2 * (durationInFrames / 4),
|
34 |
-
fps * entry.
|
35 |
],
|
36 |
-
[1, 1.2, 1]
|
37 |
-
{extrapolateRight: 'clamp'}
|
38 |
);
|
39 |
|
40 |
return (
|
|
|
27 |
const durationInFrames = (entry.end - entry.start) * fps;
|
28 |
|
29 |
const zoom = interpolate(
|
30 |
+
frame,
|
31 |
[
|
32 |
fps * entry.start,
|
33 |
fps * entry.start + 2 * (durationInFrames / 4),
|
34 |
+
fps * entry.end,
|
35 |
],
|
36 |
+
[1, 1.2, 1]
|
37 |
+
// {extrapolateRight: 'clamp'}
|
38 |
);
|
39 |
|
40 |
return (
|