http://www.rubinghscience.org/evol/xpar2.html
Jan 2001

Source files for the xpar2 and xhexpar2 programs

For X-Windows on Unix/Linux.



Screen shot of the xhexpar2 program (run with ''xhexpar2 -H.95 -P.95''):



Source files


(0) Source files common to both programs

rand.c -- Random number generation
rand.h
xgrp.c -- Auxiliary functions for screen graphics
xgrp.h
bool.h -- Boolean data type



(1a) Source files specific to xpar2

xpar2.c


(1b) Shell script to compile xpar2 on Linux with the gcc compiler

cl_xpar2




(2a) Source files specific to xhexpar2

xhexpar2.c


(2b) Shell script to compile xhexpar2 on Linux with the gcc compiler

cl_xhexpar2





Mini user manual


Using the program: invoking with ''xpar -?'' or ''xhexpar -?'' prints a summary of the available parameters/options.



User keyboard commands in the program itself:

q = Quit
enter = update by one time-step
a = start updating Automatically. In the ''Auto'' mode, only the commands w and q are active.
w (''Wait'') = exit ''Auto'' mode
h,j,k,l = move cursor left,down,up,right
1 = insert host
2 = insert parasite
0 = make cell empty
c = Clear all squares
g = print current Generation number on stdout





Up to Spirals page
Up to rubinghscience.org site map