public void draw() { background(0); // Draw an ellipse at the mouse location int mx = mouseX; int my = mouseY; fill(100); noStroke(); ellipse(mx, my, 30, 30); // call some behaviors on our agent // b.wander(); // b.seek(new Vector3D(mx,my)); b.arrive(new Vector3D(mx, my)); b.run(); }