Serena Hillman

From BioV
Revision as of 04:56, 16 October 2009 by Shillman (talk | contribs) (Assignment #2)
Jump to navigation Jump to search

Assignment #1

Project #1

Assignment #2

  • Assignment #2-01 Using beginShape() and endShape(), create a composition with five or more vertices.
  • Assignment #2-02 Using beginShape() and endShape(), create a composition with ten or more vertices.
  • Assignment #2-03 Create an image different from A2-02, but using the same vertex data.
  • Assignment #2-04 Write a function with one parameter and demonstrate it visually.
  • Assignment #2-05 Write a function for drawing triangles and visually demonstrate its flexibility.
  • Assignment #2-06 Write a function with three or more parameters and visually demonstrate its flexibility.
  • Assignment #2-07 Create a dynamic animation using the cos() function as a generator for motion.
  • Assignment #2-08 Create a dynamic animation using the cos() and sin() function as a generator for motion.
  • Assignment #2-09 Move two visual elements across the screen using the random() function as a generator of movement. Give each element a unique nonlinear motion.
  • Assignment #2-10 Create an event that begins when the mouse is pressed and ends when the mouse is released.
  • Assignment #2-11 Create a responsive image that behaves differently when the mouse is moving and the mouse is dragging.
  • Assignment #2-12 Create a button that changes the color of the background when it is clicked.
  • Assignment #2-13 Program your moving elements from A2-09 but use classes to represent the two visual elements.
  • Assignment #2-14 Create a subclass of one of the asteroids classes that adds a new capability. Some examples of what you could do: create a subclass of Rocket (or ArmedRocket) that shoots flame when the thrusters are fired and/or plays a sound when thrusters are fired, create a subclass of Asteroid that know when it's been hit (instead of doing this test in loop()), create a subclass of Asteroid that splits into two smaller Asteroids when it's hit.