
This is cool!
Random Stripe Generator - "generate random stripe patterns for knitting sweaters, scarves, blankets, etc."
If I had time and energy and desire, I would write a program to generate Fibonacci sequence or Lucas number stripes with an option to repeat from X to Y and/or go up and down from A to B.
Fibonacci sequence examples:
- X=1 (note that 1 is minimum number of rows)
- Y=6 (# steps up from X) [which is 13 in this case]
- repeat (uses X and Y)
1 1 2 3 5 8 13 1 1 2 3 5 8 13 ...
- Z=5 (# steps down from Y) [which is 1 in this case]
- up/down (uses X, Y, and Z)
1 1 2 3 5 8 13 8 5 3 2 1 2 3 5 8 13 ... (photo 1)
1 1 2 3 5 8 13 13 8 5 3 2 1 1 2 3 5 8 13 ... (photo 2)
- Z=6 (# steps down from Y) [which is also 1 in this case]
- up/down (uses X, Y, and Z)
1 1 2 3 5 8 13 8 5 3 2 1 1 1 2 3 5 8 13 ...
1 1 2 3 5 8 13 13 8 5 3 2 1 1 1 1 2 3 5 8 13 ...
- X=3
- Y=4 (# steps up from X)
- repeat (uses X and Y)
3 5 8 13 21 3 5 8 13 21 ...
- Z=5 (# steps down from X)
- up/down (uses X, Y, and Z)
3 5 8 13 21 13 8 5 3 2 3 5 8 13 21 ...
3 5 8 13 21 21 13 8 5 3 2 3 5 8 13 21 ...
- Z=6 (# steps down from X)
- up/down (uses X, Y, and Z)
3 5 8 13 21 13 8 5 3 2 1 2 3 5 8 13 21 ...
3 5 8 13 21 21 13 8 5 3 2 1 1 2 3 5 8 13 21 ...
- Z=7 (# steps down from X)
- up/down (uses X, Y, and Z)
3 5 8 13 21 13 8 5 3 2 1 1 1 2 3 5 8 13 21 ...
3 5 8 13 21 21 13 8 5 3 2 1 1 1 1 2 3 5 8 13 21 ...
Recent Comments