void setup() { size(256,256,P3D); background(200); framerate(60); } class Point { float x,y,z; } Point points[] = new Point[80]; int cp = 0; void draw() { background(200); cp++; if (cp>=points.length) cp = 0; if (points[cp]==null) points[cp] = new Point(); points[cp].x = mouseX; points[cp].y = mouseY; points[cp].z = 0; //lights(); noStroke(); beginShape(QUAD_STRIP); for (int i=0; i