IFD:All Hail The Pixels/designs: Difference between revisions

From Medien Wiki
No edit summary
Line 6: Line 6:


==Group D==
==Group D==
=Carina Weiß=
[[File:Carina.jpg|600px|thumb|]]
void setup () {
size(displayWidth, displayHeight);
}
void draw () {
background(0);
pushMatrix();
translate(1500,500);
for (int i=10; i<width; i+=1){
rectMode(CENTER);
rotate(mouseY);
rect(i,i,20,20);
fill(0);
stroke(255,215,0);
}
popMatrix();
pushMatrix();
translate(450,250);
for (int i=10; i<150; i+=1){
 
rectMode(CENTER);
rotate(mouseY);
rect(i,i,20,20);
fill(0);
stroke(255);
}
popMatrix();
pushMatrix();
translate(250,650);
for (int i=10; i<150; i+=1){
rectMode(CENTER);
rotate(mouseY);
rect(i,i,20,20);
fill(0);
stroke(255);
}
popMatrix();
pushMatrix();
translate(1000,400);
for (int i=10; i<100; i+=1){
rectMode(CENTER);
rotate(mouseY);
rect(i,i,20,20);
fill(0);
stroke(255);
}
popMatrix();
pushMatrix();
translate(800,600);
for (int i=10; i<100; i+=1){
rectMode(CENTER);
rotate(mouseY);
rect(i,i,20,20);
fill(0);
stroke(255);
}
popMatrix();
pushMatrix();
translate(1100,700);
for (int i=10; i<100; i+=1){
rectMode(CENTER);
rotate(mouseY);
rect(i,i,20,20);
fill(0);
stroke(255);
}
popMatrix();
}


==Group E==
==Group E==


[[Category:== ASSIGNMENT 2 ==]]
[[Category:== ASSIGNMENT 2 ==]]