Full Instructions for noolf

Command Line Arguments:

When you start the program by typing noolf in the command line in the proper directory,
there are some changes you can enter directly into the command line before starting the program.  They are as follows:

Typing "-c2" after "noolf" will change the number of colors to 2.  The default is 2.

Typing "-r3" after "noolf" will change the radius of the rule to 3.  The default is 1.

Typing "-d4" after "noolf" will change the size of each cell.  The default is 2. 



Thus, entering "noolf -c3 -r2 -d3" into the command line will start the program with 3 colors, a radius of 2,
 and a cell size of 3x3 pixels.




In Progress Arguments:

Once the program has already started, there are several parameters you can change on the fly.  They are as follows:

Pressing the "s" key will toggle the viewing between scrolling and not scrolling.  The program starts off not scrolling.

Pressing the "n" key will generate a new random rule for the automaton.

Pressing the "r" key will give the automaton a new random starting condition. 

Pressing the "p" key will pause the automaton.

Pressing the "j" key will slow the automaton.

Pressing the "k" key will speed up the automaton.


How to input a rule(not the way I want this to work, but for now it will have to do):

*Note* First of all it is important to realize that this program currently allows the user to explore automata that are "rule by sums".
 
Now, to enter a rule of your choosing:

1.  In the sourcecode, under the function "makerules", you will need to input the following immediately after the first "for" statement:

   if you want the case where sum=0 to "turn on" you will need to write
       table[0]=1     (you would set it equal to 0 if you wanted it to "turn off")

   if you want the case where sum=1 to "turn off" you would write
       table[1]=0     (equal to 1 if you wanted it on)

   if you want to adjust the sum=2 case, write   
       table[2]=1 or 0

   if you want to adjust the sum=3 case, write
       table[3]=1 or 0

*Of course this for the the radius=1, colors=2 case*

Thus if you enter;
   table[0]=1
   table[1]=1
   table[2]=0
   table[3]=0

You would be inputting the rule where sum=0,1 turns on and sum=2,3 turns off.

2.  Now compile your code using the correct makefile and watch your rule display on the screen.

To see an example of this, check out nooldemo1.c and its executable.




Once your done reading this you are fully prepared to explore some facets of cellular automata using noolf,
 and you will probably think I am an automaton by how boring this instruction sheet is.

Home