Table of Contents

NAME

pgmclouds - generate a random picture of clouds

Synopsis

pgmclouds [-x width] [-y height]

Description

pgmclouds generates a picture which looks like a cloudy sky. The algorithm first paints the corner pixels, which may have very different gray scales. In subsequent steps, pixels in between are painted by using an average of neighbour pixels plus/minus a random value, which interval is the smaller the nearer the pixels are to each other.

Options

-x width
Generate a picture which is width pixels wide. The default is 512.
-y height
Generate a picture which is height pixels high. The default is 512.

Author

Michael Haardt, 1998.

History

The algorithm used is a slightly modified version of the algorithm presented in lqThomas Graf: Mathematische Wolken, Amiga-Magazin 10/1987, p. 91en92rq.

See Also

pgm(5)


Table of Contents