Manual Reference Pages - XANTFARM (1)
xantfarm - displays a simulated ant hill in the root window
Xantfarm simulates an ant hill and displays it in the root window.
There are three
Elements in the ant world:
Sand. Ants move through
Air, dig up
Dirt, and drop it as
Sand. Ants have three
Panic. There are a few simple probabilities built in to the program
that control the transitions between
Carrying. To see them
Panic, try poking the ants with the cursor.
You can also specify a
checkpointfile, to restore an antfarm from and/or periodically save the antfarm to.
The format of the file is very simple, and antfarms can easily be modified
using your favorite text editor.
Specifies how many ants to simulate.
The default is 10.
Specifies how often the simulation runs, in cycles per second.
The default is 15.
If you specify 0, it runs continuously (and you should probably
xantfarm process, or your interactive response will suffer).
Forks a background process and prints the process-id to stdout.
Useful if you want to make a menu command to kill
Xantfarm accepts all the usual X flags and resources, plus:
airColor: The color of
sandColor: The color of
antColor: The color of the ants.
Theres no flag for controlling the color of
Dirt shows as the default background pixmap.
BUGS / DEFICIENCIES
It might be nice to be able to adjust the probabilities and stuff with flags.
The checkpointing code could be more robust.
Copyright (C) 1991 by Jef Poskanzer <firstname.lastname@example.org>. All rights reserved.
|--> ||XANTFARM (1) ||16 October 1991 |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.