15 lines
740 B
Plaintext
15 lines
740 B
Plaintext
The two files lifebyclock.tpa and lifebylayer.tpa (which needs to be gnu-
|
|
unzipped from the distribution) update the former life.tp example to display
|
|
teapot's color and computed style capabilities.
|
|
|
|
In both files, all of the data and helper formulas are on layer 0.
|
|
|
|
In lifebylayer.tpa, you can enter whatever live cells you like with the cell
|
|
contents "1" on layer 1, making sure all non-live cells have empty contents,
|
|
and the next 36 generations of development will be calculated on the
|
|
succeeding layers.
|
|
|
|
In lifebyclock.tpa, you can enter whatever live/non-live cells you want in the
|
|
same fashion. However, now clocking the cell will advance the life simulation
|
|
by one generation per iteration, for an arbitrary number of iterations.
|