Computer Science 112
The Art & Science of Computer Graphics
Fall 2015, The College of Saint Rose
Lecture 22: More Functions, Beginning Animation
Date: Wednesday, November 18, 2015
Agenda
- Announcements
- Studio/Lab 9: Programmed Replication
should be wrapping up soon
- Discuss the your ideas for the final project this week!
- There will be one more Studio/Lab assignment about
animation, due on the last day of the semester. Details Friday.
- Exam 2 information
- Wednesday, December 2, available starting at 8:15 AM, Albertus 303
- topics covered are up to today (blend and morph,
but not animation)
- ground rules: closed book, closed notes, closed neighbors,
no electronic devices permitted
- practice exam out
- interest in and availability for a review session on December 1?
- Lecture 21 assignment recap
- Functions dealing with lists and tuples
- A first animation
- blend and morph
Lecture 22 Assignment
Due at the start of class, Friday, November 20.
Please submit answers to these questions
either as a hard copy (typeset or handwritten are OK) or by email to
terescoj AT strose.edu by the start of class. Please use a clear subject line
when submitting by email (e.g., CSC 112 Lecture
22 Assignment , Joe Student). We will discuss these
questions at the start of class, so no late submissions are
accepted.
- Write a function lighterHSV, similar in format to the
lighterRGB function, that returns a lighter shade of a given
HSV color. (5 points)
- Suppose you have defined the names a and b to refer to
two points in space, and you wish to find the point that is one
fourth of the way along the line from a to b. Show a
blend function call that will compute this point's
coordinates. (5 points)
- What is returned by this Ambrosia statement? (Try to figure it out
before typing it in - you'll need to be able to do this
on an exam.) (3 points)
morph(5, (0, 50, -100), (100, -150, -100))
Terminology
- tuple
- animation
- frames
- adjustment function
- blend
- linear interpolation
Examples