0% found this document useful (0 votes)
144 views6 pages

Chapter 05: Animation: Part 1: Key Team Quiz

The document discusses animation principles and techniques. It includes a quiz with multiple choice questions about key animation concepts like persistence of vision, tweening, morphing, and frame rates. It also provides instructions for using the Pencil2D software to create an animation based on 12 principles and export it. Finally, it introduces the Python pyglet library and provides basic code examples for creating a window, loading and playing animations, videos and audio.

Uploaded by

Hồng Nhung
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
144 views6 pages

Chapter 05: Animation: Part 1: Key Team Quiz

The document discusses animation principles and techniques. It includes a quiz with multiple choice questions about key animation concepts like persistence of vision, tweening, morphing, and frame rates. It also provides instructions for using the Pencil2D software to create an animation based on 12 principles and export it. Finally, it introduces the Python pyglet library and provides basic code examples for creating a window, loading and playing animations, videos and audio.

Uploaded by

Hồng Nhung
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Faculty of information technology, Hanoi University Multimedia

CHAPTER 05: ANIMATION


Part 1: Key Team Quiz

1. An object seen by the human eye remains chemically mapped on the retina for a brief time
after viewing. This phenomenon is called _______________.
2. The human mind needs to conceptually complete a perceived action. This phenomenon is
called _______________.
3. To make an object travel across the screen while it changes its shape, just change the shape
and also move or _______________ it a few pixels for each frame.
4. The animation technique made famous by Disney involves showing a different image for each
frame. This technique is called _______________ animation.
5. The first and last frames of an action are called _______________.
6. The series of frames in between the first and last frames in an action are drawn in a process
called _______________.
7. In computer animation terminology, _______________ usually refers to special methods that
allow images to blend or otherwise mix their colors to produce special transparencies, inversions,
and effects.
8. The study of the movement and motion of structures that have joints is called
_______________. 9. The effect in which one image transforms into another is known as
_______________.

Part 2: Multiple Choice 1


1. Most authoring packages include visual effects such as:
a. panning, zooming, and tilting
b. wipes, fades, zooms, and dissolves
c. morphing
d. tweening
e. inverse kinematics
2. The term cel derives from:
a. the concept of each action in a sequence being a separate element or “cell”
b. the fact that the inks used in early animations were based on extracts from celery plants
c. an abbreviation of the phrase “composite element”
d. the fact that the first animations were the work of communist dissidents who were organized
into cells
e. the clear celluloid sheets that were used for drawing each frame
3. Which of these is not a reason why animation is perceived as motion?
a. An image remains in the eye chemically for a brief time after viewing.
b. Our mind tries to “connect the dots” by completing perceived actions.
c. The use of darker colors for moving objects is interpreted by the mind as motion.
d. A sequence of images is read as continuous motion.
e. All of the above are valid reasons.
4. Movies on film are typically shot at a shutter rate of:
a. 15 frames per second

Tutor: Nguyen Huy Anh


Faculty of information technology, Hanoi University Multimedia

b. 24 frames per second


c. 29.97 frames per second
d. 30 frames per second
e. 48 frames per second
5. The clear sheets that were used for drawing each frame of animation have been replaced today
by:
a. acetate or plastic
b. titanium
c. fiberglass
d. epoxy resin
e. digital paper
6. Today’s computer animation programs most closely resemble:
a. film “rotoscoping” techniques
b. the “phi” phenomenon described by Carl Jung
c. neuro-kinetics techniques pioneered by NASA
d. traditional cel animation
e. none of the above
7. The technical limitation you are likely to encounter in creating animations is:
a. the monitor’s refresh rate
b. the computer’s processing capability
c. the ability to accurately calculate physical actions
d. the “persistence of vision” phenomenon 2
e. the monitor’s color gamut
8. In general, the animation may appear jerky and slow if each frame is displayed for more than
about:
a. 1/30 of a second
b. 1/15 of a second
c. 1/4 of a second
d. 1/2 of a second
e. 1 second
9. The process in which you link objects such as hands to arms and define their relationships and
limits (for example, elbows cannot bend backward), then drag these parts around and let the
computer calculate the result is called:
a. rotoscoping
b. de-morphing
c. meta-articulation
d. cyber-motion
e. inverse kinematics
10. To create a smooth transition between two images when morphing, it’s important to set
numerous:
a. layers
b. keyframes
c. key points

Tutor: Nguyen Huy Anh


Faculty of information technology, Hanoi University Multimedia

d. anchor tags
e. splines
11. The standard frame rate of computer animations is:
a. 10 frames per second
b. 15 frames per second
c. 24 frames per second
d. 30 frames per second
e. There is no standard; it depends on the file’s settings.
12. Today, the most widely used tool for creating vector-based animations is:
a. Adobe’s Flash
b. Adobe’s GoLive
c. Corel’s CorelDraw
d. Microsoft’s KineMatix
e. Activa’s InterStudio
13. The Director file format has which extension?
a. .dir and .dcr
b. .fli and .flc
c. .avi
d. .qt, .mov
e. .mpeg or .mpg
14. The file format that is most widely supported for web animations is:
a. PICT 3
b. .DCR
c. GIF89a
d. JPEG
e. AIFF
15. To keep the post-compression file size at absolute minimums, Flash makes extensive use of:
a. inverse kinematics
b. cel-type animation
c. vector graphics
d. inks
e. NURBS

Part 3: Using Pencil2D to create your own animation based on 12 basic principles and export to
mp4 files. Each principle should be in 1 separate file.
Upload one of your clip to the course page.

Tutor: Nguyen Huy Anh


Faculty of information technology, Hanoi University Multimedia

Part 4: Install Pyglet to python, learn pyglet follow basic code:

- Hello Pyglet:
import pyglet
window = pyglet.window.Window()
label = pyglet.text.Label("Hello Pyglet Applications", font_name="Times New Roman",
font_size=35,
x=window.width /2, y = window.height/2,
anchor_x='center', anchor_y='center')
@window.event
def on_draw():
window.clear()
label.draw()

pyglet.app.run()

- Adding GIF image and application: Use your animation file

import pyglet

animation = pyglet.image.load_animation('unnamed.gif') 4
animSprite = pyglet.sprite.Sprite(animation)

w = animSprite.width
h = animSprite.height

window = pyglet.window.Window(width=w, height=h)

r,g,b,alpha = 0.5,0.5,0.8,0.5

pyglet.gl.glClearColor(r,g,b,alpha)

@window.event
def on_draw():
window.clear()
animSprite.draw()

pyglet.app.run()

- Playing Video: Use your video file

Tutor: Nguyen Huy Anh


Faculty of information technology, Hanoi University Multimedia

import pyglet

vidPath = 'football.mp4'
window= pyglet.window.Window()
player = pyglet.media.Player()
source = pyglet.media.load(vidPath)

player.queue(MediaLoad)
player.play()

@window.event
def on_draw():
if player.source and player.source.video_format:
player.get_texture().blit(50,50)

pyglet.app.run()

- Playing MP3: Use your mp3 file

import pyglet
5
music = pyglet.resource.media(‘guitar.mp3’, streaming=False)
music.play()

pyglet.app.run()

- Key Pressed:

import pyglet
from pyglet.window import key

window = pyglet.window.Window()

@window.event
def on_key_press(symbol, modifiers):
if symbol == key.A:
print('A key was pressed')

elif symbol == key.B:


print('B key was pressed')

Tutor: Nguyen Huy Anh


Faculty of information technology, Hanoi University Multimedia

elif symbol == key.ENTER:


print('ENTER Key was pressed')

Tutor: Nguyen Huy Anh

You might also like