From scott Fri Dec  8 12:01:44 1995
Return-Path: <scott>
Date: Mon, 31 Jul 95 16:57:47 EDT
From: scott (Scott Sutherland)
To: propp@math.mit.edu
Subject: xant


Jim, 
Here is some rudimentary documentation for the ant simulator.


The basic commands are there, however:

	g			runs until interrupted
	s (or space or return)	single-steps (also interrupts a g)
	p or ^C			pauses
	t			runs until trap (but the trap is always at
                                HOME right now), you can hit t while g is in
                                effect without first interrupting
	Q (must be capital) or ^Q  quits immediately.
	!                       runs ant for a number of steps (100, but you
		                can change this at the top of the screen),
				THEN updates.  note if this is big, it will 
				seem "dead" for a long time.
	d                       toggles the display mode from Truchet to
				non-truchet and back.

If your resize the windows, scroll bars appear, you can scroll or resize
while it is running.

it takes the following command line options
	-height n	universe height
	-width	n	universe width
	-size   n       sets both height and width if not specified
	-cellsize n     size (in pixels) of a cell.  10 is good, but 5 works.
                        the default is 17.
        -delay  ms      number of millisecs to delay between ant steps. if
                        you set this to 0, it runs pretty fast, but
                        interaction is poor. use at least 2 if you want to
                        get some responsiveness; 100 is noticably slower.
		        I'd like to make this a settable thing while it
                        runs... well, maybe...
	-ant n		sets the rule number.  default is 2
	-truchet        starts in Truchet mode.

you might try something like
	xant -size 100 -cs 8 -ant 9 
or
        xant -size 500 -geom 800x800
and so on.

You can set some default values by editing the file Xant/XAnt, provided your
XAPPLRESDIR variable is set properly.




