chiark / gitweb /
Correct URL and add it to output
[bedbugs.git] / Bedbugs.rule
index 7c2c381efbb134cab9fb4060e8eafc3f52b7add0..3be03991f3e43d8b3c7517c74f67b78c65ffb811 100644 (file)
@@ -1,7 +1,28 @@
 @RULE Bedbugs
-Bedbugs: standard Conway life with complication to use Bedstead rendering
-Alternates between Conway propagation and Bedsteadisation
-2 states for Conway -> 32 states (16x2) for Bedstead -> 2 etc.
+
+Standard Conway life with smoothing inspired by the Mullard SAA5050
+character generator (aka BBC "MODE 7").
+
+Alternately applies a smoothing transition function and the standard
+Conway transition function, so every step of Conway takes twice as
+long. This two-step nature means this is a bit fiddly to use:
+  set View > Show Cell Icons;
+  set Control > Set Base Step to 2;
+  press '+' to set the step to 2^1;
+  draw your pattern using states 0 and 1;
+  press 'Space' to perform a single step and apply the smoothing;
+  then press 'Tab' for every Conway step you want, doing 2 steps at
+    once and only displaying the smoothed version.
+
+Editing should only be done in the 2-state phase; mixing smoothed and
+unsmoothed states will probably confuse the current rules.
+
+The smoothing algorithm comes from Ben Harris' "Bedstead" font generator,
+<http://bjh21.me.uk/bedstead/>. The idea of applying it to cellular
+automata is due to Simon Tatham. Implementation is by Jacob Nevins.
+
+Website:
+http://www.chiark.greenend.org.uk/ucgi/~jacobn/git/bedbugs.git/
 
 @TABLE
 n_states:34
@@ -752,7 +773,40 @@ anw,aw,zsw,as,zse,ze,zne,zn,zc,1
 anw,aw,asw,zs,zse,ze,zne,zn,zc,1
 
 @COLORS
-255 255 255  255 255 255  white to white
+ 0   0   0   0
+ 1 255 255 255
+ 2   0   0   0
+ 3   0   0   0
+ 4   0   0   0
+ 5   0   0   0
+ 6   0   0   0
+ 7   0   0   0
+ 8   0   0   0
+ 9   0   0   0
+10   0   0   0
+11   0   0   0
+12   0   0   0
+13   0   0   0
+14   0   0   0
+15   0   0   0
+16   0   0   0
+17   0   0   0
+18 255 255 255
+19 255 255 255
+20 255 255 255
+21 255 255 255
+22 255 255 255
+23 255 255 255
+24 255 255 255
+25 255 255 255
+26 255 255 255
+27 255 255 255
+28 255 255 255
+29 255 255 255
+30 255 255 255
+31 255 255 255
+32 255 255 255
+33 255 255 255
 
 @ICONS
 XPM
@@ -760,7 +814,7 @@ XPM
 "7 231 2 1"
 /* colors */
 ". c #000000"
-"A c #FFFFFF"
+"A c #FEFEFF"
 /* icon for state 1 */
 "AAAAAAA"
 "AAAAAAA"
@@ -1030,7 +1084,7 @@ XPM
 "15 495 2 1"
 /* colors */
 ". c #000000"
-"A c #FFFFFF"
+"A c #FEFEFF"
 /* icon for state 1 */
 "AAAAAAAAAAAAAAA"
 "AAAAAAAAAAAAAAA"
@@ -1564,7 +1618,7 @@ XPM
 "31 1023 2 1"
 /* colors */
 ". c #000000"
-"A c #FFFFFF"
+"A c #FEFEFF"
 /* icon for state 1 */
 "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
 "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"