// ok, i want to write an extremely simple script that lets you click on tiles to change them. // width and size of grid int tile_width = 50; int L = 20; // these are variables that we use to zoom in and out of the whole thing float scale = 1; int xOffset = 0; int yOffset = 0; float beta = 0.441; // these are the spins int[][] s = new int[L][L]; int score = 0; int tries = 0; PFont f; void setup() { size(500,500); background(0, 0, 0); // s[0][0]=1; // s[0][1]=1; // s[1][1]=1; // println(s[0][0]); frameRate(60); // initialize all spins down. for (int i =0; i