float a; // Angle of rotation float offset = PI/180; // Angle offset between boxes int num = 30; // Number of boxes color[] colors = new color[num]; // Colors of each box boolean green = true; void setup() { size(700, 300, P3D); noStroke(); frameRate(30); for(int i=0; i= TWO_PI*2) { a = 0.0; } for(int i=0; i