Difference between revisions of "Vicky"
(→Assignment 2) |
(→Assignment 2) |
||
Line 38: | Line 38: | ||
[http://www.sfu.ca/~xza57/xza57/IAT800/Assignment2/A2-01/sketch_A2_01/applet/ A2-01: Using beginShape() and endShape(), create a composition with five or more vertices.] | [http://www.sfu.ca/~xza57/xza57/IAT800/Assignment2/A2-01/sketch_A2_01/applet/ A2-01: Using beginShape() and endShape(), create a composition with five or more vertices.] | ||
− | [http://www.sfu.ca/~xza57/xza57/IAT800/Assignment2/sketch_A2-02/applet/ A2-02: Using beginShape() and endShape(), create a composition with ten or more vertices.] | + | [http://www.sfu.ca/~xza57/xza57/IAT800/Assignment2/A2-02//sketch_A2-02/applet/ A2-02: Using beginShape() and endShape(), create a composition with ten or more vertices.] |
− | [http://www.sfu.ca/~xza57/xza57/IAT800/Assignment2/sketch_A2-03/applet/ A2-03: Create an image different from A2-02, but using the same vertex data.] | + | [http://www.sfu.ca/~xza57/xza57/IAT800/Assignment2/A2-03//sketch_A2-03/applet/ A2-03: Create an image different from A2-02, but using the same vertex data.] |
− | [http://www.sfu.ca/~xza57/xza57/IAT800/Assignment2/sketch_A2-04/applet/ A2-04: Write a function with one parameter and demonstrate it visually.] | + | [http://www.sfu.ca/~xza57/xza57/IAT800/Assignment2/A2-04//sketch_A2-04/applet/ A2-04: Write a function with one parameter and demonstrate it visually.] |
− | [http://www.sfu.ca/~xza57/xza57/IAT800/Assignment2/sketch_A2-05/applet/ A2-05: Write a function for drawing triangles and visually demonstrate its flexibility.] | + | [http://www.sfu.ca/~xza57/xza57/IAT800/Assignment2/A2-05//sketch_A2-05/applet/ A2-05: Write a function for drawing triangles and visually demonstrate its flexibility.] |
− | [http://www.sfu.ca/~xza57/xza57/IAT800/Assignment2/sketch_A2-06/applet/ A2-06: Write a function with three or more parameters and visually demonstrate its flexibility.] | + | [http://www.sfu.ca/~xza57/xza57/IAT800/Assignment2/A2-06//sketch_A2-06/applet/ A2-06: Write a function with three or more parameters and visually demonstrate its flexibility.] |
− | [http://www.sfu.ca/~xza57/xza57/IAT800/Assignment2/sketch_A2-07/applet/ A2-07: Create a dynamic animation using the cos() function as a generator for motion.] | + | [http://www.sfu.ca/~xza57/xza57/IAT800/Assignment2/A2-07//sketch_A2-07/applet/ A2-07: Create a dynamic animation using the cos() function as a generator for motion.] |
− | [http://www.sfu.ca/~xza57/xza57/IAT800/Assignment2/sketch_A2-08/applet/ A2-08: Create a dynamic animation using the cos() and sin() function as a generator for motion.] | + | [http://www.sfu.ca/~xza57/xza57/IAT800/Assignment2/A2-08//sketch_A2-08/applet/ A2-08: Create a dynamic animation using the cos() and sin() function as a generator for motion.] |
− | [http://www.sfu.ca/~xza57/xza57/IAT800/Assignment2/sketch_A2-09/applet/ 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/~xza57/xza57/IAT800/Assignment2/A2-09//sketch_A2-09/applet/ 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/~xza57/xza57/IAT800/Assignment2/sketch_A2-10/applet/ A2-10: Create an event that begins when the mouse is pressed and ends when the mouse is released.] | + | [http://www.sfu.ca/~xza57/xza57/IAT800/Assignment2/A2-10//sketch_A2-10/applet/ A2-10: Create an event that begins when the mouse is pressed and ends when the mouse is released.] |
− | [http://www.sfu.ca/~xza57/xza57/IAT800/Assignment2/sketch_A2-11/applet/ A2-11: Create a responsive image that behaves differently when the mouse is moving and the mouse is dragging.] | + | [http://www.sfu.ca/~xza57/xza57/IAT800/Assignment2/A2-11//sketch_A2-11/applet/ A2-11: Create a responsive image that behaves differently when the mouse is moving and the mouse is dragging.] |
− | [http://www.sfu.ca/~xza57/xza57/IAT800/Assignment2/sketch_A2-12/applet/ A2-12: Create a button that changes the color of the background when it is clicked.] | + | [http://www.sfu.ca/~xza57/xza57/IAT800/Assignment2/A2-12//sketch_A2-12/applet/ A2-12: Create a button that changes the color of the background when it is clicked.] |
− | [http://www.sfu.ca/~xza57/xza57/IAT800/Assignment2/sketch_A2-13/applet/ A2-13: Program your moving elements from A2-09 but use classes to represent the two visual elements.] | + | [http://www.sfu.ca/~xza57/xza57/IAT800/Assignment2/A2-013//sketch_A2-13/applet/ A2-13: Program your moving elements from A2-09 but use classes to represent the two visual elements.] |
− | [http://www.sfu.ca/~xza57/xza57/IAT800/Assignment2/sketch_A2-14/applet/ 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/~xza57/xza57/IAT800/Assignment2/A2-14//sketch_A2-14/applet/ 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.] |
=== Assignment 3 === | === Assignment 3 === |
Revision as of 17:47, 6 October 2009
Contents
Assignments
Assignment 1
A1-04: Control the position of two lines with one variable.
A1-05: Control the position and size of two lines with two variables.
A1-06: Control the properties of two shapes with two variables.
A1-07: Create a simple, regular pattern with six lines.
A1-08: Program your pattern from Assignment 1-07 using while().
A1-09: Draw a layered form with two new loops.
A1-10: Redo Assignment 1-05 using mouseX and mouseY as the variables.
A1-11: Draw two visual elements that each move in relation to the mouse in a different way.
A1-12: Draw three visual elements that each move in relation to the mouse in a different way.
A1-16: Develop a kinetic image which responds to the mouse.
Assignment 2
A2-01: Using beginShape() and endShape(), create a composition with five or more vertices.
A2-02: Using beginShape() and endShape(), create a composition with ten or more vertices.
A2-03: Create an image different from A2-02, but using the same vertex data.
A2-04: Write a function with one parameter and demonstrate it visually.
A2-05: Write a function for drawing triangles and visually demonstrate its flexibility.
A2-06: Write a function with three or more parameters and visually demonstrate its flexibility.
A2-07: Create a dynamic animation using the cos() function as a generator for motion.
A2-08: Create a dynamic animation using the cos() and sin() function as a generator for motion.
A2-10: Create an event that begins when the mouse is pressed and ends when the mouse is released.
A2-12: Create a button that changes the color of the background when it is clicked.
A2-13: Program your moving elements from A2-09 but use classes to represent the two visual elements.
Assignment 3
Assignment 4
Assignment 5
Assignment 6
Projects
Project 1
P1: Build a Cool Clock. Display the progress of time in a non-traditional way.