Knit is a web application to help you knit simple wavy scarfs. It allows you to specify a few input parameters concerning the scarf's length and shape

Search code, repositories, users, issues, pull requests...

submited by
Style Pass
2024-05-09 11:30:02

Knit is a web application to help you knit simple wavy scarfs. It allows you to specify a few input parameters concerning the scarf's length and shape in order to generate the "pattern": the sequence of rows that you can knit. Knit displays a render of the scarf (given your input parameters) and helps you keep track of which row you're on.

The scarf shapes (i.e., the position of increases and decreases) are generated using Bézier curves given the input parameters.

This application state is contained entirely in the browser. There is no server-side component or communication (beyond just loading the static files).

Optionally, save a local copy. I recommend using a local copy as a way to freeze the version you're working on. I may change the implementation. Make sure all files (including the JavaScript logic) are saved and loaded from your copy (rather than just the index.html entry point).

Optionally, knit a small swatch to inform the length and width of your scarf in rows and stitches (e.g., if each of your rows measures 4mm, you'll need 250 rows for a 1m long scarf). This enables the software to be completely agnostic to your yarn width, needle size, and knitting tension.

Leave a Comment