pamcrater

Create a PAM image of cratered terrain. See also: pamshadedrelief, ppmrelief. More information: https://netpbm.sourceforge.net/doc/pamcrater.html.

pamcrater -height height -width width > path/to/output.pam

pamcrater -number n_craters > path/to/output.pam