Programming for beginners and the other about Computer.
วันอาทิตย์ที่ 22 กันยายน พ.ศ. 2556
For Loop
void setup() {
size(300, 100);
background (153, 0, 204);
int x=50;
for (int i=0;i<5;i++) {
noStroke();
fill (255, 255, 0);
ellipse(x, 50, 50, 50);
x=x+50;
}
}
ไม่มีความคิดเห็น:
แสดงความคิดเห็น
บทความใหม่กว่า
บทความที่เก่ากว่า
หน้าแรก
สมัครสมาชิก:
ส่งความคิดเห็น (Atom)
ไม่มีความคิดเห็น:
แสดงความคิดเห็น