Add READMEs for new examples, compress large one, update docs

This commit is contained in:
Glen Whitney 2019-09-09 12:18:00 -04:00
parent b81b6a5fd4
commit 91a0087d2d
9 changed files with 54 additions and 269519 deletions

5
examples/blink.README Normal file
View file

@ -0,0 +1,5 @@
The top left three cells on layer 0 contain two 0 values and one 1. When the
sheet is clocked, the 1 moves around cyclically among the three cells.
However, you don't see any changes taking place until you interrupt this
infinite recalculation loop explicitly.

View file

@ -1,3 +1,7 @@
This sheet shows how to use clock() to model a counter which
automatically counts up to 1000 once the sheet gets clocked with
control-s.
control-s/Shift-TAB (depending on teapot/fteapot).
Note that the intermediate iterations are not displayed, so you will not see
any change to the spreadsheet other than the cell becoming 1000. (In fteapot,
if you move around while it is updating, you will see some intermediate values.)

View file

@ -1,4 +1,10 @@
This is a sheet which contains the well known game of life. Load it and
clock the sheet with control-s a few times, and you will see the glider
moving. Layer 0 contains the grid and layer 1 contains some help
formulas.
This file is maintained here as a test of reading the legacy XDR format. Because
of changes to the value of comparison operator (it now returns Bool rather than
int), some of the formulas would need slight tweaking for the sheet to operate
as formerly described below in brackets.
[This is a sheet which contains the well known game of life devised by
John Conway. Load it and clock the sheet with control-s/Shift-TAB a few
times, and you will see the glider moving. Layer 0 contains the grid and
layer 1 contains some help formulas.]

14
examples/lifeby.README Normal file
View file

@ -0,0 +1,14 @@
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.

File diff suppressed because it is too large Load diff

BIN
examples/lifebylayer.tpa.gz Normal file

Binary file not shown.

View file

@ -1,3 +1,3 @@
This sheet calculates the square root of x if you clock it a few times
with control-s. It is a nice introductional example of how to use
with control-s/Shift-TAB. It is a simple introductory example of how to use
clocked expressions.