| Assignment 2
To be critiqued Monday 23 June. Please email them (in ZIP format,
use DropZip or
similar and include the full folder) to amoeba@evolutionzone.com
before 12:00 noon on Monday. The code for Vec2D is here,
and the files from the class on Monday 16th are here.
| 1. |
Create a program using the Vec2D library that takes
a number of points. Each point should have an assigned radius.
Use the cone function from udk_04_vector_04 program to connect
the points. Animate the points so that the shape keeps moving. |
| |
|
| 2. |
Create a class that describes an object with a
location, a direction and a color. The object should know
how to draw itself. Use the acceleration functions to make
the object move around the canvas in an interesting way. Use
states (like in udk_04_motion_04) to make it alternate between
standing still and moving. It should have several types of
movement that it will alternate between, either just different
types of acceleration or even types of movement.
|
Read about Motion in the learning
section of the Processing site and think about including other kinds
of motion in your piece. We will look at types of movement in more
detail next week.
Name your files as follows: "udk_02"+your family name+"_"+number
of task, i.e. "udk_02_watz_1". Assignment results will
be put online, so include a comment in the file with your name.
Remember that you can use the online Processing reference
and learning sections
for reminders of how to use certain commands or to learn new ones.
|