int tc = 100; int[] c_X = new int[tc]; int[] c_Y = new int[tc]; int[] c_A = new color[tc]; int[] c_S = new int[tc]; color c_color1= color(random(255),random(255),random(255)); color c_color2= color(random(255),random(255),random(255)); void penbegin() { for (int i = 0 ; i40 && mouseX<361 && mouseY <241 && p_n<1){ c_X[0] = mouseX; c_Y[0] = mouseY; for (int i = tc-1 ; i>0; i--){ c_X[i] = c_X[i-1]; c_Y[i] = c_Y[i-1]; } delay(50); } } void mouseReleased() { if (mouseX>40 && mouseX<361 && mouseY <241) printall(); for (int i = 0 ; i