Computer Science 110 |
Please submit answers to these questions either as a hard copy (typeset or handwritten are OK) or by email to jteresco AT mtholyoke.edu by the start of class. We will discuss these questions at the start of class, so no late submissions are accepted. 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 ) )