Mbonea commited on
Commit
52fe1f9
·
1 Parent(s): 35c3d69

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 + fps * entry.start,
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
  );
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 (