|
Computer Science 110 The Art & Science of Computer Graphics Mount Holyoke College Spring 2010
|
|
Lecture 19: Advanced Animation
Date: Wednesday, April 14, 2010
Agenda
- Announcements
- No office hours or formal lab session on Friday.
- Looking ahead: exam 2 weeks from today, in class.
- More advanced animation
- absolute vs. relative transformation
- order of transformation application for named components
- mathematical functions of parameters
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 mtholyoke.edu by the start of class. We will discuss these questions at
the start of class, so no late submissions are accepted.
- 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".
- 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.
Examples
- WindTurbine
- WindTurbines
- MovingCubes
- SineBall