Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. #Life 1.05
  2. #D Pseudorandom LWSS generator with p46 logic
  3. #D A lightweight spaceship stream is emitted representing a
  4. #D pseudorandom binary sequence satisfying the recursion
  5. #D a[n] = a[n-1] XOR a[n-19].  (By spreading out the pattern,
  6. #D the 19 can be changed.)  The sequence has period 413385,
  7. #D so the gun has period 46*413385 = 19015710.
  8. #D Built by Bill Gosper, October 1989 or earlier
  9. #D (Header by Dean Hickerson, 4/11/93)
  10. #N
  11. #P 16 -18
  12. **
  13. **
  14. #P 15 -32
  15. .**
  16. *.*
  17. *..*
  18. .**
  19. #P 22 -32
  20. .**
  21. .*.*
  22. *..*
  23. .**
  24. #P 16 -45
  25. **
  26. **
  27. #P -40 -94
  28. **
  29. **
  30. #P -57 -102
  31. ..**
  32. .*..**
  33. ******
  34. ..****
  35. .
  36. .
  37. .
  38. ..****
  39. ******
  40. .*..**
  41. ..**
  42. #P -65 -102
  43. .**
  44. .**
  45. *..*
  46. .**.*
  47. .**.*
  48. #P -67 -96
  49. ...**.*
  50. ...**.*
  51. **.***
  52. *.*.*
  53. .****
  54. ..**
  55. #P -119 -51
  56. **
  57. **
  58. #P -118 -39
  59. **...**
  60. #P -120 -34
  61. **.*
  62. *..*
  63. .***
  64. #P -113 -34
  65. *.**
  66. *..*
  67. ***
  68. #P -119 -24
  69. **
  70. **
  71. #P -139 -8
  72. **
  73. **
  74. #P -141 -1
  75. ..***...***
  76. .*..*...*..*
  77. .*...*.*...*
  78. **.*.*.*.*.**
  79. **.**...**.**
  80. .***.....***
  81. #P -135 10
  82. ...*
  83. ..*.*
  84. .*...*
  85. .*****
  86. *.*.*.*
  87. .*...*
  88. .
  89. .*...*
  90. *.*.*.*
  91. .*****
  92. .*...*
  93. ..*.*
  94. ...*
  95. #P -139 19
  96. **
  97. **
  98. #P -105 13
  99. **
  100. **
  101. #P -93 5
  102. .**
  103. *..*
  104. *..*
  105. .***
  106. .
  107. .
  108. .
  109. .***
  110. *..*
  111. *..*
  112. .**
  113. #P -78 13
  114. **
  115. **
  116. #P -72 11
  117. **
  118. **
  119. #P -60 3
  120. .**
  121. *..**
  122. *...*
  123. .*..*
  124. .***
  125. .
  126. .***
  127. .*..*
  128. *...*
  129. *..**
  130. .**
  131. #P -45 11
  132. **
  133. **
  134. #P -120 33
  135. **
  136. **
  137. #P -106 24
  138. ......*
  139. .*...*
  140. *
  141. *..**
  142. .**
  143. ..***
  144. .
  145. ..***
  146. .**
  147. *..**
  148. *
  149. .*...*
  150. ......*
  151. #P -98 22
  152. .....***...*
  153. ...*****..*.*
  154. ..**...**...*
  155. ..***...*..*
  156. .*.**...***
  157. ..*
  158. *..**...***
  159. *****...*..*
  160. ..**...**...*
  161. ********..*.*
  162. *..*.***...*
  163. ..*
  164. .**
  165. #P -73 30
  166. **
  167. **
  168. #P -63 27
  169. **
  170. **
  171. #P -55 19
  172. ..**
  173. .*.*
  174. **.*
  175. .**
  176. ..*
  177. .
  178. ..*
  179. .**
  180. **.*
  181. .*.*
  182. ..**
  183. #P -27 22
  184. .**
  185. **.**
  186. .*..*
  187. .*..*
  188. ..**
  189. .
  190. ..**
  191. .*..*
  192. .*..*
  193. **.**
  194. .**
  195. #P -16 30
  196. **
  197. **
  198.