2010年10月10日 星期日

Homework 9: Some Cases Studies

HW09-1: Coordinate system translation
Write a processing program drawing the following picture.

*Go to Page 139 in the PDF file and learn the functions of translate() and rotate().




HW09-2:
Extend the code of HW09-1 to be a rotating fan with 10 rectangles.


HW09-3: Storing mouse data in Arrays
Trace the code 33-15 located at Page 307 and Page 308.
Extend the code such that the all circles with different colors.

沒有留言:

張貼留言