Processing函數與循環

函數的定義 返回類型 函數名稱 (引數) { //函數的代碼 } 如下面描繪熊貓的代碼 void setup() {   size(900,300);   smooth(); } void draw() {   background(200);   for (int x=60;x<width;x+=110) {     for (int y=50;y<height;y+=100) {      
相關文章
相關標籤/搜索