<%@LANGUAGE="VBSCRIPT" %> <% Response.CacheControl = "no-cache" %>
Lab 06 (Due by END of Lab on Feb 19)

Overview

This lab will allow you to practice creating scenes using the graphics primitives supplied by Processing.

Assignment

Duplicate as close as possible the picture below:

  • You must create (at least) the following methods that will be called from within draw(): drawPerson(), drawSun().
  • You are welcome to create as many other additional methods as you see fit to help you recreate the scene above.
  • You will not be penalized for inexact color match, or inexact placement of scene objects. That said, a casual observer should be able to tell at a glance that these are approximately the same image.
  • 5 extra credit points to be applied to the midterm if you are able to get the scene to (proportionally) resize when the display window is resized. No partial credit on this; it resizes correctly and you get five points extra, or it doesn't and you get zero extra.
    Some hints:
    • Call: frame.setResizable(true); from within setup.
    • The variables: "width" and "height" are reserved variables in Processing. They tell you the current width and height of the display window.


Grading

You will be graded on whether or not your program works as specified in the assignment, the readability of your code, and the correctness of your output. You may use any API Objects or calls that you like.