Difference between revisions of "Pat Subyen"
(→Assignment 2) |
(→Assignment 2) |
||
Line 6: | Line 6: | ||
=== Assignment 2 === | === Assignment 2 === | ||
− | + | *[http://www.sfu.ca/~psubyen/IAT800/ Assignment A2_01-13] | |
A2-01 | A2-01 | ||
Using beginShape() and endShape(), create a composition with five or more vertices. | Using beginShape() and endShape(), create a composition with five or more vertices. | ||
− | |||
A2-02 | A2-02 | ||
Using beginShape() and endShape(), create a composition with ten or more vertices. | Using beginShape() and endShape(), create a composition with ten or more vertices. | ||
− | |||
A2-03 | A2-03 | ||
Create an image different from A2-02, but using the same vertex data. | Create an image different from A2-02, but using the same vertex data. | ||
− | |||
A2-04 | A2-04 | ||
Write a function with one parameter and demonstrate it visually. | Write a function with one parameter and demonstrate it visually. | ||
− | |||
A2-05 | A2-05 | ||
Write a function for drawing triangles and visually demonstrate its flexibility. | Write a function for drawing triangles and visually demonstrate its flexibility. | ||
− | |||
A2-06 | A2-06 | ||
Write a function with three or more parameters and visually demonstrate its flexibility. | Write a function with three or more parameters and visually demonstrate its flexibility. | ||
− | |||
A2-07 | A2-07 | ||
Create a dynamic animation using the cos() function as a generator for motion. | Create a dynamic animation using the cos() function as a generator for motion. | ||
− | |||
A2-08 | A2-08 | ||
Create a dynamic animation using the cos() and sin() function as a generator for motion. | Create a dynamic animation using the cos() and sin() function as a generator for motion. | ||
− | |||
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. | Move two visual elements across the screen using the random() function as a generator of movement. Give each element a unique nonlinear motion. | ||
− | |||
A2-10 | A2-10 | ||
Create an event that begins when the mouse is pressed and ends when the mouse is released. | Create an event that begins when the mouse is pressed and ends when the mouse is released. | ||
− | |||
A2-11 | A2-11 | ||
Create a responsive image that behaves differently when the mouse is moving and the mouse is dragging. | Create a responsive image that behaves differently when the mouse is moving and the mouse is dragging. | ||
− | |||
A2-12 | A2-12 | ||
Create a button that changes the color of the background when it is clicked. | Create a button that changes the color of the background when it is clicked. | ||
− | |||
A2-13 | A2-13 | ||
Program your moving elements from A2-09 but use classes to represent the two visual elements. | Program your moving elements from A2-09 but use classes to represent the two visual elements. | ||
− | |||
− | |||
=== Assignment 3 === | === Assignment 3 === |
Revision as of 09:11, 6 October 2009
Contents
Assignments
Assignments 1
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-09 Move two visual elements across the screen using the random() function as a generator of movement. Give each element a unique nonlinear motion. A2-10 Create an event that begins when the mouse is pressed and ends when the mouse is released. A2-11 Create a responsive image that behaves differently when the mouse is moving and the mouse is dragging. 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
Project1--Clock BarChart Clock &"RotoReliefs Clock"