4 ms·
As a fellow knitter, this is pretty neat--I really like the notation. I mostly make hats, and do most of my pattern work using a pixel art app and a piece of p
by candiddevmike 2y ago
As a fellow knitter, this is pretty neat--I really like the notation. I mostly make hats, and do most of my pattern work using a pixel art app and a piece of paper for notation.
Any interest in expanding the scope of this to include other designs? Double knitting? PRs welcome?
- afc 2y agoI absolutely intend to expand the scope to include other designs. I happen to be knitting a double-knitting blanket right now, my first double-knitted project, haha. I was actually thinking yesterday that it would be super neat if we could just feed it a black-and-white image and have it generate the rows. ... just haven gotten around to it. But, yeah, if you look at the implementation, you'll see that everything is fairly generic, and the only parts specific to sophie scarfs are contained in a single file: https://github.com/alefore/knit/blob/main/scarf_pattern_factory.js https://github.com/alefore/knit/blob/main/scarf_pattern_fact... That said, I expect the pattern class will need some improvements to be able to accomodate double-knitting (e.g., for visualization and such).
- blowski 2y agoI’d love this for crochet.
- shannietron 2y agoNot a generator but I love this crochet simulator! https://github.com/timhutton/crochet-simulator https://github.com/timhutton/crochet-simulator