LinuxCommandLibrary

pgmcrater

generates synthetic terrain with impact craters as grayscale heightmap

TLDR

Generate crater terrain

$ pgmcrater -number [5000] > [output.pgm]
copy
Specify dimensions
$ pgmcrater -width [512] -height [512] -number [1000] > [output.pgm]
copy

SYNOPSIS

pgmcrater [options]

DESCRIPTION

pgmcrater generates synthetic terrain with impact craters as grayscale heightmap. Useful for creating planetary surface textures. Part of Netpbm toolkit.

PARAMETERS

-width n

Output width in pixels.
-height n
Output height in pixels.
-number n
Number of craters.
-gamma n
Gamma correction value.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community