Using various Python libraries (ColabTurtlePlus, NumPy, and pandas), I created a program that could generate lucky knitting patterns based off of winning lottery numbers. I designed a system to represent numerical digits using two-tone 2x2 squres, and connected that to publicly available data of Powerball winning numbers. I was then able to generate knitting charts based off of this data, with options to adjust the length and colors of the final product. In order to demonstrate the program, I hand knit an example of what a section of my lucky scarf might look like using a double-knitting technique.

Digit Key Iterations
In these keys, each square represents a single digit that when placed together spell out a winning string of numbers. I then mirrored the string to create a more visually engaging pattern. Of these two systems, I implimented the second in the final project.


Generated Pattern Examples Several examples I generated showcasing different potential lengths and color combinations.