chiark / gitweb /
ffed7433ddbdaa2fea2b356b07ee9af4efe217d8
[bedbugs.git] / src / Bedbugs.rule.template
1 @RULE Bedbugs
2
3 Standard Conway life with smoothing inspired by the Mullard SAA5050
4 character generator (aka BBC "MODE 7").
5
6 Alternately applies a smoothing transition function and the standard
7 Conway transition function, so every step of Conway takes twice as
8 long. This two-step nature means this is a bit fiddly to use:
9   set View > Show Cell Icons;
10   set Control > Set Base Step to 2;
11   press '+' to set the step to 2^1;
12   draw your pattern using states 0 and 1;
13   press 'Space' to perform a single step and apply the smoothing;
14   then press 'Tab' for every Conway step you want, doing 2 steps at
15     once and only displaying the smoothed version.
16
17 Editing should only be done in the 2-state phase; mixing smoothed and
18 unsmoothed states will probably confuse the current rules.
19
20 The smoothing algorithm comes from Ben Harris' "Bedstead" font generator,
21 <http://bjh21.me.uk/bedstead/>. The idea of applying it to cellular
22 automata is due to Simon Tatham. Implementation is by Jacob Nevins.
23
24 @TABLE
25 n_states:34
26 neighborhood:Moore
27 symmetries:none
28 # Bedsteadisation rules generated by bedbugs.c
29 # FIXME: vars to allow edit in off states?
30 @@BEDSTEAD
31 # Conway rules (autogenerated)
32 @@mungedlife.table
33
34 @COLORS
35 @@COLORS
36
37 @ICONS
38 @@ICONS