Skip to content

Add p5.embroider#1062

Merged
ksen0 merged 4 commits intoprocessing:mainfrom
nkymut:p5.embroider
Mar 23, 2026
Merged

Add p5.embroider#1062
ksen0 merged 4 commits intoprocessing:mainfrom
nkymut:p5.embroider

Conversation

@nkymut
Copy link
Copy Markdown
Contributor

@nkymut nkymut commented Dec 24, 2025

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

@ksen0
Copy link
Copy Markdown
Member

ksen0 commented Feb 3, 2026

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?

Copy link
Copy Markdown
Contributor Author

@nkymut nkymut left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@ksen0 ksen0 merged commit 084b507 into processing:main Mar 23, 2026
4 checks passed
@ksen0
Copy link
Copy Markdown
Member

ksen0 commented Mar 23, 2026

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.

@nkymut
Copy link
Copy Markdown
Contributor Author

nkymut commented Mar 23, 2026

Thank you for your kind words and support.
I definitely plan to support p5.js 2.0, but I want to make sure the core embroidery features are complete and stable first.
I'll be adding ToDos for p5.js 2.0 support to this issue here.
nkymut/p5.embroider#14

@nkymut
Copy link
Copy Markdown
Contributor Author

nkymut commented Mar 24, 2026

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants