Monday, July 9, 2012
In Class Processing Assignment
/*Rieev Princer
Bouncing Ball
Digital Art: 245
July 9, 2012
*/
int x = 0;
int y = 1;
int speed = 1;
int circleX = 10;
int circleY = 10;
void setup (){
size(200,200);
smooth ();}
void draw (){
background (111,181,255);
x = x + speed;
if ((x > width)||(x < 0)) {
speed = speed * -1;
}
stroke (2,101,203);
fill (26, 130, 237);
ellipse (x,100,circleX,circleY);
circleX = circleX + 1;
circleY = circleY + 1;
y = y + circleY;
y = y +circleX;
if ((x > width)||(x < 0)) {
circleY = circleY * -1;
circleX = circleX * -1;}
}
Processing Assignment
int circleX=50;
int circleY=100;
int circlesizeX=60;
int circlesizeY=60;
int change=1;
int x=0;
int speed=1;
void setup (){
size(200, 200);
smooth();
}
void draw (){
if (mouseX<width/3){
background(255);
}else if (mouseX<2*width/3){
background(125);
}else{
background(0);
}
circleX=circleX+change;
circleY=circleY+change;
circlesizeX=circlesizeX+1;
circlesizeY=circlesizeY+3;
x=x+speed;
if((x>width)||(x<0)){
speed=speed*-1;
}
ellipse(x, 100, 60, 60);
stroke(60, 80, 30);
fill (70, 200, 250);
line(width/3,0,width/3,500);
line(width*2/3,0,width*2/3,500);
}
Thursday, July 5, 2012
Assignment 7
I used a line and an arc for the wings, so I could not figure out how to only color the wings. :(
/*Evynne Fagan
Assignment 7
*/
void setup() {
size(400,400);
smooth();
}
void draw() {
// Background color
background(11, 103, 227);
ellipseMode(CENTER);
rectMode(CENTER);
// Body
stroke(0);
fill(80);
ellipse(mouseX,mouseY,100,150);
//Belly
stroke(0);
fill(255);
ellipse(mouseX,mouseY+20,80,100);
// Eyes
fill(0);
ellipse(mouseX-19,mouseY-40,16,16);
ellipse(mouseX+19,mouseY-40,16,16);
// Eyes White
fill(255);
ellipse(mouseX-22,mouseY-42,7,7);
ellipse(mouseX+16,mouseY-42,7,7);
// Beak
fill(237,128,55);
triangle(mouseX-10,mouseY-30,mouseX+10,mouseY-30,mouseX,mouseY-5);
// Feet
fill(237,128,55);
ellipse(mouseX-30,mouseY+70,32,16);
ellipse(mouseX+30,mouseY+70,32,16);
// Hands
stroke(0);
noFill();
line(mouseX-50,mouseY,mouseX-60,mouseY+50);
arc(mouseX,mouseY,0,0,PI/2,PI/8);
noFill();
line(mouseX+90,mouseY-50,mouseX+50,mouseY-10);
arc(mouseX-60,mouseY+21, 34, 60, PI/8, PI/2);
arc(mouseX+52,mouseY-68,80,150,PI/12,PI/2);
}
Assignment #6
Part 1
I did a remake for a website called "My Life is Bro." This is a site where teenagers and immature young adults who think they're really "chill" and have lots of "swag" go and post something they think is "totally bro."
Their posts mostly consist of sex, drugs, and whatever they think is cool and "bro-appropriate." For this assignment, I changed the posts so that they would have been posts from rich, classy, higher-class citizens. I used good grammar, using themes such as wine, health, money, golf, etc., and also changed the ad so that they would be targeted for higher-class young adults.
Original:
Remake:
American Independence Day on the fourth of July is the most significant holiday of the summer. This is the time where people of all ages from every state celebrate the historical day when Americans won their independence. Every year, depending on their location and age groups, people go to nearby lakes, beaches, stadiums, casinos, and other places to spend this celebratory day and watch the fireworks.
In Reno, Nevada, the students from the University of Reno go to Lake Tahoe to celebrate this day with friends. At Zephyr Cove, the beach is filled with raging students, even as early as 9 a.m. However, at this popular place, entering the beach with alcohol is prohibited. One may think it is a safety issue or to provide alcohol-free environment, but this is definitely not the case. They provide a restricted area called the "Beer Garden," and you can buy as many drinks as you want. As disheartening as this may be, their drinks are ridiculously overpriced, charging as much as $6 per cup of beer. The beach uses the holiday to sell alcohol and make money during the week of fourth of July, even though it's supposed to be the day to celebrate our freedom and independence. To make matters worse in the case of Lake Tahoe, if people bring coolers with alcoholic beverages, they are forced to walk back to their cars, which are often parked as far as 1-2 miles away. Every year, the students are forced to "car bar," the entire day, try to smuggle alcohol which often times fails, or pay highly overpriced drinks at the lake. Their sole purpose and intent for this is to take advantage of this day and make some extra money.
Unfortunately, Lake Tahoe is not the only place that prohibits alcohol to sell drinks of their own. Countless places around the nation, especially popular places, uses this opportunity to make some extra money, even if this is not something they do on a regular basis.
I feel that fourth of July should not be the day they change up their normal system to make money. I do have a business/marketing background, so I understand their strategy and their thought-process. However, I am also a very patriotic person, and I don't think this displays a very good American citizenship. If I was an entrepreneur, I would take this chance to provide something special to everyone, rather than take advantage of it.
I took this picture at the Victorian Square by the Nugget Casino, where thousands of people gather to watch the fireworks. I edited the photo so that one of the signs would say "Free Beer; Happy Independence Day, America!" I chose to do this intervention because I know that if I was a business owner, I would sponsor something special public on this special day, whether it be a discount for my selling items, an event (such as raffles, competition, etc. depending on my business and location), etc. This would be the prefect opportunity to set up a tent where I can sell finger foods, give out free stuff, and/or hold games/events for the public.
I did a remake for a website called "My Life is Bro." This is a site where teenagers and immature young adults who think they're really "chill" and have lots of "swag" go and post something they think is "totally bro."
Their posts mostly consist of sex, drugs, and whatever they think is cool and "bro-appropriate." For this assignment, I changed the posts so that they would have been posts from rich, classy, higher-class citizens. I used good grammar, using themes such as wine, health, money, golf, etc., and also changed the ad so that they would be targeted for higher-class young adults.
Original:
Remake:
Part 2
American Independence Day on the fourth of July is the most significant holiday of the summer. This is the time where people of all ages from every state celebrate the historical day when Americans won their independence. Every year, depending on their location and age groups, people go to nearby lakes, beaches, stadiums, casinos, and other places to spend this celebratory day and watch the fireworks.
In Reno, Nevada, the students from the University of Reno go to Lake Tahoe to celebrate this day with friends. At Zephyr Cove, the beach is filled with raging students, even as early as 9 a.m. However, at this popular place, entering the beach with alcohol is prohibited. One may think it is a safety issue or to provide alcohol-free environment, but this is definitely not the case. They provide a restricted area called the "Beer Garden," and you can buy as many drinks as you want. As disheartening as this may be, their drinks are ridiculously overpriced, charging as much as $6 per cup of beer. The beach uses the holiday to sell alcohol and make money during the week of fourth of July, even though it's supposed to be the day to celebrate our freedom and independence. To make matters worse in the case of Lake Tahoe, if people bring coolers with alcoholic beverages, they are forced to walk back to their cars, which are often parked as far as 1-2 miles away. Every year, the students are forced to "car bar," the entire day, try to smuggle alcohol which often times fails, or pay highly overpriced drinks at the lake. Their sole purpose and intent for this is to take advantage of this day and make some extra money.
Unfortunately, Lake Tahoe is not the only place that prohibits alcohol to sell drinks of their own. Countless places around the nation, especially popular places, uses this opportunity to make some extra money, even if this is not something they do on a regular basis.
I feel that fourth of July should not be the day they change up their normal system to make money. I do have a business/marketing background, so I understand their strategy and their thought-process. However, I am also a very patriotic person, and I don't think this displays a very good American citizenship. If I was an entrepreneur, I would take this chance to provide something special to everyone, rather than take advantage of it.
I took this picture at the Victorian Square by the Nugget Casino, where thousands of people gather to watch the fireworks. I edited the photo so that one of the signs would say "Free Beer; Happy Independence Day, America!" I chose to do this intervention because I know that if I was a business owner, I would sponsor something special public on this special day, whether it be a discount for my selling items, an event (such as raffles, competition, etc. depending on my business and location), etc. This would be the prefect opportunity to set up a tent where I can sell finger foods, give out free stuff, and/or hold games/events for the public.
Wednesday, July 4, 2012
Assignment# 7
Here's my monster! It's a mix between a cat, a rabbit, and a little bit of a fox.
/*
Rieev Princer
3 July 2012
Assignment #7: Animal/Monster
A mix of a rabbit, a cat, and a fox.*/
void setup (){
size(500,500);
smooth();
noCursor();
}
void draw(){
background (255,162,234);
PImage b;
b = loadImage("glitter.jpg");
background(b);
//body
stroke(255);
fill(255,255,255);
ellipse(mouseX,mouseY+155,88,70);
triangle(mouseX-40,mouseY+155,mouseX,mouseY,mouseX+40,mouseY+155);
//legs
stroke(255);
fill(255,255,255);
ellipse(mouseX+10,mouseY+160,30,80);
ellipse(mouseX-10,mouseY+160,30,80);
ellipse(mouseX+10,mouseY+170,84,20);
ellipse(mouseX-10,mouseY+170,84,20);
//ears
stroke(255);
fill(255,255,255);
triangle(mouseX-45,mouseY-15,mouseX-25,mouseY-75,mouseX+18,mouseY-10);
triangle(mouseX+45,mouseY-15,mouseX+25,mouseY-75,mouseX-18,mouseY-10);
//InsideEars
stroke(255);
fill(255,162,234);
triangle(mouseX-35,mouseY-10,mouseX-25,mouseY-55,mouseX+10,mouseY-10);
triangle(mouseX+35,mouseY-10,mouseX+25,mouseY-55,mouseX-10,mouseY-10);
//Rabbit
stroke(255);
fill(255);
beginShape();
curveVertex(mouseX+45, mouseY+95);
curveVertex(mouseX+90, mouseY+108);
curveVertex(mouseX+68, mouseY+19);
curveVertex(mouseX+45, mouseY-15);
curveVertex(mouseX+32, mouseY+120);
curveVertex(mouseX+45, mouseY+15);
endShape();
stroke(255);
fill(255);
beginShape();
curveVertex(mouseX-45, mouseY+95);
curveVertex(mouseX-90, mouseY+108);
curveVertex(mouseX-68, mouseY+19);
curveVertex(mouseX-45, mouseY-15);
curveVertex(mouseX-32, mouseY+120);
curveVertex(mouseX-45, mouseY-15);
endShape();
//Roundears
stroke(255);
fill(255);
ellipse(mouseX+60,mouseY+115,64,60);
ellipse(mouseX-60,mouseY+115,64,60);
//head
stroke(255);
fill(255,255,255);
ellipse (mouseX,mouseY,110,80);
//Mouth
stroke(0);
arc(mouseX+5,mouseY+15.5,10,10,0,TWO_PI-PI);
arc(mouseX-5,mouseY+15.5,10,10,0,TWO_PI-PI);
if(mousePressed==true){
//Bubble
stroke(255);
ellipse(mouseX-95,mouseY-86,130,85);
//Text
PFont font;
font = loadFont("Palatino-Italic-20.vlw");
textFont(font);
fill(255,8,165);
text("Hello there~",mouseX-145, mouseY-80);
stroke(255);
fill(255);
strokeWeight(3);
line(mouseX-95,mouseY-75,mouseX-46,mouseY-36);
//Lashes
stroke(0);
strokeWeight(1);
fill(0);
arc(mouseX-13, mouseY+0, 15, 5, 0, PI);
stroke(0);
strokeWeight(1);
fill(0);
arc(mouseX+13, mouseY+0, 15, 5, 0, PI);
//blush
stroke(255);
fill(255,162,234);
ellipse(mouseX-25,mouseY+9, 15,10);
ellipse(mouseX+25,mouseY+9,15,10);
} else{
//Eyes
stroke(0);
fill(255,0,0);
float LeyeX = mouseX-16;
float eyeY = mouseY+0;
float ReyeX = mouseX+16;
ellipse(LeyeX,eyeY,15,15);
ellipse(ReyeX,eyeY,15,15);
//Highlights
stroke(255);
fill(255,255,255);
float LLeyeX = mouseX-10;
float LLeyeY = mouseY+0;
float RReyeX = mouseX+23;
ellipse(LLeyeX,LLeyeY,5,5);
ellipse(RReyeX,LLeyeY,5,5);
}
}
/*
Rieev Princer
3 July 2012
Assignment #7: Animal/Monster
A mix of a rabbit, a cat, and a fox.*/
void setup (){
size(500,500);
smooth();
noCursor();
}
void draw(){
background (255,162,234);
PImage b;
b = loadImage("glitter.jpg");
background(b);
//body
stroke(255);
fill(255,255,255);
ellipse(mouseX,mouseY+155,88,70);
triangle(mouseX-40,mouseY+155,mouseX,mouseY,mouseX+40,mouseY+155);
//legs
stroke(255);
fill(255,255,255);
ellipse(mouseX+10,mouseY+160,30,80);
ellipse(mouseX-10,mouseY+160,30,80);
ellipse(mouseX+10,mouseY+170,84,20);
ellipse(mouseX-10,mouseY+170,84,20);
//ears
stroke(255);
fill(255,255,255);
triangle(mouseX-45,mouseY-15,mouseX-25,mouseY-75,mouseX+18,mouseY-10);
triangle(mouseX+45,mouseY-15,mouseX+25,mouseY-75,mouseX-18,mouseY-10);
//InsideEars
stroke(255);
fill(255,162,234);
triangle(mouseX-35,mouseY-10,mouseX-25,mouseY-55,mouseX+10,mouseY-10);
triangle(mouseX+35,mouseY-10,mouseX+25,mouseY-55,mouseX-10,mouseY-10);
//Rabbit
stroke(255);
fill(255);
beginShape();
curveVertex(mouseX+45, mouseY+95);
curveVertex(mouseX+90, mouseY+108);
curveVertex(mouseX+68, mouseY+19);
curveVertex(mouseX+45, mouseY-15);
curveVertex(mouseX+32, mouseY+120);
curveVertex(mouseX+45, mouseY+15);
endShape();
stroke(255);
fill(255);
beginShape();
curveVertex(mouseX-45, mouseY+95);
curveVertex(mouseX-90, mouseY+108);
curveVertex(mouseX-68, mouseY+19);
curveVertex(mouseX-45, mouseY-15);
curveVertex(mouseX-32, mouseY+120);
curveVertex(mouseX-45, mouseY-15);
endShape();
//Roundears
stroke(255);
fill(255);
ellipse(mouseX+60,mouseY+115,64,60);
ellipse(mouseX-60,mouseY+115,64,60);
//head
stroke(255);
fill(255,255,255);
ellipse (mouseX,mouseY,110,80);
//Mouth
stroke(0);
arc(mouseX+5,mouseY+15.5,10,10,0,TWO_PI-PI);
arc(mouseX-5,mouseY+15.5,10,10,0,TWO_PI-PI);
if(mousePressed==true){
//Bubble
stroke(255);
ellipse(mouseX-95,mouseY-86,130,85);
//Text
PFont font;
font = loadFont("Palatino-Italic-20.vlw");
textFont(font);
fill(255,8,165);
text("Hello there~",mouseX-145, mouseY-80);
stroke(255);
fill(255);
strokeWeight(3);
line(mouseX-95,mouseY-75,mouseX-46,mouseY-36);
//Lashes
stroke(0);
strokeWeight(1);
fill(0);
arc(mouseX-13, mouseY+0, 15, 5, 0, PI);
stroke(0);
strokeWeight(1);
fill(0);
arc(mouseX+13, mouseY+0, 15, 5, 0, PI);
//blush
stroke(255);
fill(255,162,234);
ellipse(mouseX-25,mouseY+9, 15,10);
ellipse(mouseX+25,mouseY+9,15,10);
} else{
//Eyes
stroke(0);
fill(255,0,0);
float LeyeX = mouseX-16;
float eyeY = mouseY+0;
float ReyeX = mouseX+16;
ellipse(LeyeX,eyeY,15,15);
ellipse(ReyeX,eyeY,15,15);
//Highlights
stroke(255);
fill(255,255,255);
float LLeyeX = mouseX-10;
float LLeyeY = mouseY+0;
float RReyeX = mouseX+23;
ellipse(LLeyeX,LLeyeY,5,5);
ellipse(RReyeX,LLeyeY,5,5);
}
}
In order to get the background, you will have to save this picture and load it onto Processor.
And to get the font, go to "Tools", then "Create Font...", then find "Palatino-Italic". Set the size to 20, and then press "Okay"!
Assignment #7 - My super scary monster!
/*these
are
comments*/
void setup()
{
size(1000, 1000);
}
void draw(){
background(11,243,87);
stroke(39, 93, 24);
fill(39, 93, 24);
rect(mouseX, mouseY, 200, 300);
ellipse(mouseX+200, mouseY, 20, 30);
ellipse(mouseX+225, mouseY-25, 60, 60);
ellipse(mouseX, mouseY, 20, 30);
ellipse(mouseX-25, mouseY-25, 60, 60);
ellipse(mouseX+100, mouseY, 200, 300);
ellipse(mouseX+100, mouseY+300, 200, 300);
rect(mouseX+100, mouseY+450, 10, 40);
rect(mouseX+70, mouseY+525, 10, 40);
rect(mouseX+130, mouseY+525, 10, 40);
ellipse(mouseX+70, mouseY+570, 20, 40);
ellipse(mouseX+140, mouseY+570, 20, 40);
rect(mouseX+105, mouseY+620, 10, 40);
rect(mouseX+95, mouseY+620, 10, 40);
ellipse(mouseX+100, mouseY+670, 20, 40);
ellipse(mouseX+110, mouseY+670, 20, 40);
fill(61, 3, 144);
rect(mouseX+80, mouseY+490, 50, 100);
rect(mouseX+60, mouseY+490, 20, 40);
rect(mouseX+130, mouseY+490, 20, 40);
fill(12,10,10);
ellipse(mouseX+50, mouseY+120, 80, 80);
ellipse(mouseX+150, mouseY+140, 80, 80);
fill(6,14,198);
rect(mouseX+85,mouseY+590,40,30);
fill(200,20,20);
ellipse(mouseX+50, mouseY+130, 50, 30);
fill(200,20,20);
ellipse(mouseX+150, mouseY+150, 50, 30);
fill(50, 60, 80);
rect(mouseX+10, mouseY+50, 80, 80);
fill(50, 60, 80);
rect(mouseX+110, mouseY+70, 80, 80);
stroke(5,5,5);
arc(mouseX+105, mouseY+185, 150, 420, 0, PI/2);
arc(mouseX+105, mouseY+185, 150, 420, PI/2, PI);
stroke(50,60,80);
fill(50, 60, 80);
ellipse(mouseX+50, mouseY+50, 80, 80);
ellipse(mouseX+150, mouseY+70, 80, 80);
}
/*void mousePressed(){
stroke(120, 90, 254);
fill(55, 220, 230);
rect (mouseX, mouseY, 100, 300);
//rectMode(CENTER);
}
void keyPressed(){
background(15,45,56);
}*/
Tuesday, July 3, 2012
Assignment #7: Draw an Animal in Processing
Homework due THURSDAY, July 5, 2012:
Using Processing, design an animal or monster using simple shapes. Have your animal or monster FOLLOW your mouse.
Extra points: have keyPressed and/or mousePressed make changes in your program.
Extra points: design a background (or foreground using the alpha channel) and create an environment for your animal or monster.
Using Processing, design an animal or monster using simple shapes. Have your animal or monster FOLLOW your mouse.
Extra points: have keyPressed and/or mousePressed make changes in your program.
Extra points: design a background (or foreground using the alpha channel) and create an environment for your animal or monster.
Subscribe to:
Posts (Atom)