Computer Science 110
The Art & Science of Computer Graphics

Mount Holyoke College
Spring 2010


Lecture 03: Objects and Groups
Date: Wednesday, February 3, 2010



Agenda


Lecture Assignment 03

Due at the start of class, Monday, February 8.

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.

  1. Write (or type) out a Mead definition for a four-legged table, and Mead code that will add two such tables to a scene. You need not run this is DrScheme or generate an image, but you may do so if you wish.
  2. Describe the size and location of each of the cubes added with the following Mead code:
          (add cube redPlaster
               (compose
                (translate 100 0 0)
                (scale 2 2 2)
                )
           )
          (add cube bluePlaster
               (compose
                (scale 2 2 2)
                (translate 100 0 0)
                )
          )
    


Examples