• fullscreen
  • Assignment_Mock_up.pde
  • void setup() {
      size(500,500);
      background(255);
    }
     
    void draw() {
      // Es wird eine sich nach Geschwindigkeit verdickende Linie gezeichnet:
      stroke(mouseX,mouseY,random(mouseY),random(180));
      strokeWeight(abs(mouseY-pmouseY));
      line(mouseX,mouseY,mouseX,mouseY);
    }
    
    
    void mousePressed() {
      noStroke();
      fill(mouseX,mouseY,random(mouseX),40);
      ellipse(mouseX,mouseY,100,100);
    }
     
    void keyPressed() {
      background(random(mouseX));
    }
    

    code

    tweaks (0)

    about this sketch

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

    license

    advertisement

    Emily Cannon

    Assignment_Mock_up

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

    Redone from previous example: http://www.openprocessing.org/sketch/60126

    You need to login/register to comment.