layout: default title: "A4: Animation" permalink: /animation/ nav_order: 7 has_children: true has_toc: false

Animation Overview

There are four primary components that must be implemented to support Animation functionality.



Each task is described at the linked page.

Converting Frames to Video

Additionally, we will ask you to create your own animation. Once you've rendered out each frame of your animation, you can combine them into a video by using:

ffmpeg -r 30 -f image2 -s 640x360 -pix_fmt yuv420p -i ./%4d.png -vcodec libx264 out.mp4

You may want to change the default 30 and 640x360 to the frame rate and resolution you chose to render at.

If you don't have ffmpeg installed on your system, you can get it through most package managers, or you can download it directly. Alternatively, you may use your preferred video editing tool.

Table of Content