Computer Science 112
The Art & Science of Computer Graphics

Spring 2013, The College of Saint Rose

Lecture 23: More Animation
Date: Thursday, April 18, 2013


Agenda

Lecture Assignment 23

Due at the start of class, Tuesday, April 23.

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 Assignment 23, Joe Student). We will discuss these questions at the start of class, so no late submissions are accepted.

(10 points) Suppose you wish to use a film message to the camera to create an animation. Assume that you have an adjustment function called adjFunc. It expects two parameters: a position and a color. Don't worry about what objects adjFunc uses with these positions and colors. Assume you want to create an animation with 25 frames and that you wish to have the positions vary according to a cubic bezier path defined by positions you have named a, b, c, and d, and that you would like the colors to vary from white at the beginning to red at the end. Fill in the film message below:

(define a ...)
(define b ...)
(define c ...)
(define d ...)
(define (adjFunc pos color) ...)

(tell camera
   (film


   )
)

Examples