void setup() {
size(300, 300);
}
void draw() {
draw_clock();
}
void draw_clock() {
background(200);
fill(100);
textSize(85);
text("CLOCK", 0, 100);
fill(0);
textSize(75);
text(hour()+":"+minute()+":"+second(), 0, 200);
fill(255);
textSize(20);
text("hour minute second", 30, 250);
}
ไม่มีความคิดเห็น:
แสดงความคิดเห็น