Open tyrosinase opened 1 year ago
Cool!! I don't think it's going to work to bring it into Ink/Stitch, because that project is Java-based. We could potentially add an extension to process the output of drawingbot into something more usable for embroidery, though.
I have been messing around with Drawing Bot, because I feel like it's thiiiiiis close to being perfect for generating stitchable SVGs. Give it a few tweaks, like changing the frequency as well as amplitude (because this may work for pen plotters but will probably result in too-short stitches for embroidery machines: https://joelpedersenarts.com/items/qwigCpCe ), and maybe tweaking the algorithm so it does less layering of colors, and we could have a few less issues like #1951 where someone is trying to digitize a heavily shaded image conventionally.
I haven't quite figured out how to optimize the colors, but it does pretty well for monochrome-ish images:
becomes
which if you set it to manual stitches, simulates realistically as
Now, that's only like a 45x60mm picture so it's pretty lo-res, because I didn't want to wait all day for my machine to simulate it. And the machine's busy so I haven't gotten around to actually seeing how well it stitches, but it feels like something that could work.
Not sure if it's something that is worth hauling into Ink/Stitch or if it just needs a tutorial on how to get it to produce SVGs that convert easily to stitching, though.
Anyway: https://github.com/SonarSonic/DrawingBotV3