MyPoint p; void setup(){ p = new MyPoint(random(width),random(height)); println("x = " + p.x + " y = " + p.y); p.plot(); }