import processing.opengl.*; Curvey[] curves; //Camera camera1; void setup() { smooth(); // set size to 640x480 size(900, 500, OPENGL); // 5 fps frameRate(10); //camera1 = new Camera(this, screen.width/2, screen.height/2, 600); // Create the fullscreen object //fs = new FullScreen(this); fill(255,255,255,50); stroke(0,0,0,50); ellipse(width/2, height/2, 30, 30); // enter fullscreen mode //fs.enter(); curves = new Curvey[25]; for (int i=1; i< 25; i++) { curves[i] = new Curvey(); curves[i].x = int(random(0, width)); curves[i].y = int(random(0, height)); } } void draw(){ smooth(); lights(); // camera1.feed(); //background(128); for (int i=1; i<25; i++) { curves[i].live(); //ellipse( width * (i/25), 20, 10, 10); } } void mouseMoved() { // camera1.arc(radians(mouseY - pmouseY)); }