/** * Move Mouse left and right to change texture */ int pixelNum = 400 * 400; int pointNum = 5; Point[] points = new Point[pointNum]; float mx = 0; float mouse = 0; int c = 0; int inc = 0; float a = 0; float col = 0; int[] oxp = new int[pixelNum]; int[] oyp = new int[pixelNum]; float[] angp = new float[pixelNum*pointNum]; void setup(){ size(400, 400, P2D); // position some random points for (int i = 0; i