Predefined Image Functions

In DrScheme's Definitions Window:
Step 1: Type your first and last name inside quotation marks. (For example, I would type "Adam Wittenstein"). Then hit enter. Then type the following: "Lab #3: March 28, 2006". Then hit enter.
Step 2: Using a picture from your computer or a website, define it as a variable.
Step 3: Install the "world.ss" teachpack. (You dont need a website, as it should already be in the Teachpack folder.)
Step 4: Press Run.


In the Interactions Window:
Step 5: Using the predefined function rectangle, have DrScheme draw a solid red rectangle that is 50 by 100.
Step 6: Using the predefined function circle, have DrScheme draw a solid blue circle with a radius of 25.
Step 7: Using the predefined function triangle, have DrScheme draw an outline of an green equilateral triangle with sides of 50 pixels each.
Step 8: Find the length and width of the picture you defined in Step 2.
Step 9: Use a predefined function to put the rectangle (from earlier) on top of the circle. Then put the circle on top of the rectangle. Is there any difference? If so, what?


When you are finished:
Save the Definitions Window as [last-name]328def.scm.
Save the Interactions Window as [last-name]328int.scm.
E-mail me both of these files by 11:59 p.m. tonight.



Last Modified: 3/28/06