And it makes kind of a wet schplunch sound. Do you ever get that?
A) I’ve got a nifty little book of handy mathematical formulae that I keep in my bathroom. One of the sections I’ve read several times goes over the different formulae for determining the number of possible combinations or permutations of things.
B) There is a system for cracking passwords called Rainbow Tables. The idea is that instead of taking a password and trying to unencrypt it, you simply (!) calculate all the possible passwords that exist for that encryption scheme and then search for the appropriate one. As they say, “why try to guess the password when you can just know them all?”
C) A few years ago I wrote VisiKnit to translate written knitting instructions into charts.
So, what do you get when you combine all three of these ideas?
For a given stitch width and row repeat, there are a finite number of possible cable patterns. It should be possible to write a script that calculates all of them and save them to a database. Then, when you need a cable pattern to fit a certain space in an afgan or sweater, you can just enter the width and row repeats and get a list of all possible cables.
I didn’t want to do anything this weekend anyway.