15
edits
Line 6: | Line 6: | ||
==Group D== | ==Group D== | ||
=Maria Estel= | |||
[[File:Maria.jpg|350px|thumb|]] | |||
void setup () { | |||
size(displayWidth, displayHeight); | |||
} | |||
void draw () { | |||
if (mousePressed) { | |||
background(255,120,0); | |||
pushMatrix(); | |||
translate(1600,700); | |||
for (int i=10; i<width; i+=1){ | |||
rectMode(CENTER); | |||
rotate(mouseY); | |||
rect(i,i,20,20); | |||
fill(20,20,20); | |||
stroke(0); | |||
} | |||
} | |||
else { | |||
background(20,20,20); | |||
pushMatrix(); | |||
translate(250,250); | |||
for (int i=10; i<width; i+=1){ | |||
rectMode(CENTER); | |||
rotate(mouseY); | |||
rect(i,i,20,20); | |||
fill(255,120,0); | |||
stroke(0); | |||
} | |||
} | |||
popMatrix(); | |||
} | |||
=Carina Weiß= | =Carina Weiß= |
edits