-
git clone https://github.com/Non1ce/Intro_to_GIF.git
-
Next, go to the website Codepen and upload:
- index.html to the section HTML;
- script.js to the section JS; (The Typeit library was used for text animation, detailed documentation is provided on the website)
- style.css to the section CSS.
-
We edit the text using the Typeit library and record a video of the script using any available video editor.
-
Install the program FFmpeg and run the module
main.py
, converting video to gif using the ffmpeg-python library. -
At the end, using Adobe Photoshop, we apply a mask with rounded corners to the gif (first video, second video) and save the file in gif format.