Animation on web pages
Answers are for parents and teachers.
1
How many frames are in 8 seconds of a 25 fps animation?
200
2
If the keyframes are frames 1 and 31, how many in-between frames are there?
29
3
At frame 1 x = 0, at frame 31 x = 300, uniform motion. What is x at frame 16?
150
4
Which of CSS and GIF can also move text and buttons, and why?
CSS: it applies to HTML elements (text, buttons, pictures), while a GIF is a finished picture.
5
Write two rules to reduce the seizure risk when creating animations.
Do not flash more than 3 times a second; switch animation off when reduced motion is requested.