cool beans
Browse files
Remotion-app/src/HelloWorld/ImageStream.jsx
CHANGED
@@ -62,6 +62,17 @@ const Images = ({entry}) => {
|
|
62 |
},
|
63 |
0
|
64 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
return tlContainer;
|
66 |
};
|
67 |
return (
|
|
|
62 |
},
|
63 |
0
|
64 |
);
|
65 |
+
tlContainer.to("#imagex", {
|
66 |
+
duration: 2, // Total duration for one loop
|
67 |
+
ease: "power1.inOut",
|
68 |
+
motionPath: {
|
69 |
+
path: "M0,0 C50,0 100,50 100,100 C100,150 50,200 0,200 C-50,200 -100,150 -100,100 C-100,50 -50,0 0,0",
|
70 |
+
align: "#imagex",
|
71 |
+
alignOrigin: [0.5, 0.5],
|
72 |
+
autoRotate: false
|
73 |
+
}
|
74 |
+
});
|
75 |
+
|
76 |
return tlContainer;
|
77 |
};
|
78 |
return (
|