chiark / gitweb /
a19770274979dd6b075f2f2a9db0be15dc5ab70b
[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 If you zoom out beyond the point where icons are displayed, everything
21 gets blobby as smoothed 'off' cells are currently displayed; you'll
22 probably want to turn icons off again.
23
24 The smoothing algorithm comes from Ben Harris' "Bedstead" font generator,
25 <http://bjh21.me.uk/bedstead/>. The idea of applying it to cellular
26 automata is due to Simon Tatham. Implementation is by Jacob Nevins.
27
28 @TABLE
29 n_states:34
30 neighborhood:Moore
31 symmetries:none
32 # Bedsteadisation rules generated by bedbugs.c
33 # FIXME: vars to allow edit in off states?
34 @@BEDSTEAD
35 # Conway rules (autogenerated)
36 @@mungedlife.table
37
38 @COLORS
39 255 255 255  255 255 255  white to white
40
41 @ICONS
42 @@ICONS