Thursday, June 04, 2009
Hello World
// just type here
// and click "submit" when done
int maxDepth = 30;
int currentDepth = 0;
TreeNode[] nodes = new TreeNode[maxDepth];
int stage = 2;
float angle = 0;
float tx, ty;
void setup()
{
background(255);
smooth();
size(600,600);
}
void draw()
{
for(int i = 0; i < 600; i++)
{
rect(0, 0, i, i);
delay(250);
}
}
void mousePressed()
{
background(255);
}
// and click "submit" when done
int maxDepth = 30;
int currentDepth = 0;
TreeNode[] nodes = new TreeNode[maxDepth];
int stage = 2;
float angle = 0;
float tx, ty;
void setup()
{
background(255);
smooth();
size(600,600);
}
void draw()
{
for(int i = 0; i < 600; i++)
{
rect(0, 0, i, i);
delay(250);
}
}
void mousePressed()
{
background(255);
}
comments
loading...
Add a comment: