• fullscreen
  • clock_red.pde
  • float angle = 0.0;
    
    void setup() {
      size(200, 200);
      smooth();
      noStroke();
      background(255);
    }
    
    void draw() {
      fill(255,10);//fade
      rect(0, 0, width, height);
      
      fill(255,0,0);
      angle = angle+0.02 ; //speed
      translate(100, 100);
      rotate(angle);
      rect(-30, -30, 1, 20);
      
    
      
      //stroke(255,0,0);
      //line(-50, -50, cos(180)*20, sin(180)*20 );
    
    }
    

    code

    tweaks (0)

    about this sketch

    This sketch is running as Java applet, exported from Processing.

    license

    advertisement

    ira goretti

    Red Clock

    Add to Faves Me Likey@! 1
    You must login/register to add this sketch to your favorites.

    Single red clock

    You need to login/register to comment.