Some updates to the README.
Chris Pressey
2 years ago
6 | 6 | |
7 | 7 |  |
8 | 8 | |
9 | A visualization of the Kolakoski sequence. | |
9 | The [Kolakoski sequence (Wikipedia)][], also called the "see and say" sequence, | |
10 | is an infinite sequence of 1's and 2's which starts | |
11 | ||
12 | 1, 2, 2, 1, 1, 2, 1, 2, 2, 1, 2, 2, 1, 1, 2, 1, 1, ... | |
13 | ||
14 | An interesting property of this sequence is that is describes its own run | |
15 | lengths: there is **one** 1's, followed by **two** 2's, followed by **two** | |
16 | 1's, followed by **one** 2, and so forth. | |
17 | ||
18 | **Kolakoski Kurve** is a 2-dimensional visualization of the Kolakoski sequence | |
19 | that I devised circa 2016. It can be thought of as combining it with turtle | |
20 | graphics. Read the sequence left to right; whenever you see a 1, go forward | |
21 | some fixed distance, and whenever you see a 2, turn right 90 degrees. | |
22 | ||
23 | [Kolakoski sequence (Wikipedia)]: https://en.wikipedia.org/wiki/Kolakoski_sequence |