home *** CD-ROM | disk | FTP | other *** search
- A quick note on some implications of having 256 states
- Cellsim version 2.5
-
-
- Beginning with version 2.0 of Cellsim, it is possible to use 8 bits per
- cell, by calling an update function for each cell rather than using a
- lookup-table. While this will cause a decrease in speed, it greatly
- increases the range of rules that can be run, and allows for the addition
- of a couple of other useful features as well:
- - There are 2 global parameters which can be set from with Cellsim, which
- get passed to the update-function. This is useful when you want to be
- able to modify the behavior of your rule, without having to recompile it.
- - You can do more data-analysis or even alterations of the array, before
- and after each time-step, if you wish.
-
-
- There is one restriction because of using 256-entry colormaps: entry 0
- cannot be the same color as entry 255. If they were the same color, then
- you would not be able to see anything in the control panel, as the buttons
- would be the same color as the background. While this restriction can
- sometimes be annoying, it usually doesn't cause problems.
-
- Cellsim will prevent you from manually setting entry 0 to the same color
- as entry 255, and will refuse to load a colormap if doing so would cause
- that to happen. Note that this also means if you have entry 255 set to
- "0xFFFFFF" for example, and you try to set entry 0 to "0xFFFFFF", Cellsim
- won't let you. You should try setting entry 255 to something else, for
- example "0xFF0000" (red). You could get away with setting entry 255 to
- "0xFFFFFE", which is almost white, but you are advised not to do so, as
- you won't be able to read the panel if you do.
-
- Also, because Cellsim will have to link in new object code at run-time,
- you cannot use dynamic linking if you are running under SunOS 4.0. This
- means the executable for Cellsim will be much larger than the previous
- version, if you are running 4.0. (If you are running under SunOS 3.5,
- V2.0 should not be too much larger than the previous versions).
-
-
- /*
- *
- * Cellsim copyright 1989, 1990 by Chris Langton and Dave Hiebeler
- * (cgl@lanl.gov, hiebeler@heretic.lanl.gov)
- *
- * This package may be freely distributed, as long as you don't:
- * - remove this notice
- * - try to make money by doing so
- * - prevent others from copying it freely
- * - distribute modified versions without clearly documenting your changes
- * and notifying us
- *
- * Please contact either of the authors listed above if you have questions
- * or feel an exception to any of the above restrictions is in order.
- *
- * If you make changes to the code, or have suggestions for changes,
- * let us know! If we use your suggestion, you will receive full credit
- * of course.
- */
-
- /*****
- * Cellsim history:
- *
- * Cellsim was originally written on Apollo workstations by Chris Langton.
- *
- * Sun versions:
- *
- * - version 1.0
- * by C. Ferenbaugh and C. Langton
- * released 09/02/88
- *
- * - version 1.5
- * by Dave Hiebeler and C. Langton May - June 1989
- * released 07/03/89
- *
- * - version 2.0
- * by Dave Hiebeler and C. Langton July - August 1989
- * never officially released (unofficially released 09/08/89)
- *
- * - version 2.5
- * by Dave Hiebeler and C. Langton September '89 - February 1990
- * released 02/26/90
- *****/
-