Difference between revisions of "Erin Ashenhurst"
Jump to navigation
Jump to search
(→Assignment 2) |
(→Assignment 2) |
||
Line 21: | Line 21: | ||
=== Assignment 2 === | === Assignment 2 === | ||
− | *[http://www.sfu.ca/~eashenhu/courses/iat_800/assignment_2/a2_01/]''Using beginShape() and endShape(), create a composition with five or more vertices.'' | + | *[http://www.sfu.ca/~eashenhu/courses/iat_800/assignment_2/a2_01/ A2-01]''Using beginShape() and endShape(), create a composition with five or more vertices.'' |
− | *[http://www.sfu.ca/~eashenhu/courses/iat_800/assignment_2/a2_02/]''Using beginShape() and endShape(), create a composition with ten or more vertices.'' | + | *[http://www.sfu.ca/~eashenhu/courses/iat_800/assignment_2/a2_02/ A2-02]''Using beginShape() and endShape(), create a composition with ten or more vertices.'' |
− | *[http://www.sfu.ca/~eashenhu/courses/iat_800/assignment_2/a2_03/]''Create an image different from A2-02, but using the same vertex data.'' | + | *[http://www.sfu.ca/~eashenhu/courses/iat_800/assignment_2/a2_03/ A2-03]''Create an image different from A2-02, but using the same vertex data.'' |
− | *[http://www.sfu.ca/~eashenhu/courses/iat_800/assignment_2/a2_04/]''Write a function with one parameter and demonstrate it visually.'' | + | *[http://www.sfu.ca/~eashenhu/courses/iat_800/assignment_2/a2_04/ A2-04]''Write a function with one parameter and demonstrate it visually.'' |
− | *[http://www.sfu.ca/~eashenhu/courses/iat_800/assignment_2/a2_05/]''Write a function for drawing triangles and visually demonstrate its flexibility.'' | + | *[http://www.sfu.ca/~eashenhu/courses/iat_800/assignment_2/a2_05/ A2-05]''Write a function for drawing triangles and visually demonstrate its flexibility.'' |
− | *[http://www.sfu.ca/~eashenhu/courses/iat_800/assignment_2/a2_06/]''Write a function with three or more parameters and visually demonstrate its flexibility.'' | + | *[http://www.sfu.ca/~eashenhu/courses/iat_800/assignment_2/a2_06/ A2-06]''Write a function with three or more parameters and visually demonstrate its flexibility.'' |
− | *[http://www.sfu.ca/~eashenhu/courses/iat_800/assignment_2/a2_07/]''Create a dynamic animation using the cos() function as a generator for motion.'' | + | *[http://www.sfu.ca/~eashenhu/courses/iat_800/assignment_2/a2_07/ A2-07]''Create a dynamic animation using the cos() function as a generator for motion.'' |
− | *[http://www.sfu.ca/~eashenhu/courses/iat_800/assignment_2/a2_08/]''Create a dynamic animation using the cos() and sin() function as a generator for motion.'' | + | *[http://www.sfu.ca/~eashenhu/courses/iat_800/assignment_2/a2_08/ A2-08]''Create a dynamic animation using the cos() and sin() function as a generator for motion.'' |
− | *[http://www.sfu.ca/~eashenhu/courses/iat_800/assignment_2/a2_09/]''Move two visual elements across the screen using the random() function as a generator of movement. Give each element a unique nonlinear motion.'' | + | *[http://www.sfu.ca/~eashenhu/courses/iat_800/assignment_2/a2_09/ A2-09]''Move two visual elements across the screen using the random() function as a generator of movement. Give each element a unique nonlinear motion.'' |
− | *[http://www.sfu.ca/~eashenhu/courses/iat_800/assignment_2/a2_10/]''Create an event that begins when the mouse is pressed and ends when the mouse is released.'' | + | *[http://www.sfu.ca/~eashenhu/courses/iat_800/assignment_2/a2_10/ A2-10]''Create an event that begins when the mouse is pressed and ends when the mouse is released.'' |
− | *[http://www.sfu.ca/~eashenhu/courses/iat_800/assignment_2/a2_11/]''Create a responsive image that behaves differently when the mouse is moving and the mouse is dragging.'' | + | *[http://www.sfu.ca/~eashenhu/courses/iat_800/assignment_2/a2_11/ A2-11]''Create a responsive image that behaves differently when the mouse is moving and the mouse is dragging.'' |
− | *[http://www.sfu.ca/~eashenhu/courses/iat_800/assignment_2/a2_12/]''Create a button that changes the color of the background when it is clicked.'' | + | *[http://www.sfu.ca/~eashenhu/courses/iat_800/assignment_2/a2_12/ A2-12]''Create a button that changes the color of the background when it is clicked.'' |
− | *[http://www.sfu.ca/~eashenhu/courses/iat_800/assignment_2/a2_13/]''Program your moving elements from A2-09 but use classes to represent the two visual elements.'' | + | *[http://www.sfu.ca/~eashenhu/courses/iat_800/assignment_2/a2_13/ A2-13]''Program your moving elements from A2-09 but use classes to represent the two visual elements.'' |
::'''A2-01 thru A2-13 Due: Tuesday October 6''' | ::'''A2-01 thru A2-13 Due: Tuesday October 6''' | ||
− | *[http://www.sfu.ca/~eashenhu/courses/iat_800/assignment_2/a2_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.'' | + | *[http://www.sfu.ca/~eashenhu/courses/iat_800/assignment_2/a2_14/ A2-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.'' |
::'''A2-14 Due: Thursday October 8''' | ::'''A2-14 Due: Thursday October 8''' |
Revision as of 06:57, 5 October 2009
Contents
Assignments
Assignment 1
- [1]Draw three lines.
- [2]Draw five lines.
- [3]Draw three ellipses.
- [4]Control the position of two lines with one variable.
- [5]Control the position and size of two lines with two variables.
- [6]Control the properties of two shapes with two variables.
- [7]Create a simple, regular pattern with six lines.
- [8]Program your pattern from Assignment 1-07 using while().
- [9]Draw a layered form with two new loops.
- [10]Redo Assignment 1-05 using mouseX and mouseY as the variables.
- [11]Draw two visual elements that each move in relation to the mouse in a different way.
- [12]Draw three visual elements that each move in relation to the mouse in a different way.
- [13]Move a visual element across the screen. When it disappears off the edge, move it back into the frame.
- [14]Draw a visual element that moves in relation to the mouse, but with a different relation when the mouse is pressed.
- [15]Using if and else, make the mouse perform different actions when in different parts of the window.
- [16]Develop a kinetic image which responds to the mouse.
Assignment 2
- A2-01Using beginShape() and endShape(), create a composition with five or more vertices.
- A2-02Using beginShape() and endShape(), create a composition with ten or more vertices.
- A2-03Create an image different from A2-02, but using the same vertex data.
- A2-04Write a function with one parameter and demonstrate it visually.
- A2-05Write a function for drawing triangles and visually demonstrate its flexibility.
- A2-06Write a function with three or more parameters and visually demonstrate its flexibility.
- A2-07Create a dynamic animation using the cos() function as a generator for motion.
- A2-08Create a dynamic animation using the cos() and sin() function as a generator for motion.
- A2-09Move two visual elements across the screen using the random() function as a generator of movement. Give each element a unique nonlinear motion.
- A2-10Create an event that begins when the mouse is pressed and ends when the mouse is released.
- A2-11Create a responsive image that behaves differently when the mouse is moving and the mouse is dragging.
- A2-12Create a button that changes the color of the background when it is clicked.
- A2-13Program your moving elements from A2-09 but use classes to represent the two visual elements.
- A2-01 thru A2-13 Due: Tuesday October 6
- A2-14Create 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.
- A2-14 Due: Thursday October 8
Assignment 3
Assignment 4
Projects
Project 1
- Insomnia! [17] Display the progress of time in a non-traditional way.