Saturday, June 06, 2009
Gradient Rotating Square 2
// just type here
// and click "submit" when done
int i = 0;
void setup()
{
background(255);
smooth();
size(600,600);
}
void draw()
{
i++;
noFill();
stroke(i%255);
rotate(i);
rect(300, 300, i%600, i%600);
}
void mousePressed()
{
background(255);
}
// and click "submit" when done
int i = 0;
void setup()
{
background(255);
smooth();
size(600,600);
}
void draw()
{
i++;
noFill();
stroke(i%255);
rotate(i);
rect(300, 300, i%600, i%600);
}
void mousePressed()
{
background(255);
}
info
submitted by: DARYL_Gammaviews: 1728
a sketch based on <A href="http://www.sketchpatch.net/view/E7N1OWhsfVR/">Hello World by subflux </A>
This sketch has a parent
comments
loading...
Add a comment: