[Tutorial] Learn to Create Videos with Code Using Remotion
Blog post from Prismic
Remotion is a framework that enables web developers to leverage their existing JavaScript, HTML, and CSS skills to create videos using code, built on top of React. It allows for the creation of dynamic and personalized video content, such as slideshows or generative art, by using tools like the Remotion Preview tool to view videos during coding and fetching data from external sources like GitHub. The guide details setting up a Remotion project using Node.js and FFMPEG, using the Remotion CLI, and exploring ways to animate components with functions like useCurrentFrame and spring. It also highlights the importance of deterministic code for animations and provides techniques for making videos responsive and incorporating data fetching using GraphQL. Through a hands-on project, developers learn to create a video that dynamically updates by fetching GitHub contributions and applying CSS for layout purposes. The tutorial emphasizes starting with a finished composition before adding animations and concludes with instructions on rendering the final video using Remotion's rendering commands.