ArrayList LinesArray = new ArrayList();
void setup()
{
size(500,500);
smooth();
}
void draw()
{
background(255);
for (int i = 0; i < LinesArray.size(); i++)
{
Sinewave s = (Sinewave)LinesArray.get(i);
s.render();
}
/* if (keyPressed)
{
if (key == ' ' && playing == false)
{
playing = true;
cursor(HAND);
}
if (key == 'b' && playing == true)
{
playing = false;
cursor(ARROW);
}
if (key == 'c')
{
boxCount.clear();
}
if (key == 'q')
{
println(boxCount.size());
}
}*/
}
Show pagesource
Old revisions
Backlinks
Index
Recent changes
Login
nature-of-code/buss6.pde.txt · Last modified: 2009/04/26 01:30 (external edit) |