git @ Cat's Eye Technologies Kolakoski-Kurve / 937da10
Some updates to the README. Chris Pressey 2 years ago
1 changed file(s) with 15 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
66
77 ![screenshot](images/Kolakoski_Kurve.jpg?raw=true)
88
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