int seconde; int minut; int heure; void setup(){ frameRate(1); size(400, 400); background(102); smooth(); } void draw(){ noStroke(); fill(102); rect(0, 0, width, height); seconde = second(); minut = minute(); heure = hour(); fill(255, 10); stroke(51); for (int i=0; i <= second(); i++){ bezier(width/2 - 180, height/2, width/2 - 180, height/2 + (i * 4), width/2 + 180, height/2 + (i * 4), width/2 + 180, height/2); } for (int i=0; i <= minute(); i++){ bezier(width/2 - 180, height/2, width/2 - 180, height/2 - (i * 4), width/2 + 180, height/2 - (i * 4), width/2 + 180, height/2); } for (int i=0; i <= hour(); i++){ bezier(width/2 - 180, height/2, width/2 - 180 + (i * 5), height/2 - (i * 20), width/2 + 180 - (i * 5), height/2 + (i * 20), width/2 + 180, height/2); } }