void setup() { size(500, 500); colorMode(HSB); background(0); frameRate(1); } void draw() { float h, m, s; float radius; float cx, cy; float clockface; radius = min(height, width); cx = width/2.0; cy = height/2.0; clockface = radius*.9; // get time s = second(); m = minute(); h = hour(); // display time // draw clock face fill(128); noStroke(); ellipse(cx, cy, clockface, clockface); // draw the ticks // draw the hands }