moire — draw circular interference patterns


moire [-display host:display.screen] [-foreground color] [-background color] [-window] [-root] [-mono] [-install] [-visual visual] [-delay seconds] [-random boolean] [-ncolors int] [-offset int] [-fps]


The moire program draws cool circular interference patterns.


moire accepts the following options:
Draw on a newly-created window. This is the default.
Draw on the root window.
If on a color display, pretend we're on a monochrome display.
Install a private colormap for the window.
-visual visual
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.
-delay seconds
How long to wait before starting over. Default 5 seconds.
-random boolean
Whether to ignore the foreground/background colors, and pick them randomly instead.
-offset integer
The maximum random radius increment to use.
-ncolors integer
How many colors should be allocated in the color ramp (note that this value interacts with offset.)
Display the current frame rate and CPU load.


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


Jamie Zawinski <>, 27-Apr-97, based on code by Michael D. Bayne <>.