Saturday, August 22, 2009
brokendongle v6
int r = 255;
void setup()
{
size(300,300);
}
void draw()
{
background(0,0,0);
for (int i=0; i < 10; i=i+1)
{
fill(r - i*27.5,125 + i*15,125-i*9);
rotate(i*mouseX/300*PI/50);
strokeWeight(10);
stroke(200,mouseY,mouseX);
fill(100,mouseY,mouseX);
ellipse(mouseY,mouseY,
mouseY,mouseY);
}
}
void setup()
{
size(300,300);
}
void draw()
{
background(0,0,0);
for (int i=0; i < 10; i=i+1)
{
fill(r - i*27.5,125 + i*15,125-i*9);
rotate(i*mouseX/300*PI/50);
strokeWeight(10);
stroke(200,mouseY,mouseX);
fill(100,mouseY,mouseX);
ellipse(mouseY,mouseY,
mouseY,mouseY);
}
}