static BufferedImage greenDotsOnWhiteImage(int w, int h, Cl points, int pointSize default 3) { var image = whiteImage(w, h); fOr (Pt p : points) fillCircle(image, p.x, p.y, (pointSize+1)/2, Color.green); ret image; }