• fullscreen
  • adn_Tavi.pde
  •    float x=mouseX;
       float y=mouseY;
      int radio=20;
    void setup() {
    
      size(600,600);
     background (255);
     
     smooth ();
    
    }
    
    void draw() { 
         
      
      
    }
    
    void mousePressed () {
    
     
      stroke(0);
       
        
      line (x, y,mouseX,mouseY);
      fill(mouseX,0,mouseY); 
      ellipse(mouseX,mouseY,radio,radio); 
       x=mouseX;
       y=mouseY;
      
    }
    
    void keyPressed(){
      
     background (255 ); 
      
    }
    
    
    

    code

    tweaks (0)

    about this sketch

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

    license

    advertisement

    Oliver G. Tavizon

    adnTavi

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

    You need to login/register to comment.