chiark / gitweb /
9cf4051f4fe8d70c9876c2fb7400619f80270d98
[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 Website:
25 http://www.chiark.greenend.org.uk/ucgi/~jacobn/git/bedbugs.git/
26
27 @TABLE
28 n_states:34
29 neighborhood:Moore
30 symmetries:none
31 # Bedsteadisation rules generated by bedbugs.c
32 # FIXME: vars to allow edit in off states?
33 @@BEDSTEAD
34 # Conway rules (autogenerated)
35 @@mungedlife.table
36
37 @COLORS
38 @@COLORS
39
40 @ICONS
41 @@ICONS