Sunday, November 06, 2011
MESIAF V3
// just type here
// and click "save" when your done
// just type here
// and click "save" when your done
void setup() {
size(900,900);
//stroke(255,255,255);
}
void draw() {
stroke(mouseX/width, mouseY/height);
translate(width/2,height/2);
background(200,30,90);
fill(20,40,110, 100);
float cnt = frameCount/100;
strokeWeight(cnt%20);
rotate(cnt);
scale(abs(0.5+sin(cnt)*cos(0.5*cnt)));
rect(sin(cnt)*100,sin(10*sin(cnt))*100, 100,100);
rect(0,sin(cnt)*100,100,100);
rect(mouseX-30, mouseY-50, 50, 200);
fill (mouseX + cnt, cnt,mouseY, 100);
rotate (cnt);
ellipse(100, 100, frameCount, 100);
}
// and click "save" when your done
// just type here
// and click "save" when your done
void setup() {
size(900,900);
//stroke(255,255,255);
}
void draw() {
stroke(mouseX/width, mouseY/height);
translate(width/2,height/2);
background(200,30,90);
fill(20,40,110, 100);
float cnt = frameCount/100;
strokeWeight(cnt%20);
rotate(cnt);
scale(abs(0.5+sin(cnt)*cos(0.5*cnt)));
rect(sin(cnt)*100,sin(10*sin(cnt))*100, 100,100);
rect(0,sin(cnt)*100,100,100);
rect(mouseX-30, mouseY-50, 50, 200);
fill (mouseX + cnt, cnt,mouseY, 100);
rotate (cnt);
ellipse(100, 100, frameCount, 100);
}
comments
loading...
Add a comment: