HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pamcrater — Create a PAM image of cratered terrain. See also: `pamshadedrelief`, `ppmrelief`. More information:

Submitted by: @import:tldr-pages··
0
Viewed 0 times
createcommandpamcrateredcliimageterrainpamcrater

Problem

How to use the pamcrater command: Create a PAM image of cratered terrain. See also: pamshadedrelief, ppmrelief. More information: <https://netpbm.sourceforge.net/doc/pamcrater.html>.

Solution

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

Create an image of cratered terrain with the specified dimensions:
pamcrater {{[-h|-height]}} {{height}} {{[-w|-width]}} {{width}} > {{path/to/output.pam}}


Create an image containing the specified number of craters:
pamcrater {{[-n|-number]}} {{n_craters}} > {{path/to/output.pam}}

Code Snippets

Create an image of cratered terrain with the specified dimensions

pamcrater {{[-h|-height]}} {{height}} {{[-w|-width]}} {{width}} > {{path/to/output.pam}}

Create an image containing the specified number of craters

pamcrater {{[-n|-number]}} {{n_craters}} > {{path/to/output.pam}}

Context

tldr-pages: common/pamcrater

Revisions (0)

No revisions yet.