Difference between revisions of "Shannon.Coates"
(→exercises) |
|||
Line 77: | Line 77: | ||
---- | ---- | ||
+ | due October 8, 2008 | ||
[http://www.sfu.ca/~stc9/Assignment%202%20-%20sketches/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/~stc9/Assignment%202%20-%20sketches/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.''] | ||
Line 91: | Line 92: | ||
Please note that it is not necessary for the vessel to be in motion for the drone to travel. | Please note that it is not necessary for the vessel to be in motion for the drone to travel. | ||
+ | |||
+ | |||
+ | == Project #2 == | ||
+ | ===proposal=== | ||
+ | due October 8, 2008 |
Revision as of 03:21, 8 October 2008
Contents
Assignment #1
exercises
due September 12th, 2008
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 two 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. (NOTE: Left-click on the burger.)
Comments
The last one is hilarious, it definitely made my day. (ah)
Project #1
non-traditional clock
due September 22, 2008
Student Time: Display the progress of time in a non-traditional way.
Assignment #2
exercises
due October 6, 2008
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.
due October 8, 2008
Shannon's Notes on the Extended Program (A2-14):
What was once the exhilarating arcade experience "Asteroids!" has been transformed into the mildly-diverting edu-tainment odyssey... "Scientific Asteroid Sampling!"
The functionality I have added to the original program (aside from gratuitously changing variable names) is to give the rocket (now dubbed a research vessel) the ability to launch a drone that can then move independently of the vessel.
The drone is launched when the ENTER key is hit, and continues to move forward when the ENTER key is held down.
In order to change the trajectory of the drone, the <- and -> keys are used. Essentially, the drone travels in the same direction that the nose of the research vessel is pointing.
Please note that it is not necessary for the vessel to be in motion for the drone to travel.
Project #2
proposal
due October 8, 2008