DESCRIPTION

The munch program performs the munching squares hack until killed. It
picks square size, position, and gravity randomly; configurable options
are listed below.
The munching squares hack consists of drawing Y = X XOR T for a range
of X and T over and over until all the possible combinations of X and T
have come up. It was reportedly discovered by Jackson Wright in 1962
and took 5 instructions of PDP-6 code.

OPTIONS

munch accepts the following options:
-window Draw on a newly-created window. This is the default.
-root Draw on the root window.
-mono If on a color display, pretend we’re on a monochrome display.
-install
Install a private colormap for the window.
-visualvisual
Specify which visual to use. Legal values are the name of a
visual class, or the id number (decimal or hex) of a specific
visual.
-delaymicroseconds
How long to wait before starting over. Default 5000.
-xor Use the XOR drawing function. (Default.)
-no-xor Don’t use the XOR drawing function.
-shift Start drawing the square at weird starting points. (Default.)
-no-shift
Don’t shift and start drawing the square at weird starting
points.
-logminwidthminimum-width
The logarithm (base 2) of the minimum with of a square (must be
a power of 2, or some parts of the square aren’t.)
-fps Display the current frame rate and CPU load.

ENVIRONMENT

DISPLAY to get the default host and display number.
XENVIRONMENT
to get the name of a resource file that overrides the global
resources stored in the RESOURCE_MANAGER property.