2007W Instructor TA |
|
|
|
||
Lab 3 |
Below is the rectangle example we did in class. In it, we define a myRect class for which we can define the x and y position, the size and the color. We created an array of these with random properties and then displayed them on the screen. myRect.pde |
|
|
||
Assignment 3 | due 2/1/07 | |
Create a class called "myCircle". Setup the class so that when it is drawn to the screen it gradually fades away or changes to another color. Create at least three instances of your class and draw them to the screen. If you have questions or aren't sure where to start, ask people on the mailing list and see if you can get some help. If nobody responds I will be happy to answer, but I would prefer to get some conversation going on the list. |