Noah Ruede – 2.1

Could upload to openprocessing, but for some reason the program doesn’t display in the box, at least not in my browser.  Strange.

Part 2:

//fix the 15 errors

void setup (){
size(200,200);
}

void draw(){
background(0);
fill(255);
ellipse(100,100,100,100);
fill(0);
line(100,100,150,150);
fill(255);
rect(mouseX, mouseY,50,50);
}

Part 3

//Noah Ruede Calli Higgins Feb 7 2013

void setup() {
size(600, 600); //setting image size
background(255); //background color
noStroke(); //setting no stroke
}

void draw() {
//rectangle 1
fill(0); //setting fill to black
rect(0, 0, 50, 600); //setting size and location

//rectangle 3
fill(0); //setting fill to black
rect(100, 0, 50, 600); //setting size and location

//rectangle 5
fill(0); //setting fill to black
rect(200, 0, 50, 600); //setting size and location

//rectangle 7
fill(0); //setting fill to black
rect(300, 0, 50, 600); //setting size and location

//rectangle 9
fill(0); //setting fill to black
rect(400, 0, 50, 600); //setting size and location

//rectangle 11
fill(0); //setting fill to black
rect(500, 0, 50, 600); //setting size and location

//circles row 1

//circle 1
fill(255); //setting fill to white
ellipse(25, 25, 50, 50); //setting size and location

//circle 2
fill(0); //setting fill to black
ellipse(75, 25, 50, 50); //setting size and location

//circle 3
fill(255); //setting fill to white
ellipse(125, 25, 50, 50); //setting size and location

//circle 4
fill(0); //setting fill to black
ellipse(175, 25, 50, 50); //setting size and location

//circle 5
fill(255); //setting fill to white
ellipse(225, 25, 50, 50); //setting size and location

//circle 6
fill(0); //setting fill to black
ellipse(275, 25, 50, 50); //setting size and location

//circle 7
fill(255); //setting fill to white
ellipse(325, 25, 50, 50); //setting size and location

//circle 8
fill(0); //setting fill to black
ellipse(375, 25, 50, 50); //setting size and location

//circle 9
fill(255); //setting fill to white
ellipse(425, 25, 50, 50); //setting size and location

//circle 10
fill(0); //setting fill to black
ellipse(475, 25, 50, 50); //setting size and location

//circle 11
fill(255); //setting fill to white
ellipse(525, 25, 50, 50); //setting size and location

//circle 12
fill(0); //setting fill to black
ellipse(575, 25, 50, 50); //setting size and location

//circles row 2

//circle 1
fill(255); //setting fill to white
ellipse(25, 75, 50, 50); //setting size and location

//circle 2
fill(0); //setting fill to black
ellipse(75, 75, 50, 50); //setting size and location

//circle 3
fill(255); //setting fill to white
ellipse(125, 75, 50, 50); //setting size and location

//circle 4
fill(0); //setting fill to black
ellipse(175, 75, 50, 50); //setting size and location

//circle 5
fill(255); //setting fill to white
ellipse(225, 75, 50, 50); //setting size and location

//circle 6
fill(0); //setting fill to black
ellipse(275, 75, 50, 50); //setting size and location

//circle 7
fill(255); //setting fill to white
ellipse(325, 75, 50, 50); //setting size and location

//circle 8
fill(0); //setting fill to black
ellipse(375, 75, 50, 50); //setting size and location

//circle 9
fill(255); //setting fill to white
ellipse(425, 75, 50, 50); //setting size and location

//circle 10
fill(0); //setting fill to black
ellipse(475, 75, 50, 50); //setting size and location

//circle 11
fill(255); //setting fill to white
ellipse(525, 75, 50, 50); //setting size and location

//circle 12
fill(0); //setting fill to black
ellipse(575, 75, 50, 50); //setting size and location

//circles row 3

//circle 1
fill(255); //setting fill to white
ellipse(25, 125, 50, 50); //setting size and location

//circle 2
fill(0); //setting fill to black
ellipse(75, 125, 50, 50); //setting size and location

//circle 3
fill(255); //setting fill to white
ellipse(125, 125, 50, 50); //setting size and location

//circle 4
fill(0); //setting fill to black
ellipse(175, 125, 50, 50); //setting size and location

//circle 5
fill(255); //setting fill to white
ellipse(225, 125, 50, 50); //setting size and location

//circle 6
fill(0); //setting fill to black
ellipse(275, 125, 50, 50); //setting size and location

//circle 7
fill(255); //setting fill to white
ellipse(325, 125, 50, 50); //setting size and location

//circle 8
fill(0); //setting fill to black
ellipse(375, 125, 50, 50); //setting size and location

//circle 9
fill(255); //setting fill to white
ellipse(425, 125, 50, 50); //setting size and location

//circle 10
fill(0); //setting fill to black
ellipse(475, 125, 50, 50); //setting size and location

//circle 11
fill(255); //setting fill to white
ellipse(525, 125, 50, 50); //setting size and location

//circle 12
fill(0); //setting fill to black
ellipse(575, 125, 50, 50); //setting size and location

//circles row 4

//circle 1
fill(255); //setting fill to white
ellipse(25, 175, 50, 50); //setting size and location

//circle 2
fill(0); //setting fill to black
ellipse(75, 175, 50, 50); //setting size and location

//circle 3
fill(255); //setting fill to white
ellipse(125, 175, 50, 50); //setting size and location

//circle 4
fill(0); //setting fill to black
ellipse(175, 175, 50, 50); //setting size and location

//circle 5
fill(255); //setting fill to white
ellipse(225, 175, 50, 50); //setting size and location

//circle 6
fill(0); //setting fill to black
ellipse(275, 175, 50, 50); //setting size and location

//circle 7
fill(255); //setting fill to white
ellipse(325, 175, 50, 50); //setting size and location

//circle 8
fill(0); //setting fill to black
ellipse(375, 175, 50, 50); //setting size and location

//circle 9
fill(255); //setting fill to white
ellipse(425, 175, 50, 50); //setting size and location

//circle 10
fill(0); //setting fill to black
ellipse(475, 175, 50, 50); //setting size and location

//circle 11
fill(255); //setting fill to white
ellipse(525, 175, 50, 50); //setting size and location

//circle 12
fill(0); //setting fill to black
ellipse(575, 175, 50, 50); //setting size and location

//circles row 5

//circle 1
fill(255); //setting fill to white
ellipse(25, 225, 50, 50); //setting size and location

//circle 2
fill(0); //setting fill to black
ellipse(75, 225, 50, 50); //setting size and location

//circle 3
fill(255); //setting fill to white
ellipse(125, 225, 50, 50); //setting size and location

//circle 4
fill(0); //setting fill to black
ellipse(175, 225, 50, 50); //setting size and location

//circle 5
fill(255); //setting fill to white
ellipse(225, 225, 50, 50); //setting size and location

//circle 6
fill(0); //setting fill to black
ellipse(275, 225, 50, 50); //setting size and location

//circle 7
fill(255); //setting fill to white
ellipse(325, 225, 50, 50); //setting size and location

//circle 8
fill(0); //setting fill to black
ellipse(375, 225, 50, 50); //setting size and location

//circle 9
fill(255); //setting fill to white
ellipse(425, 225, 50, 50); //setting size and location

//circle 10
fill(0); //setting fill to black
ellipse(475, 225, 50, 50); //setting size and location

//circle 11
fill(255); //setting fill to white
ellipse(525, 225, 50, 50); //setting size and location

//circle 12
fill(0); //setting fill to black
ellipse(575, 225, 50, 50); //setting size and location

//circles row 6

//circle 1
fill(255); //setting fill to white
ellipse(25, 275, 50, 50); //setting size and location

//circle 2
fill(0); //setting fill to black
ellipse(75, 275, 50, 50); //setting size and location

//circle 3
fill(255); //setting fill to white
ellipse(125, 275, 50, 50); //setting size and location

//circle 4
fill(0); //setting fill to black
ellipse(175, 275, 50, 50); //setting size and location

//circle 5
fill(255); //setting fill to white
ellipse(225, 275, 50, 50); //setting size and location

//circle 6
fill(0); //setting fill to black
ellipse(275, 275, 50, 50); //setting size and location

//circle 7
fill(255); //setting fill to white
ellipse(325, 275, 50, 50); //setting size and location

//circle 8
fill(0); //setting fill to black
ellipse(375, 275, 50, 50); //setting size and location

//circle 9
fill(255); //setting fill to white
ellipse(425, 275, 50, 50); //setting size and location

//circle 10
fill(0); //setting fill to black
ellipse(475, 275, 50, 50); //setting size and location

//circle 11
fill(255); //setting fill to white
ellipse(525, 275, 50, 50); //setting size and location

//circle 12
fill(0); //setting fill to black
ellipse(575, 275, 50, 50); //setting size and location

//circles row 7

//circle 1
fill(255); //setting fill to white
ellipse(25, 325, 50, 50); //setting size and location

//circle 2
fill(0); //setting fill to black
ellipse(75, 325, 50, 50); //setting size and location

//circle 3
fill(255); //setting fill to white
ellipse(125, 325, 50, 50); //setting size and location

//circle 4
fill(0); //setting fill to black
ellipse(175, 325, 50, 50); //setting size and location

//circle 5
fill(255); //setting fill to white
ellipse(225, 325, 50, 50); //setting size and location

//circle 6
fill(0); //setting fill to black
ellipse(275, 325, 50, 50); //setting size and location

//circle 7
fill(255); //setting fill to white
ellipse(325, 325, 50, 50); //setting size and location

//circle 8
fill(0); //setting fill to black
ellipse(375, 325, 50, 50); //setting size and location

//circle 9
fill(255); //setting fill to white
ellipse(425, 325, 50, 50); //setting size and location

//circle 10
fill(0); //setting fill to black
ellipse(475, 325, 50, 50); //setting size and location

//circle 11
fill(255); //setting fill to white
ellipse(525, 325, 50, 50); //setting size and location

//circle 12
fill(0); //setting fill to black
ellipse(575, 325, 50, 50); //setting size and location

//circles row 8

//circle 1
fill(255); //setting fill to white
ellipse(25, 375, 50, 50); //setting size and location

//circle 2
fill(0); //setting fill to black
ellipse(75, 375, 50, 50); //setting size and location

//circle 3
fill(255); //setting fill to white
ellipse(125, 375, 50, 50); //setting size and location

//circle 4
fill(0); //setting fill to black
ellipse(175, 375, 50, 50); //setting size and location

//circle 5
fill(255); //setting fill to white
ellipse(225, 375, 50, 50); //setting size and location

//circle 6
fill(0); //setting fill to black
ellipse(275, 375, 50, 50); //setting size and location

//circle 7
fill(255); //setting fill to white
ellipse(325, 375, 50, 50); //setting size and location

//circle 8
fill(0); //setting fill to black
ellipse(375, 375, 50, 50); //setting size and location

//circle 9
fill(255); //setting fill to white
ellipse(425, 375, 50, 50); //setting size and location

//circle 10
fill(0); //setting fill to black
ellipse(475, 375, 50, 50); //setting size and location

//circle 11
fill(255); //setting fill to white
ellipse(525, 375, 50, 50); //setting size and location

//circle 12
fill(0); //setting fill to black
ellipse(575, 375, 50, 50); //setting size and location

//circles row 9

//circle 1
fill(255); //setting fill to white
ellipse(25, 425, 50, 50); //setting size and location

//circle 2
fill(0); //setting fill to black
ellipse(75, 425, 50, 50); //setting size and location

//circle 3
fill(255); //setting fill to white
ellipse(125, 425, 50, 50); //setting size and location

//circle 4
fill(0); //setting fill to black
ellipse(175, 425, 50, 50); //setting size and location

//circle 5
fill(255); //setting fill to white
ellipse(225, 425, 50, 50); //setting size and location

//circle 6
fill(0); //setting fill to black
ellipse(275, 425, 50, 50); //setting size and location

//circle 7
fill(255); //setting fill to white
ellipse(325, 425, 50, 50); //setting size and location

//circle 8
fill(0); //setting fill to black
ellipse(375, 425, 50, 50); //setting size and location

//circle 9
fill(255); //setting fill to white
ellipse(425, 425, 50, 50); //setting size and location

//circle 10
fill(0); //setting fill to black
ellipse(475, 425, 50, 50); //setting size and location

//circle 11
fill(255); //setting fill to white
ellipse(525, 425, 50, 50); //setting size and location

//circle 12
fill(0); //setting fill to black
ellipse(575, 425, 50, 50); //setting size and location

//circles row 10

//circle 1
fill(255); //setting fill to white
ellipse(25, 475, 50, 50); //setting size and location

//circle 2
fill(0); //setting fill to black
ellipse(75, 475, 50, 50); //setting size and location

//circle 3
fill(255); //setting fill to white
ellipse(125, 475, 50, 50); //setting size and location

//circle 4
fill(0); //setting fill to black
ellipse(175, 475, 50, 50); //setting size and location

//circle 5
fill(255); //setting fill to white
ellipse(225, 475, 50, 50); //setting size and location

//circle 6
fill(0); //setting fill to black
ellipse(275, 475, 50, 50); //setting size and location

//circle 7
fill(255); //setting fill to white
ellipse(325, 475, 50, 50); //setting size and location

//circle 8
fill(0); //setting fill to black
ellipse(375, 475, 50, 50); //setting size and location

//circle 9
fill(255); //setting fill to white
ellipse(425, 475, 50, 50); //setting size and location

//circle 10
fill(0); //setting fill to black
ellipse(475, 475, 50, 50); //setting size and location

//circle 11
fill(255); //setting fill to white
ellipse(525, 475, 50, 50); //setting size and location

//circle 12
fill(0); //setting fill to black
ellipse(575, 475, 50, 50); //setting size and location

//circles row 11

//circle 1
fill(255); //setting fill to white
ellipse(25, 525, 50, 50); //setting size and location

//circle 2
fill(0); //setting fill to black
ellipse(75, 525, 50, 50); //setting size and location

//circle 3
fill(255); //setting fill to white
ellipse(125, 525, 50, 50); //setting size and location

//circle 4
fill(0); //setting fill to black
ellipse(175, 525, 50, 50); //setting size and location

//circle 5
fill(255); //setting fill to white
ellipse(225, 525, 50, 50); //setting size and location

//circle 6
fill(0); //setting fill to black
ellipse(275, 525, 50, 50); //setting size and location

//circle 7
fill(255); //setting fill to white
ellipse(325, 525, 50, 50); //setting size and location

//circle 8
fill(0); //setting fill to black
ellipse(375, 525, 50, 50); //setting size and location

//circle 9
fill(255); //setting fill to white
ellipse(425, 525, 50, 50); //setting size and location

//circle 10
fill(0); //setting fill to black
ellipse(475, 525, 50, 50); //setting size and location

//circle 11
fill(255); //setting fill to white
ellipse(525, 525, 50, 50); //setting size and location

//circle 12
fill(0); //setting fill to black
ellipse(575, 525, 50, 50); //setting size and location

//circles row 12

//circle 1
fill(255); //setting fill to white
ellipse(25, 575, 50, 50); //setting size and location

//circle 2
fill(0); //setting fill to black
ellipse(75, 575, 50, 50); //setting size and location

//circle 3
fill(255); //setting fill to white
ellipse(125, 575, 50, 50); //setting size and location

//circle 4
fill(0); //setting fill to black
ellipse(175, 575, 50, 50); //setting size and location

//circle 5
fill(255); //setting fill to white
ellipse(225, 575, 50, 50); //setting size and location

//circle 6
fill(0); //setting fill to black
ellipse(275, 575, 50, 50); //setting size and location

//circle 7
fill(255); //setting fill to white
ellipse(325, 575, 50, 50); //setting size and location

//circle 8
fill(0); //setting fill to black
ellipse(375, 575, 50, 50); //setting size and location

//circle 9
fill(255); //setting fill to white
ellipse(425, 575, 50, 50); //setting size and location

//circle 10
fill(0); //setting fill to black
ellipse(475, 575, 50, 50); //setting size and location

//circle 11
fill(255); //setting fill to white
ellipse(525, 575, 50, 50); //setting size and location

//circle 12
fill(0); //setting fill to black
ellipse(575, 575, 50, 50); //setting size and location

//movable circle
fill(0, 0, 255); //setting fill to blue
ellipse(mouseX, mouseY, 50, 50); //setting size and location

//change background every time mouse pressed
}
void mousePressed() {
background(mouseX, mouseY,0); //depends on mouse location
}

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *