>the mathematics of patterned scarf knitting.
“This particular implementation places the scarf width w in dependency on the desired length l, and number and proportions of each stripe. This can result in an undesirably narrow width w. A more practical application allows the user to fix an approximate l and w based on empirical knowledge, and allow the stripe proportion factor r or the number of stripes n to fall where they may. In this manner, a scarf of useful dimensions is generated, with similar characteristics to the idealized product.”
hee. stripe proportion factor. :)