// -------------------------------------- public void frameEvent(TCPClient c) { // clear the screen background(255); for (int x = 0; x < client.getMWidth(); x += 100) { pushMatrix(); translate(x, client.getMHeight() / 2); stroke(0); noFill(); rotate(angle); box(75); popMatrix(); } angle += 0.02f; }