xxxxxxxxxx
void setup()
{
size(870, 630);
}
void draw()
{
background(0);
translate(-180,0);
float x= sin(millis()/600.0);
for(int i=0; i<100; i++)
{
translate(2,2);
rect (30, 300, 180, x*300);
rect (240, 300, 180, x*165);
rect (450,300, 180, x*300);
rect (660, 300, 180, x*165);
}
}