Assignment 2

Extend the Little Transport-themed Animation

Individual Assignment

Display a Bus or a Train or a Car that travels across the screen in a specified direction. Represent the vehicle using a PImage, And make it do something when you click on it.

The goal of the assignment is to do some basic animation and interaction. Make the Processing applet draw on a 500 x 500 display size.

For this assignment part, create a Processing applet by developing the application in the Processing development window, then Select File->Export. This will create a folder with index.html plus the source code and the JAR file that contains your applet. Upload this folder to your pub_html folder on fraser.sfu.ca. You can then access this applet by going to the URL http://www.sfu.ca/~YourSFUID/yourIAT334Assignment2Folder/theAppletYouJustLoaded.

Upload a link to you assignment in the Sakai IAT 334 DropBox: Assignment2
Upload a link that points your assignment, and be sure to set the button that says "Send an email notification to the Instructor(s)"
You must demonstrate the result to the TA, and be prepared to change it to adjust its functionality in the lab.
You will not get credit without demoing it to the TA.

Required Features

Depending on the last digit of your student number, you must have one and only one of the following features in your animation.

Click means press and release the mouse button.
Drag means press the mouse button and move the mouse while the button is held.

Due: In Lab Thursday/Friday, January 27/28