Conversation
|
This is really cool @nkymut ! The website link https://nkymut.github.io/p5.embroider/ is not working though, could you remove it from the entry (or replace with GH or other working link) please? |
nkymut
left a comment
There was a problem hiding this comment.
Hi @kson0 Thanks! Glad to hear that!
And thank you for pointing out the missing link.
I have removed the link.
Please let me know if you have any further questions.
|
Apologies for the delay in merging! It's a beautiful project. I've just tested out one of your example sketches with p5.js 2.2.2 and I noticed it doesn't work with 2.x out of the box, so for now I will not add it to the directory on the beta.p5js.org site. However, if this library is compatible with 2.x in the future I'm happy to add it there. If you want to update it to be compatible with both 1.x and 2.x and want help with that, you can follow up here (though I do sometimes miss GitHub notifications), or in the community-tools channel on discord (Invite: discord.p5js.org). The p5.js maintainers are happy to support community libraries in adding 2.x compatibility, if it is of interest. |
|
Thank you for your kind words and support. |
|
I have created a development branch for p5.js 2.0 support. https://github.com/nkymut/p5.embroider/tree/p5_2.0 I also made some tweaks to the workflow to sync the dev p5_2.0 build to main branch. The tentative version of p5.embroider supporting p5.js 2.0 is now available via this URL: https://nkymut.github.io/p5.embroider/lib/v2/p5.embroider.js |
Adding p5.embroider that brings machine-ready embroidery data design feature to p5.js.
key features:
→ Design embroidery with familiar p5.js graphics functions
→ Export to industry-standard formats (Tajima DST, Gcode, SVG)
→ Control stitch types: running, satin, and sashiko stitches
→ Hatch filling with customizable patterns and angles
→ Live preview in your browser before stitching