import processing.serial.*; static int FRAMERATE=20; int fadetime=1000/FRAMERATE /10 *4; //fadetime in centiseconds SMOOOOTH Serial sPort; //int boxnum = 1+2+3+4+5+6+7; int boxnum=50; color box[] = new color[boxnum]; int boxid[] = new int[boxnum]; float testcolorhue=0; float time=0; void setup() { size(200, 200); frameRate(FRAMERATE); for (int i=0;i