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 number generator with p46 logic
  3. #D A glider stream is emitted representing a pseudorandom binary
  4. #D sequence satisfying the recursion  a[n] = a[n-1] XOR a[n-12].
  5. #D (By spreading out the pattern, the 12 can be changed.)  The
  6. #D sequence has period 3255, so the gun has period 46*3255 = 149730.
  7. #D Built by Bill Gosper, October 1989 or earlier
  8. #D (Header by Dean Hickerson, 4/11/93)
  9. #N
  10. #P -41 61
  11. **
  12. **
  13. #P -33 53
  14. ..**
  15. .*.*
  16. **.*
  17. .**
  18. ..*
  19. .
  20. ..*
  21. .**
  22. **.*
  23. .*.*
  24. ..**
  25. #P -5 56
  26. .**
  27. **.**
  28. .*..*
  29. .*..*
  30. ..**
  31. .
  32. ..**
  33. .*..*
  34. .*..*
  35. **.**
  36. .**
  37. #P 6 64
  38. **
  39. **
  40. #P 49 -6
  41. **
  42. **
  43. **
  44. #P 42 -3
  45. ***...***
  46. *.*...*.*
  47. *..*.*..*
  48. ..**.**
  49. #P 42 5
  50. **.....**
  51. **.*.*.**
  52. *..*.*..*
  53. ***...***
  54. #P 49 21
  55. **
  56. **
  57. #P -8 -30
  58. **
  59. **
  60. #P 1 -38
  61. ..*
  62. .**
  63. **....*
  64. .**....**
  65. .
  66. .
  67. .
  68. .**....**
  69. **....*
  70. .**
  71. ..*
  72. #P 19 -30
  73. **
  74. **
  75. #P -36 -64
  76. **
  77. **
  78. #P -24 -66
  79. ...*
  80. ..**
  81. .***.*
  82. **
  83. .**
  84. ..*
  85. .
  86. ..*
  87. .**
  88. **
  89. .***.*
  90. ..**
  91. ...*
  92. #P -14 -59
  93. ...*
  94. .**.*
  95. **.***
  96. .*..*
  97. ..**
  98. #P -9 -64
  99. **
  100. **
  101. #P -47 -48
  102. **
  103. **
  104. #P -49 -34
  105. ..**.....**
  106. .*..*...*..*
  107. ....**.**
  108. ...*.*.*.*
  109. ...*.*.*.*
  110. .*.........*
  111. *...........*
  112. #P -47 -25
  113. *
  114. **
  115. #P -45 -26
  116. **.**
  117. .*.*..*
  118. .***.*.**
  119. *****.****
  120. .*.**.**.*
  121. **.......**
  122. **.......**
  123. ***.....***
  124. ..***.***
  125. ....*.*
  126. .*..*.*..*
  127. *..*...*..*
  128. .**.....**
  129. #P -44 -1
  130. **
  131. **
  132. #P -30 -30
  133. **
  134. **
  135. #P -32 -14
  136. .***.....***
  137. **.**...**.**
  138. **.*.*.*.*.**
  139. .*...*.*...*
  140. .*..*...*..*
  141. ..***...***
  142. #P -30 -3
  143. **
  144. **
  145. #P -28 3
  146. **
  147. **
  148. #P -29 18
  149. ***.....***
  150. ***.....***
  151. .**.....**
  152. ...*...*
  153. .*..*.*..*
  154. *...*.*...*
  155. .*..*.*..*
  156. .***...***
  157. #P -28 30
  158. **
  159. **
  160.