2012年10月4日 星期四

HW02

HW02_1:
(a) Write a processing program to create a picture with 100 rectangles whose sizes, colors, and locations are randomly generated by your program.
(b) Write a program to generate the above picture every second.


HW02_2:
Run the codes in pages 65-67 and modify them to create your own picture. 


HW02_3:
Write a processing program to simulate the following picture. The size of the picture is 800x600 and it can be divided into 12(=4x3) cells with size of 200x200. Each cell includes 3 ellipses with different colors and size.




心得:
今天用了setup() , draw() , loop() , random()這幾個functions

老師講大概的觀念 

自己去發掘 往往收獲也比較大 







沒有留言:

張貼留言