Intento de reloj

 


int f =100;


void setup(){

size(800,600);

background(200,100,0);

}

void draw(){

  int x = millis();

  noStroke();

  fill(5,5,255);

  text("tiempo", 50, 50);

int h = hour();


int m = minute();


int s = second();


if (s = f) {

println(h + ":" + m + ":" + s);

f = s;

}

}

Comentarios

Entradas populares de este blog

5)Peligros de red

Coches que se chocan con una bola