int[] posX; int[] posY; void setup(){ size(500,500); background(255); colorMode(HSB); strokeWeight(3); smooth(); } void draw(){ background(255); stroke(frameCount % 255, 255, 255); // A cada frame se dibujan lineas // pasando por las posiciones de los arrays if(posX!=null){ if(posX.length >= 2){ for(int i=0;i