Pattern Punch Knit is an app for designing and previewing punch cards for knitting machines. Our algorithms use mathematics to generate 24-stitch punch cards from small patterns. You design the pattern and choose the settings, and the app creates a punch card and a knit preview of your design.
We would love to hear how you use Pattern Punch Knit and are interested in learning from your feedback and suggestions. Let us know using our feedback form.
The “wallpaper” mode takes your Pattern as a starting tile and copies it around the Punch card in different orientations according to rules based on mathematical wallpaper patterns. You can experiment with wallpaper patterns at Lauren K. Williams’ page, and read more about creating wallpaper patterns from tiles in paper on wallpaper patterns for lattice designs in the paper Wallpaper Patterns for Lattice Designs (PDF), a collaboration with Carolyn Yackel.
The “wave” mode creates a library of smaller tiles from your Pattern and uses a so-called wave function collapse algorithm to generates a 24-stich Punch card, which locally resembles parts of your Pattern. You can watch the video Superpositions, Sudoku, the Wave Function Collapse algorithm on YouTube explaining how wave function collapse algorithms, or try it yourself in the demo by Oskar Stalberg.
This app was made by Roger Antonsen (rantonse@ifi.uio.no) and Laura Taalman / mathgrrl (laurataalman@gmail.com). The app uses the following libraries and tools: P5js, Tailwind CSS, Alpine.js, and lilGUI.
You may log in here. Be warned: This is a demo, and your data may be deleted after a while.