static BufferedImage redDotsOnWhiteImage(int cols, int rows, Cl points, int pointSize default 3) { var image = whiteImage(cols, rows); fOr (Pt p : points) fillCircle(image, p.x, p.y, (pointSize+1)/2, awtColor(color)); ret image; }