Computer Science 110
The Art & Science of Computer Graphics

Mount Holyoke College
Spring 2010

Lecture 19: Advanced Animation
Date: Wednesday, April 14, 2010


Lecture Assignment 19

Due at the start of class, Monday, April 19.

Please submit answers to these questions either as a hard copy (typeset or handwritten are OK) or by email to jteresco AT by the start of class. We will discuss these questions at the start of class, so no late submissions are accepted.

  1. Write a function that could replace the sinBall function in the SineBall example, but is more flexible. It should take appropriate parameters that specify the values I have coded in as "50" and "100".
  2. Still in the SineBall example, what would happen if we were to change the "tell ball" in the (original) sinBall function to "tell littleRedSphere"? Explain briefly. Try to figure this out without running the modified version in DrScheme.