int numShapes = 12; //num on side of grid of shapes MyShape[] shape = new MyShape[numShapes*numShapes]; MyGroup group; MyControl control; //***************************************** void setup(){ size(300,400); for(int y=0; y