/* ***************************************** ****** "TILE FLIP" by John Park *********** ****** Harmonic Lab / UofO, 5/25/12 ******* *******************************************/ //DECLARATIONS PFont font; int coll = 21; // This of as X axis (columns) int rows = 15; // Think of as Y axis (rows) int count = rows*coll; //Total count of squares //Arrays data for rectangle tiles float [] rotValue = new float [count]; // Array to hold rotational values color []clr = new color[count]; // Array to hold color vals void setup() { size(1024, 768, P3D); font = loadFont("SansSerif-24.vlw"); textFont(font, 12); textAlign(CENTER); noStroke(); // Set all rotation vals to 0 and color vals to purple for (int c=0; c