• fullscreen
  • pincel_camila2.pde
  • float x,y,vx,vy;
    
    void setup(){
      x=100;
      y=500;
      size (800,600);
    
    background  (55,120,96);
    }
    
    void draw(){
       
       fill(85,vx+vx,vx,23);
      vx =(mouseX - x)/5;
      vy =(mouseY - y)/10;
      x=x + vx;
      y=y + vy;
     rect(x,y,27-2*x,16);
    }
    
    

    code

    tweaks (0)

    about this sketch

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

    license

    advertisement

    CGI Oi Kabum BH

    Pincel #2 (Camila)

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

    Primeiro rodízio

    You need to login/register to comment.