Thursday, January 28, 2016

Find Bob


You can move around a spotlight, searching for Bob. If you can't find him, you can click anywhere to reveal the entire area.



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

int value = 0;
int value2 = 255;

void draw(){
fill(value);
rect(0, 0, 600, 600);
fill(value2);
println(mouseX + " " + mouseY);
ellipse(mouseX,mouseY,100,100);
fill(255);
textSize(25);
text("Try to find Bob!",180,250);
textSize(10);
text("Click to reveal.",180,270);

textSize(25);
fill(0);
text("Bob",30,20);
ellipse(40,40,20,20);
strokeWeight(3);
line(40,40,40,80);

text("Larry",185,100);
ellipse(200,120,20,20);
strokeWeight(3);
line(200,130,200,160);

text("Jessica",110,280);
ellipse(130,300,20,20);
strokeWeight(3);
line(130,300,130,340);

text("Jack",435,380);
ellipse(450,400,20,20);
strokeWeight(3);
line(450,400,450,440);

text("Kim",420,260);
ellipse(430,280,20,20);
strokeWeight(3);
line(430,280,430,320);

text("Phil",370,110);
ellipse(380,130,20,20);
strokeWeight(3);
line(380,130,380,170);

text("Tina",230,400);
ellipse(240,420,20,20);
strokeWeight(3);
line(240,420,240,460);
}

void mouseClicked(){
if (value == 0) {
value = 255;
} else {
value = 0;
}
if (value2 == 255) {
value2 = 0;
} else {
value2 = 255;
}
}

void circle(int x, int y){
translate(x,y);
fill(255);
rect(0,0,mouseX,mouseY);
}

Tuesday, January 26, 2016

Sunset - Static Scene



Code

size(600,600);

// Sky Base
background(245,196,35);

// Sky Gradiant
noStroke();
fill(93,0,0);
ellipse(300,280,825,825);

fill(129,0,0);
ellipse(300,280,675,675);
fill(167,0,0);
ellipse(300,280,550,550);
fill(198,33,0);
ellipse(300,280,450,450);
fill(222,83,2);
ellipse(300,280,375,375);
fill(237,134,55);
ellipse(300,280,300,300);
fill(237,153,89);
ellipse(300,280,250,250);
fill(240,200,140);
ellipse(300,280,200,200);
fill(240,227,152);
ellipse(300,280,175,175);
fill(255,252,234);
ellipse(300,280,150,150);



// Sun
noStroke();
fill(255);
ellipse(300,280,125,125);

// Water Base
fill(82,126,198);
rect(0,300,600,300);

// Water Gradiant
noStroke();
fill(0,17,62);
rect(0,300,600,300);
fill(0,25,93);
rect(10,300,585,300);
fill(7,34,108);
rect(15,300,570,300);
fill(16,47,131);
rect(30,300,540,300);
fill(32,67,160);
rect(80,300,440,300);
fill(50,86,183);
rect(120,300,360,300);
fill(60,110,193);
rect(170,300,260,300);
fill(77,134,206);
rect(200,300,200,300);
fill(162,187,247);
rect(230,300,140,300);
fill(194,210,250);
rect(250,300,100,300);
fill(219,229,252);
rect(263,300,75,300);
fill(250,251,255);
rect(270,300,60,300);
fill(255,255,255);
rect(280,300,50,300);

// Horizon
stroke(0,39,144);
line(0,300,600,300);

// Water Lines Light
stroke(106,143,240);
line(200,310,220,310);
line(380,310,400,310);
line(190,325,215,325);
line(370,325,390,325);
line(210,330,240,330);
line(350,330,380,330);
line(170,345,210,345);
line(410,345,450,345);
line(180,355,210,355);
line(395,355,420,355);
line(200,370,250,370);
line(370,370,400,370);
line(120,370,160,370);
line(450,370,500,370);
line(150,395,200,395);
line(420,395,450,395);
line(180,420,230,420);
line(380,420,430,420);
line(130,450,190,450);
line(410,450,480,450);
line(150,485,220,485);
line(360,485,440,485);
line(110,520,210,520);
line(390,520,490,520);
line(80,560,200,560);
line(430,560,550,560);
line(140,585,200,585);
line(400,585,450,585);



//Water Lines Dark
stroke(0,12,44);
line(125,310,150,310);
line(80,310,100,310);
line(10,310,40,310);
line(410,310,440,310);
line(480,310,505,310);
line(560,310,590,310);
line(20,350,110,350);
line(100,325,150,325);
line(500,315,570,315);
line(540,320,565,320);
line(510,325,540,325);
line(15,335,45,335);
line(460,335,500,335);
line(40,360,90,360);
line(100,360,115,360);
line(440,360,500,360);
line(530,360,560,360);
line(0,385,60,385);
line(500,385,560,385);
line(50,410,100,410);
line(470,410,520,410);
line(25,450,90,450);
line(520,450,600,450);
line(60,500,140,500);
line(490,500,580,500);
line(40,560,110,560);
line(480,560,580,560);
line(0,590,120,590);
line(500,590,580,590);

Wednesday, January 20, 2016

Hello World!


Hey everyone! My name's Brooke. I'm a sophomore here at Cardinal Stritch University in Milwaukee Wisconsin. I am currently working towards a major in Graphic Design, a minor in Computer Science, and a certificate in Digital Citizenship.

 I'm grew up in Rio, WI, which is a small village about a half hour north of Madison. Before Rio, I also lived in Coopeville, WA on Whidbey Island until I was seven.

I really enjoy indoor rock climbing, music, games, drawing, and traveling. I've been to London, Barcelona, and France, and I hope to go to other places in the upcoming years.