• fullscreen
  • sketch_mar04b.pde
  • int tp = 25;
    
    void setup() {
      size(800,800);
       
      }
      void draw() {
        noStroke();
        fill(255);
        if(keyPressed) 
        if (key == 'r' || key == 'r') 
          fill(255,0,0);
        if (key == 'a' || key == 'a') 
          fill(0,53,255);
        if (key == ' ' || key == ' ') 
          background(175,175,175);  
        if(mousePressed) {
        ellipse(mouseX, mouseY, tp, tp);
        
        if(key == '+' || key == '+'){
        tp = tp+1;
        } else {
        tp = 25;
     }
        }
      }
    

    code

    tweaks (0)

    about this sketch

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

    license

    advertisement

    Guest User

    My version of MS Paint

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

    my first "decent" sketch since I downloaded Processing 5 days ago :P.

    Mariano Crivelli
    10 Mar 2009
    This is my program, I didn't have an account when I upload it :p
    Blue= Press A
    Red=Hold R
    Bigger circle= press +
    Delete= Space Bar

    aguante bragado(?
    Matthias Hayes
    8 Apr 2012
    pretty lame to be fair
    You need to login/register to comment.